itom 1.3.0
|
Public Member Functions | |
FigureWidget (const QString &title, bool docked, bool isDockAvailable, int rows, int cols, QWidget *parent=0, Qt::WindowFlags flags=0) | |
~FigureWidget () | |
destructor | |
RetVal | plot (QSharedPointer< ito::DataObject > dataObj, int areaRow, int areaCol, const QString &className, QWidget **canvasWidget) |
RetVal | liveImage (QPointer< AddInDataIO > cam, int areaRow, int areaCol, const QString &className, QWidget **canvasWidget) |
RetVal | loadDesignerWidget (int areaRow, int areaCol, const QString &className, QWidget **canvasWidget) |
QWidget * | getSubplot (int index) const |
RetVal | changeCurrentSubplot (int newIndex) |
void | setFigHandle (QSharedPointer< unsigned int > figHandle) |
int | rows () const |
int | cols () const |
Protected Member Functions | |
QWidget * | prepareWidget (const QString &plotClassName, int areaRow, int areaCol, RetVal &retval) |
void | createActions () |
void | createMenus () |
void | createToolBars () |
void | createStatusBar () |
void | updateActions () |
void | updatePythonActions () |
void | closeEvent (QCloseEvent *event) |
closeEvent invoked if this AbstractDockWidget should be closed | |
QSharedPointer< ito::Param > | getParamByInvoke (ito::AddInBase *addIn, const QString ¶mName, ito::RetVal &retval) |
Properties | |
QRect | geometry |
Private Slots | |
void | mnu_subplotActionsTriggered (QAction *action) |
Private Attributes | |
QGridLayout * | m_pGrid |
QWidget * | m_pCenterWidget |
QMenu * | m_menuWindow |
QMenu * | m_menuSubplot |
QAction * | m_firstSysAction |
QActionGroup * | m_pSubplotActions |
int | m_rows |
int | m_cols |
int | m_curIdx |
QSharedPointer< unsigned int > | m_guardedFigHandle |
QMap< QObject *, QList < QAction * > > | m_menuStack |
QVector< QWidget * > | m_widgets |
ito::FigureWidget::~FigureWidget | ( | ) |
destructor
cancels connections and closes every tab.
void ito::FigureWidget::closeEvent | ( | QCloseEvent * | event | ) | [protected, virtual] |
closeEvent invoked if this AbstractDockWidget should be closed
In this abstract class, the event is always accepted.
event | Event of type QCloseEvent |
Reimplemented from ito::AbstractDockWidget.