50 Q_PROPERTY(QRect geometry READ geometry WRITE setGeometry)
51 Q_PROPERTY(QColor currentBorderColor READ currentBorderColor WRITE setCurrentBorderColor)
62 Qt::WindowFlags flags = Qt::WindowFlags());
65 RetVal plot(QSharedPointer<ito::DataObject> dataObj,
66 QSharedPointer<ito::DataObject> xAxisObj,
67 int areaRow,
int areaCol,
68 const QString &className,
69 QWidget **canvasWidget);
70#if ITOM_POINTCLOUDLIBRARY > 0
71 RetVal plot(QSharedPointer<ito::PCLPointCloud> dataObj,
int areaRow,
int areaCol,
const QString &className, QWidget **canvasWidget);
72 RetVal plot(QSharedPointer<ito::PCLPolygonMesh> dataObj,
int areaRow,
int areaCol,
const QString &className, QWidget **canvasWidget);
74 RetVal liveImage(QPointer<AddInDataIO> cam,
int areaRow,
int areaCol,
const QString &className, QWidget **canvasWidget);
76 RetVal loadDesignerWidget(
int areaRow,
int areaCol,
const QString &className, QWidget **canvasWidget);
78 QWidget *getSubplot(
int index)
const;
80 RetVal changeCurrentSubplot(
int newIndex);
87 void setFigHandle(QSharedPointer<unsigned int> figHandle) { m_guardedFigHandle = figHandle; }
90 inline int rows()
const {
return m_rows; };
91 inline int cols()
const {
return m_cols; };
93 QColor currentBorderColor()
const {
return m_currentBorderColor; }
94 void setCurrentBorderColor(QColor color);
98 QWidget* prepareWidget(
const QString &plotClassName,
int areaRow,
int areaCol,
RetVal &retval);
99 void setMenusVisible(
const QWidget *widget,
bool visible);
101 void createActions();
103 void createToolBars();
104 void createStatusBar();
105 void updateActions();
106 void updatePythonActions(){ updateActions(); }
115 QGridLayout *m_pGrid;
116 QWidget *m_pCenterWidget;
119 QMenu *m_menuSubplot;
120 QAction *m_firstSysAction;
122 QActionGroup *m_pSubplotActions;
128 QColor m_currentBorderColor;
130 QSharedPointer<unsigned int> m_guardedFigHandle;
132 QMap< QObject*, QList<QAction*> > m_menuStack;
134 QVector<QWidget*> m_widgets;
139 void mnu_subplotActionsTriggered(QAction *action);