![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Member Functions | |
| DtVrfPluginsEditorWidget (makVrv::DtDe &, QWidget *parent=NULL, const Qt::WindowFlags &flags=0) | |
| default constructor | |
| virtual | ~DtVrfPluginsEditorWidget () |
| destructor | |
| void | setupGui () |
| virtual void | setCurrentInstance (const std::string &s) |
| Sets the current instance by signaling that instance is set. | |
| virtual void | updatePlugin (const QString &plugin) |
| Called when the contents of an item has changed. Only set when editing plugin. | |
Public Attributes | |
| QCheckBox * | myLoad |
Protected Slots | |
| virtual void | onLoadChanged () |
| Called when the load button click changes. Sends loadChanged signal. | |
| virtual void | onItemClicked (QTreeWidgetItem *, int col) |
| Called when the plugin structure widget is clicked. | |
| virtual void | onAddPlugin () |
| Emits signal to add a new plugin line to the plugin structure. Called only if the user pressed OK on the add dialog. | |
| virtual void | onRemovePlugin () |
| Emits a signal to remove the currently selected plugin. | |
| virtual void | onErasePlugin () |
| Emits a signal to erase the current plugin loaded from the selected line. | |
| virtual void | onCurrentItemChanged (QTreeWidgetItem *, QTreeWidgetItem *) |
| Called when current item changes. Enables/disables buttons. | |
| virtual void | removePlugin (const std::string &application, const std::string &platform, const std::string &configuration, const std::string &transport) |
| Removes the plugin from the interface. | |
| virtual void | addPlugin (const std::string &application, const std::string &platform, const std::string &configuration, const std::string &transport) |
| Adds the plugin to the interface if it does not exist. | |
Protected Member Functions | |
| virtual void | setLoad (bool) |
| Sets whether or not to load the plugin. | |
| virtual void | clearPluginStructure () |
| Clears out the widget that is holding the plugin structure. | |
| virtual void | addPluginData (const std::string &application, const std::string &platform, const std::string &configuration, const std::string &transport, const std::string &plugin) |
| Adds the path to the plugin structure, building the tree. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtVrfPluginsEditorWidgetLogic * | myLogic |
| QTreeWidget * | myPluginStructure |
| QTreeWidgetItem * | myEditing |
| QFrame * | myToolbar |
| QPushButton * | myAddPlugin |
| QPushButton * | myRemovePlugin |
| QPushButton * | myErasePlugin |
| QString | myLastDirectory |
| makVrf::DtVrfPluginsEditorWidget::DtVrfPluginsEditorWidget | ( | makVrv::DtDe & | , |
| QWidget * | parent = NULL, |
||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
default constructor
| virtual makVrf::DtVrfPluginsEditorWidget::~DtVrfPluginsEditorWidget | ( | ) | [virtual] |
destructor
| virtual void makVrf::DtVrfPluginsEditorWidget::setCurrentInstance | ( | const std::string & | s | ) | [virtual] |
Sets the current instance by signaling that instance is set.
| virtual void makVrf::DtVrfPluginsEditorWidget::updatePlugin | ( | const QString & | plugin | ) | [virtual] |
Called when the contents of an item has changed. Only set when editing plugin.
| virtual void makVrf::DtVrfPluginsEditorWidget::setLoad | ( | bool | ) | [protected, virtual] |
Sets whether or not to load the plugin.
Implements makVrf::DtVrfPluginsEditorWidgetInterface.
| virtual void makVrf::DtVrfPluginsEditorWidget::clearPluginStructure | ( | ) | [protected, virtual] |
Clears out the widget that is holding the plugin structure.
Implements makVrf::DtVrfPluginsEditorWidgetInterface.
| virtual void makVrf::DtVrfPluginsEditorWidget::addPluginData | ( | const std::string & | application, |
| const std::string & | platform, | ||
| const std::string & | configuration, | ||
| const std::string & | transport, | ||
| const std::string & | plugin | ||
| ) | [protected, virtual] |
Adds the path to the plugin structure, building the tree.
Implements makVrf::DtVrfPluginsEditorWidgetInterface.
| virtual void makVrf::DtVrfPluginsEditorWidget::onLoadChanged | ( | ) | [protected, virtual, slot] |
Called when the load button click changes. Sends loadChanged signal.
| virtual void makVrf::DtVrfPluginsEditorWidget::onItemClicked | ( | QTreeWidgetItem * | , |
| int | col | ||
| ) | [protected, virtual, slot] |
Called when the plugin structure widget is clicked.
Will bring up file selector if the plugin column is selected then put the column into edit mode
| virtual void makVrf::DtVrfPluginsEditorWidget::onAddPlugin | ( | ) | [protected, virtual, slot] |
Emits signal to add a new plugin line to the plugin structure. Called only if the user pressed OK on the add dialog.
| virtual void makVrf::DtVrfPluginsEditorWidget::onRemovePlugin | ( | ) | [protected, virtual, slot] |
Emits a signal to remove the currently selected plugin.
| virtual void makVrf::DtVrfPluginsEditorWidget::onErasePlugin | ( | ) | [protected, virtual, slot] |
Emits a signal to erase the current plugin loaded from the selected line.
| virtual void makVrf::DtVrfPluginsEditorWidget::onCurrentItemChanged | ( | QTreeWidgetItem * | , |
| QTreeWidgetItem * | |||
| ) | [protected, virtual, slot] |
Called when current item changes. Enables/disables buttons.
| virtual void makVrf::DtVrfPluginsEditorWidget::removePlugin | ( | const std::string & | application, |
| const std::string & | platform, | ||
| const std::string & | configuration, | ||
| const std::string & | transport | ||
| ) | [protected, virtual, slot] |
Removes the plugin from the interface.
Implements makVrf::DtVrfPluginsEditorWidgetInterface.
| virtual void makVrf::DtVrfPluginsEditorWidget::addPlugin | ( | const std::string & | application, |
| const std::string & | platform, | ||
| const std::string & | configuration, | ||
| const std::string & | transport | ||
| ) | [protected, virtual, slot] |
Adds the plugin to the interface if it does not exist.
Implements makVrf::DtVrfPluginsEditorWidgetInterface.
makVrv::DtDe& makVrf::DtVrfPluginsEditorWidget::myDe [protected] |
QFrame* makVrf::DtVrfPluginsEditorWidget::myToolbar [protected] |
QPushButton* makVrf::DtVrfPluginsEditorWidget::myAddPlugin [protected] |
QString makVrf::DtVrfPluginsEditorWidget::myLastDirectory [protected] |