|
| | DtDisplayConfigEditorWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=Qt::Dialog|Qt::SubWindow) |
| | Constructor. More...
|
| |
| virtual | ~DtDisplayConfigEditorWidget () |
| | Destructor. More...
|
| |
| virtual QIcon | icon () |
| | Get the icon of the page. More...
|
| |
| virtual QString | title () |
| | Get the title of the page. More...
|
| |
| virtual const std::string & | pageClassName () const |
| | Get the class name of the page. More...
|
| |
virtual
DtDisplayConfigEditorLogic * | logic () |
| | Return logic. More...
|
| |
| virtual void | displayTreePopupMenu (int itemFlags, const QPoint &pos) |
| |
| virtual void | enableTheseButtons (int itemFlags) |
| | This is called with the DisplayItemFlags that should be enabled right now. More...
|
| |
| virtual void | contextMenuEvent (QContextMenuEvent *e) |
| | Kick off popup menu. More...
|
| |
| virtual QModelIndex | selectedModelIndex () |
| | Get the selected model index. More...
|
| |
| virtual void | expandSubTree (QModelIndex index) |
| | Expand all nodes in the sub tree starting at index. More...
|
| |
| virtual void | setItemModel (QAbstractItemModel *) |
| | Set the item model the widget can use. More...
|
| |
| virtual void | observerCreateRequestComplete (const std::string &observerName) |
| | Called by the logic after a successful observer creation request. More...
|
| |
| virtual void | observerCreateRequestFailed (const std::string &observerName) |
| | Called by the logic after a failed observer creation request. More...
|
| |
|
| virtual void | populatePropertySheet (const DtDisplayConfiguration &dec) |
| | Populate property sheet. More...
|
| |
| virtual void | populatePropertySheet (const DtWindowConfiguration &wc) |
| |
| virtual void | populatePropertySheet (const DtChannelConfiguration &cc) |
| |
| virtual void | clearPropertySheet () |
| |
|
| virtual void | onDisplayEnginePropertiesCommited () |
| | Called when properties change and notifies the logic. More...
|
| |
| virtual void | onWindowPropertiesCommited () |
| |
| virtual void | onChannelPropertiesCommited () |
| |
| | DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) |
| | CTOR for page. More...
|
| |
| virtual | ~DtPage () |
| | DTOR for page. More...
|
| |
| virtual PageAction | pageAction () |
| | return the current action on the page More...
|
| |
| virtual void | setPageAction (PageAction action) |
| | set the curret action on the page More...
|
| |
| virtual void | setActionFlag (int flag) |
| | set the action flag of the page More...
|
| |
| virtual int | actionFlag () |
| | return the action flag of the page More...
|
| |
| virtual void | setParentDialog (QWidget *paraentDialog) |
| | set the parent dialog that owns this page More...
|
| |
| virtual QWidget * | parentDialog () |
| | return the parent dialog that own this page More...
|
| |
| virtual bool | shouldAskBeforeAction (PageAction action) |
| | test the action flag with the action, return true if we should ask before executing the action /param action the current page action More...
|
| |
| virtual void | askBeforeAction () |
| | Called when the action flag is set and before the action is beind executed, default do nothing. More...
|
| |
| virtual void | executeAfterAsk (bool revert) |
| | Called after askBeforeAction(), whether user wants to revert the action or resume the action /param revert if true, the user wants to revert the action, otherwise resume it. More...
|
| |
| virtual void | resumeLastAction () |
| | resume the last action of the page More...
|
| |
| virtual void | onCloseEvent () |
| | will be called when user hit the close button of this page, default do nothing. More...
|
| |
| virtual void | onSwitchEvent () |
| | will be called when user try switch to another page, default do nothing. More...
|
| |
|
| virtual void | activate () |
| | Called when the page is displayed. More...
|
| |
| virtual void | deactivate () |
| | Called when the page is hidden. More...
|
| |
| virtual void | dragEnterEvent (QDragEnterEvent *event) override |
| | override for the QWidget drawEnterEvent function, used to determine if the dropped item is a dcx file. More...
|
| |
| virtual void | dropEvent (QDropEvent *event) override |
| | override for the QWidget dropEvent function, used to load the dropped dcx file. More...
|
| |
| virtual void | loadDisplayConfig (QString &displayConfigFile) |
| | helper function for loading a particular display config file More...
|
| |
| void | updateActionByFlag (int itemFlags, unsigned int flag, QAction *action) |
| | Helper function for setting the parameters of an action via its flags. More...
|
| |
| void | updateButtonByFlag (int itemFlags, unsigned int flag, QPushButton *button) |
| |
| virtual bool | property (QString name, int &value) const |
| |
| virtual bool | property (QString name, QString &value) const |
| |
| virtual bool | property (QString name, double &value) const |
| |
| virtual bool | property (QString name, bool &value) const |
| |
| virtual bool | property (QString name, QStringList &value) const |
| |
| DtWindowConfiguration::WindowType | mapStringToWindowType (const QString &windowTypeString) |
| |
| QString | mapWindowTypeToString (const DtWindowConfiguration::WindowType windowType) |
| |
| DtChannelConfiguration::ProjectionUnits | mapStringToProjectionUnits (const QString &projectionUnitsString) |
| |
| QString | mapProjectionUnitsToString (const DtChannelConfiguration::ProjectionUnits units) |
| |
| DtChannelConfiguration::ProjectionResizePolicy | mapStringToProjectionResizePolicy (const QString &projectionResizePolicyString) |
| |
| QString | mapProjectionResizePolicyToString (const DtChannelConfiguration::ProjectionResizePolicy projectionResizePolicy) |
| |
| DtChannelConfiguration::NearFarClipPolicy | mapStringToNearFarClipPolicy (const QString &nearFarClipPolicyString) |
| |
| QString | mapNearFarClipPolicyToString (const DtChannelConfiguration::NearFarClipPolicy nearFarClipPolicy) |
| |
| DtChannelConfiguration::DynamicNearClipAttachedObjectPolicy | mapStringToDynamicNearClipAttachedObjectPolicy (const QString &dynamicNearClipAttachedObjectPolicyString) |
| |
| QString | mapDynamicNearClipAttachedObjectToString (const DtChannelConfiguration::DynamicNearClipAttachedObjectPolicy dynamicNearClipAttachedObjectPolicy) |
| |
| void | requestNewObserverName () |
| | bring up a request dialog for new observer name More...
|
| |
The DtDisplayConfigEditorWidget helps the DtDisplayConfigEditorLogic create and modify display configurations.
This class should be as dump as possible, pushing all the hard work into the testable logic. It connects signals and calls the functionality in the logic.