itom  4.1.0
ito::AIManagerWidget Class Reference
Inheritance diagram for ito::AIManagerWidget:
ito::AbstractDockWidget

Signals

void showPluginInfo (QString name, HelpTreeDockWidget::HelpItemType type)
 
void showDockWidget ()
 
- Signals inherited from ito::AbstractDockWidget
void dockStateChanged (bool docked)
 emitted if the widget is either docked or undocked from the main window
 

Public Member Functions

 AIManagerWidget (const QString &title, const QString &objName, QWidget *parent=NULL, bool docked=true, bool isDockAvailable=true, tFloatingStyle floatingStyle=floatingNone, tMovingStyle movingStyle=movingEnabled)
 
 ~AIManagerWidget ()
 returns the background color for instances, that have been created by Python or which have at least one current reference by Python code
 
QColor backgroundColorInstancesWithPythonRef () const
 
void setBackgroundColorInstancesWithPythonRef (const QColor &bgColor)
 
- Public Member Functions inherited from ito::AbstractDockWidget
 AbstractDockWidget (bool docked, bool isDockAvailable, tFloatingStyle floatingStyle, tMovingStyle movingStyle, const QString &title=QString(), const QString &objName=QString(), QWidget *parent=0)
 constructor More...
 
virtual ~AbstractDockWidget ()
 destructor
 
bool docked () const
 
RetVal setTopLevel (tTopLevelStyle topLevel, bool showWindow=true)
 
void setParent (QWidget *parent)
 
QWidget * getActiveInstance ()
 
QRect frameGeometry () const
 
const QRect & geometry () const
 
QRect normalGeometry () const
 
int x () const
 
int y () const
 
QPoint pos () const
 
QSize frameSize () const
 
QSize size () const
 
int width () const
 
int height () const
 
QRect rect () const
 
QRect childrenRect () const
 
QRegion childrenRegion () const
 
void move (int x, int y)
 
void move (const QPoint &)
 
void resize (int w, int h)
 
void resize (const QSize &)
 
void setGeometry (int x, int y, int w, int h)
 
void setGeometry (const QRect &)
 
void setMinimumSize (const QSize &size)
 
QString windowTitle ()
 
void setWindowTitle (const QString &title)
 
bool isEnabled () const
 
bool isVisible () const
 
void saveState (const QString &iniName) const
 
void restoreState (const QString &iniName)
 
void synchronizeTopLevelState ()
 synchronizes the top level state of the dock widget with the floating settings of this abstract dock widget More...
 
virtual QSize sizeHint () const
 
virtual QSize minimumSizeHint () const
 

Protected Member Functions

void createActions ()
 
void createMenus ()
 
void createToolBars ()
 
void createStatusBar ()
 
void updateActions ()
 
void updatePythonActions ()
 
void CloseInstance (const QModelIndex index)
 
- Protected Member Functions inherited from ito::AbstractDockWidget
bool eventFilter (QObject *obj, QEvent *event)
 eventFilter for m_pWindow More...
 
void init ()
 init method, called by constructor More...
 
virtual void closeEvent (QCloseEvent *event)
 closeEvent invoked if this AbstractDockWidget should be closed More...
 
Qt::WindowFlags modifyFlags (const Qt::WindowFlags &flags, const Qt::WindowFlags &setFlags, const Qt::WindowFlags &unsetFlags)
 
virtual void windowStateChanged (bool)
 
void setContentWidget (QWidget *widget)
 sets any given QWidget as central widget of QMainWindow and inversely sets this QWidget's parent to the instance of QMainWindget More...
 
QWidget * getContentWidget () const
 
QMainWindow * getCanvas ()
 
bool pythonBusy () const
 
bool pythonDebugMode () const
 
bool pythonInWaitingMode () const
 
QToolBar * getToolBar (QString key) const
 returns reference to toolbar with given key-value More...
 
QMenuBar * getMenuBar () const
 
RetVal addToolBar (QToolBar *tb, const QString &key, Qt::ToolBarArea area=Qt::TopToolBarArea, int section=1)
 
RetVal removeToolBar (const QString &key)
 

Protected Attributes

QMenu * m_pContextMenu
 
QMenu * m_pAIManagerViewSettingMenu
 
QToolBar * m_pMainToolbar
 
QAction * m_pShowConfDialog
 
QAction * m_pActDockWidget
 
QAction * m_pActDockWidgetToolbar
 
QAction * m_pActNewInstance
 
QAction * m_pActCloseInstance
 
QAction * m_pActCloseAllInstances
 
QAction * m_pActSendToPython
 
QAction * m_pActLiveImage
 
QAction * m_pActSnapDialog
 
QAction * m_pActAutoGrabbing
 
QAction * m_pActInfo
 
QAction * m_pActOpenWidget
 
QAction * m_pMainToolbarSeparator1
 
QAction * m_pMainToolbarSeparator2
 
ShortcutActionm_pViewList
 
ShortcutActionm_pViewDetails
 
- Protected Attributes inherited from ito::AbstractDockWidget
QAction * m_actStayOnTop
 
QAction * m_actStayOnTopOfApp
 

Properties

QColor backgroundColorInstancesWithPythonRef
 
- Properties inherited from ito::AbstractDockWidget
bool visible
 
bool enabled
 
QRect geometry
 
QRect frameGeometry
 
QRect normalGeometry
 
int x
 
int y
 
QPoint pos
 
QSize frameSize
 
QSize size
 
int width
 
int height
 
QRect rect
 
QRect childrenRect
 
QRegion childrenRegion
 
QString windowTitle
 

Private Slots

void treeViewContextMenuRequested (const QPoint &pos)
 
void selectionChanged (const QItemSelection &newSelection, const QItemSelection &oldSelection)
 
void mnuShowConfdialog ()
 
void mnuToggleDockWidget ()
 
void mnuCreateNewInstance ()
 
void mnuCloseInstance ()
 
void mnuCloseAllInstances ()
 
void mnuSendToPython ()
 
void mnuShowAlgoWidget (ito::AddInAlgo::AlgoWidgetDef *awd)
 
void mnuOpenWidget ()
 
void mnuToggleView ()
 
void mnuShowLiveImage ()
 
void mnuSnapDialog ()
 
void mnuToggleAutoGrabbing ()
 
void setTreeViewHideColumns (const bool &hide, const int colCount)
 
void showList ()
 
void showDetails ()
 
void mnuShowInfo ()
 

Private Attributes

QTreeView * m_pAIManagerView
 
QSortFilterProxyModel * m_pSortFilterProxyModel
 
int * m_pColumnWidth
 
PlugInModelm_pPlugInModel
 

Additional Inherited Members

- Public Types inherited from ito::AbstractDockWidget
enum  tFloatingStyle { floatingNone, floatingStandard, floatingWindow }
 The floating style of a widget, derived from AbstractDockWidget. More...
 
enum  tMovingStyle { movingDisabled, movingEnabled }
 The configuration if a docked AbstractDockWidget can be moved from one docking area to another one. More...
 
enum  tTopLevelStyle { topLevelOverall, topLevelParentOnly, topLevelNothing }
 The top level style of a widget, derived from AbstractDockWidget. More...
 
- Public Slots inherited from ito::AbstractDockWidget
void setEnabled (bool)
 
virtual void setVisible (bool visible)
 
virtual void pythonStateChanged (tPythonTransitions pyTransition)
 slot invoked if python state changed. Sets the specific member variables according to the python transition. More...
 
void raiseAndActivate ()
 activates this dock widget or window and raises it on top of all opened windows More...
 
void mini ()
 
void setDockSize (int newWidth, int newHeight)
 
void dockWidget ()
 docks this dockWidget. More...
 
void undockWidget (bool show_it=true)
 undocks this dockWidget. More...
 
RetVal setAdvancedWindowTitle (QString newCompleteTitle=QString(), bool appendToBasicTitle=true)
 changes the title of widget More...
 

The documentation for this class was generated from the following files: