|
| | ~DtDisplayConfigEditorLogic () |
| | Destructor. More...
|
| |
| virtual QStandardItemModel * | displayTreeModel () |
| | Get the item model. More...
|
| |
| void | realizeNewDisplayEngineConfiguration (const std::string &clientName, const DtDisplayConfiguration &dec) |
| |
| void | destroyDisplayEngine (const std::string &displayName, bool realized) |
| | Destroys a display. More...
|
| |
| void | modifyDisplayEngine (const std::string &displayName, bool isRealised, const DtDisplayConfiguration &config) |
| | Change the values of the realized display configuration to the values in config. More...
|
| |
| void | addWindow (const std::string &displayName, const DtWindowConfiguration &config, bool realized) |
| | Add a window to a display. More...
|
| |
| void | destroyWindow (const std::string &displayName, const std::string &windowName, bool realized, DtWindowItem *windowItem) |
| | Destroys window in a display. More...
|
| |
| void | modifyWindow (const std::string &displayName, const std::string &windowName, const DtWindowConfiguration &config, bool isRealized) |
| | Change the values of the realized window configuration to the values in config. More...
|
| |
| void | addChannel (const std::string &displayName, const std::string &windowName, const DtChannelConfiguration &config, bool isRealized) |
| | Add a channel to a window. More...
|
| |
| void | destroyChannel (const std::string &displayName, const std::string &windowName, const std::string &channelName, bool realized) |
| | Destroys a channel in a window. More...
|
| |
| void | modifyChannel (const std::string &displayName, const std::string &windowName, const std::string &channelName, const DtChannelConfiguration &config, bool realized) |
| | Modify a channel. More...
|
| |
| virtual void | slot_activate (DtDe *de) |
| | Observer slots. More...
|
| |
| virtual void | slot_deactivate (DtDe *de) |
| |
| virtual void | slot_activate (DtDeCommunicator *igComm) |
| |
| virtual void | slot_deactivate (DtDeCommunicator *igComm) |
| |
| void | onDisplayTreeSelectionChanged (const QModelIndex &index) |
| | Called by widget when selection changes. More...
|
| |
| void | onDisplayTreeContextMenu (const QModelIndex &index, const QPoint &pos) |
| | Called by widget when right click occurs. More...
|
| |
| void | onObserverCreationRequested (const std::string &observerName) |
| | Called by request to request new observer creation. More...
|
| |
| void | getChannelList (QStringList &channelListOut) |
| | Get the list of available realized channels currently available. More...
|
| |
| void | getObserverList (QStringList &observerListOut) |
| | Get the list of observers currently available. More...
|
| |
| void | getSensorList (QStringList &sensorListOut) |
| | Get the list of sensors currently available. More...
|
| |
|
| virtual void | slot_igAdded (const DtDeRecord &igName) |
| | Realized slots. More...
|
| |
| virtual void | slot_igRemoved (const std::string &igName) |
| |
| virtual void | slot_displayConfigurationRealized (const std::string &igName, const std::string &displayConfig) |
| |
| virtual void | slot_displayToBeDestroyed (const std::string &displayName) |
| |
| virtual void | slot_windowAdded (const std::string &displayName, const DtWindowConfiguration &wc) |
| |
| virtual void | slot_windowToBeDestroyed (const std::string &displayName, const std::string &windowName) |
| |
| virtual void | slot_windowModified (const std::string &displayName, const std::string &windowName, const DtWindowConfiguration &wc) |
| |
| virtual void | slot_channelAdded (const std::string &displayName, const std::string &windowName, const DtChannelConfiguration &wc) |
| |
| virtual void | slot_channelToBeDestroyed (const std::string &displayName, const std::string &windowName, const std::string &channelName) |
| |
| virtual void | slot_channelModified (const std::string &displayName, const std::string &windowName, const std::string &channelName, const DtChannelConfiguration &cc) |
| |
|
| void | onDelete (const QModelIndex &index) |
| | Popup slots. More...
|
| |
| void | onNewDisplayEngine (const QModelIndex &index) |
| |
| void | onNewWindow (const QModelIndex &index) |
| |
| void | onNewChannel (const QModelIndex &index) |
| |
| void | onDisconnectSlaveIg (const QModelIndex &index) |
| |
| void | onSaveDisplayConfig (const QModelIndex &index, const std::string &filename) |
| |
| void | onLoadDisplayConfig (const QModelIndex &index, const std::string &filename, QWidget *parent) |
| |
|
| void | onModifyConfiguration (const QModelIndex &index, const DtWindowConfiguration &config) |
| | Modify the configuration of the selected item with the data changed via the property editor. More...
|
| |
| void | onModifyConfiguration (const QModelIndex &index, const DtDisplayConfiguration &config) |
| |
| void | onModifyConfiguration (const QModelIndex &index, const DtChannelConfiguration &config) |
| |
|
| | DtDisplayConfigEditorLogic (DtDe &de, DtDisplayConfigEditorInterface *iFace) |
| | Constructor is protected because the static creator needs to call bind(). More...
|
| |
| void | populateDisplayConfigEditor () |
| | Populate the display config editor with configs. More...
|
| |
| DtIgItem * | findIgItem (const QModelIndex &index) |
| | Attempt to find the DtIgItem for an index. More...
|
| |
| DtDisplayEngineItem * | findDisplayEngineItem (const QModelIndex &index) |
| | Attempt to get the DtDisplayItem from the item at a given index. More...
|
| |
| DtWindowItem * | findWindowItem (const QModelIndex &index) |
| | Attempt to get the window item from the given index. More...
|
| |
| void | addKeyItemPair (QString newKey, QStandardItem *item) |
| |
| const DtDisplayConfiguration * | findDisplayConfiguration (DtDisplayEngineItem *displayEngineItem) |
| |
| const DtDisplayConfiguration * | findDisplayConfiguration (const std::string &displayName) |
| |
| QString | makeIgKey (const std::string &igName) |
| |
| QString | makeDisplayEngineKey (const std::string &displayName) |
| |
| QString | makeWindowKey (const std::string &displayName, const std::string &windowName) |
| |
| QString | makeChannelKey (const std::string &displayName, const std::string &windowName, const std::string &channelName) |
| |
| QString | appendToKey (QString displayKey, const std::string &windowName) |
| |
| DtDisplayConfiguration | createNewDisplayEngineConfiguration () |
| |
| DtWindowConfiguration | createNewWindowConfigurtion (const DtDisplayConfiguration &) |
| |
| DtChannelConfiguration | createNewChannel (const DtWindowConfiguration &) |
| |
| QStandardItem * | addIgItem (const std::string &igName, const std::string &displayName) |
| | Create a new de item. More...
|
| |
| QStandardItem * | addDisplayEngineItem (QStandardItem *parent, const QString &parentKey, const DtDisplayConfiguration &dec) |
| | This does not actually create an item, but creates the items for its windows. More...
|
| |
| QStandardItem * | addWindowItem (QStandardItem *parent, const QString &parentKey, const std::string &displayName, const DtWindowConfiguration &wc) |
| | Creates a new item, makes item a child of parent and makes all channels in the window configuration children of item. More...
|
| |
| QStandardItem * | addChannelItem (QStandardItem *parent, const QString &parentKey, const std::string &displayName, const DtChannelConfiguration &cc) |
| | Creates a new item, makes item a child of parent. More...
|
| |
| void | removeItemByKey (const QString &key) |
| | Removes QStandardItem associated with name from model. More...
|
| |
| void | remapChildItems (QStandardItem *item, const QString &oldParentKey, const QString &newParentKey) |
| | Changes the keys of all child items so that they match their parent's key. More...
|
| |
| bool | getDisplayEngineConfiguration (const std::string &displayName, bool isRealized, DtDisplayConfiguration &dcOut) |
| | Fills dcOut with a copy of the realized display configuration named displayName. More...
|
| |
| bool | getWindowConfiguration (const std::string &displayName, const std::string &windowName, bool isRealized, DtWindowConfiguration &vcOut) |
| | Fills vcOut with a copy of the realized window configuration named windowName. More...
|
| |
| bool | getChannelConfiguration (const std::string &displayName, const std::string &windowName, const std::string &channelName, bool realized, DtChannelConfiguration &ccOut) |
| | Fills ccOut with a copy of the realized channel configuration named channelName. More...
|
| |
| const std::string & | displayEngineOwner (const std::string &displayName) |
| | Get the de name which owns the display. More...
|
| |
| int | flagsFromSelection (const QModelIndex &index) |
| | Return the DisplayItemFlags based on the selected item. More...
|
| |
The DtDisplayConfigEditorLogic is the brains behind the display configuration editor.
Causes display configurations to be realized on slaves. Modifies realized display configurations.
The logic controls a tree window in the widget. The tree window contains all the realized displays. Changes made to the property sheet on the widget make changes to proxies.