itom
3.0.0
|
Classes | |
struct | ToolBarItem |
struct | ToolboxItem |
Public Slots | |
int | getPlotID () |
void | refreshPlot () |
Public Member Functions | |
int | getCompilerFeatures (void) const |
AbstractFigure (const QString &itomSettingsFile, WindowMode windowMode=ModeStandaloneInUi, QWidget *parent=0) | |
virtual bool | event (QEvent *e) |
void | setApiFunctionGraphBasePtr (void **apiFunctionGraphBasePtr) |
void | setApiFunctionBasePtr (void **apiFunctionBasePtr) |
void ** | getApiFunctionGraphBasePtr (void) |
void ** | getApiFunctionBasePtr (void) |
virtual RetVal | addChannel (AbstractNode *child, ito::Param *parentParam, ito::Param *childParam, Channel::ChanDirection direction, bool deleteOnParentDisconnect, bool deleteOnChildDisconnect) |
virtual RetVal | addChannel (Channel *newChannel) |
virtual RetVal | removeChannelFromList (unsigned int uniqueID) |
virtual RetVal | removeChannel (Channel *delChannel) |
virtual RetVal | update (void)=0 |
virtual void | setToolbarVisible (bool visible) |
virtual bool | getToolbarVisible () const |
virtual void | setContextMenuEnabled (bool show)=0 |
virtual bool | getContextMenuEnabled () const =0 |
QDockWidget * | getPropertyDockWidget () const |
virtual bool | getLegendRender () const |
virtual void | setLegendRender (const bool val) |
QList< QMenu * > | getMenus () const |
QList< AbstractFigure::ToolBarItem > | getToolbars () const |
QList< AbstractFigure::ToolboxItem > | getToolboxes () const |
Public Member Functions inherited from ito::AbstractNode | |
virtual RetVal | applyUpdate (void)=0 |
RetVal | updateParam (const ito::ParamBase *input, int isSource=0) |
RetVal | updateParam (const QHash< QString, ito::ParamBase * > *inputs) |
More... | |
rttiNodeType | getType () const |
RetVal | getUpdateStatus (void) const |
RetVal | updateChannels (const QList< QString > ¶mNames) |
bool | isConnected () const |
int | getUniqueID (void) const |
RetVal | setUpdatePending (int uniqueID=-1) |
Channel * | getInputChannel (const char *inpParamName) const |
ito::Param * | getInputParam (const QString ¶mName) const |
ito::Param * | getOutputParam (const QString ¶mName) const |
Protected Member Functions | |
virtual RetVal | init () |
virtual void | importItomApi (void **apiPtr)=0 |
virtual void | importItomApiGraph (void **apiPtr)=0 |
void | addToolBar (QToolBar *toolbar, const QString &key, Qt::ToolBarArea area=Qt::TopToolBarArea, int section=1) |
void | addToolBarBreak (const QString &key, Qt::ToolBarArea area=Qt::TopToolBarArea) |
void | addToolbox (QDockWidget *toolbox, const QString &key, Qt::DockWidgetArea area=Qt::RightDockWidgetArea) |
bool | removeToolbox (const QString &key) |
void | showToolBar (const QString &key) |
void | hideToolBar (const QString &key) |
void | addMenu (QMenu *menu) |
void | updatePropertyDock () |
void | setPropertyObservedObject (QObject *obj) |
RetVal | initialize () |
RetVal | registerShortcutActions () |
Protected Attributes | |
WindowMode | m_windowMode |
QString | m_itomSettingsFile |
QWidget * | m_mainParent |
void ** | m_apiFunctionsGraphBasePtr |
void ** | m_apiFunctionsBasePtr |
ito::uint8 | m_lineCutType |
ito::uint8 | m_zSliceType |
ito::uint8 | m_zoomCutType |
Protected Attributes inherited from ito::AbstractNode | |
rttiNodeType | m_NodeType |
QHash< QString, ito::Param * > | m_pInput |
| |
QHash< QString, ito::Param * > | m_pOutput |
| |
QHash< unsigned int, Channel * > | m_pChannels |
| |
int | m_uniqueID |
> | |
Properties | |
bool | toolbarVisible |
bool | contextMenuEnabled |
bool | renderLegend |
Private Slots | |
void | mnuShowToolbar (bool) |
void | mnuShowProperties (bool checked) |
void | toolBoxDestroyed (QObject *object) |
void | toolBarDestroyed (QObject *object) |
void | actionChanged () |
Private Attributes | |
AbstractFigurePrivate * | d |
Additional Inherited Members | |
Static Protected Attributes inherited from ito::AbstractNode | |
static unsigned int | UID = 1 |
|
virtual |
the addChannel and especially removeChannel are virtual since the Node might have to delete itself depending on the deleteOnDisconnect flag. As delete(this) is frowned upon, we need QObject::deleteLater() unavailable here as the class is not derived from QObject
Implements ito::AbstractNode.
|
protected |
append a menu to the figure. AbstractFigure then takes care about the menu. Only use this method to add menus since the menu bar of figures is differently handled depending on the window mode of the figure.
|
protected |
Register any toolbar of the plot widget using this method.
|
protected |
Add a toolbar break, hence a new line for the following toolbars to the indicated area.
|
protected |
Every plot widget is automatically equipped with a property toolbox. If you want to add further toolboxes (dock widgets), register and append them using this method.
|
protected |
hide a toolbar with given key. This toolbar must first be registered using addToolBar.
|
protectedpure virtual |
function to provide access to the itom API functions. this methods are implemented in the plugin itsself. Therefore put the macro DESIGNER_PLUGIN_ITOM_API before the public section in the designer plugin class.
|
protectedpure virtual |
function to provide access to the itom API functions. this methods are implemented in the plugin itsself. Therefore put the macro DESIGNER_PLUGIN_ITOM_API before the public section in the designer plugin class.
|
privateslot |
set the visibility of the property toolbox
|
inlineprivateslot |
shows all registered toolbars
|
protected |
call this method once after all actions with shortcuts are created and after that the content widget has been created. The shortcuts of the actions will then be redirected to overall shortcuts that can be handled even if the plot is docked into the main window of itom
|
protected |
If you added further toolboxes (dock widgets), remove them using this method.
|
protected |
registeres obj for a property observation of the property toolbox. All readable properties are then listed in the property toolbox.
|
virtual |
Calls apply () and updates all children
|
protected |
show a toolbar with given key. This toolbar must first be registered using addToolBar.
|
pure virtual |
Performs the in INTERNAL operations necessary in updating the node and displaying the data. This has to implemented
in each final successor in the inheritance structure. Anyway the "displayed" parameter MUST be filled adequately as this can only be done by the node itself.
Implements ito::AbstractNode.
Implemented in ito::AbstractDObjPclFigure, and ito::AbstractDObjFigure.
|
protected |
call this method if any property of the figure changed such that the property toolbox is synchronized and updated.