itom 2.0.0
ito::FigureWidget Class Reference
Inheritance diagram for ito::FigureWidget:
ito::AbstractDockWidget

List of all members.

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::ParamgetParamByInvoke (ito::AddInBase *addIn, const QString &paramName, 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

Constructor & Destructor Documentation

ito::FigureWidget::~FigureWidget ( )

destructor

cancels connections and closes every tab.


Member Function Documentation

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.

Note:
Please overwrite this method by derived class in order to realize desired behaviour.
Parameters:
eventEvent of type QCloseEvent

Reimplemented from ito::AbstractDockWidget.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends