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.
|
| virtual | ~DtVrfPluginsEditorWidgetInterface () |
| virtual void | removePlugin (const std::string &application, const std::string &platform, const std::string &configuration, const std::string &transport)=0 |
| | 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)=0 |
| | Adds the plugin to the interface if it does not exist.
|
Public Attributes |
| QCheckBox * | myLoad |
boost::signal< void(const
std::string &)> | signal_currentInstanceSet |
| boost::signal< void(bool)> | signal_loadChanged |
boost::signal< void(const
std::string &, const
std::string &, const
std::string &, const
std::string &, const
std::string &)> | signal_setPlugin |
boost::signal< void(const
std::string &, const
std::string &, const
std::string &, const
std::string &)> | signal_addPlugin |
boost::signal< void(const
std::string &, const
std::string &, const
std::string &, const
std::string &)> | signal_removePlugin |
boost::signal< void(const
std::string &, const
std::string &, const
std::string &, const
std::string &)> | signal_erasePlugin |
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.
|
Constructor & Destructor Documentation
| makVrf::DtVrfPluginsEditorWidget::DtVrfPluginsEditorWidget |
( |
makVrv::DtDe & |
, |
|
|
QWidget * |
parent = NULL, |
|
|
const Qt::WindowFlags & |
flags = 0 |
|
) |
| |
| virtual makVrf::DtVrfPluginsEditorWidget::~DtVrfPluginsEditorWidget |
( |
| ) |
|
|
virtual |
Member Function Documentation
| void makVrf::DtVrfPluginsEditorWidget::setupGui |
( |
| ) |
|
| 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 |
| ) |
|
|
protectedvirtual |
| virtual void makVrf::DtVrfPluginsEditorWidget::clearPluginStructure |
( |
| ) |
|
|
protectedvirtual |
| 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 |
|
) |
| |
|
protectedvirtual |
| virtual void makVrf::DtVrfPluginsEditorWidget::onLoadChanged |
( |
| ) |
|
|
protectedvirtualslot |
Called when the load button click changes. Sends loadChanged signal.
| virtual void makVrf::DtVrfPluginsEditorWidget::onItemClicked |
( |
QTreeWidgetItem * |
, |
|
|
int |
col |
|
) |
| |
|
protectedvirtualslot |
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 |
( |
| ) |
|
|
protectedvirtualslot |
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 |
( |
| ) |
|
|
protectedvirtualslot |
Emits a signal to remove the currently selected plugin.
| virtual void makVrf::DtVrfPluginsEditorWidget::onErasePlugin |
( |
| ) |
|
|
protectedvirtualslot |
Emits a signal to erase the current plugin loaded from the selected line.
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 |
|
) |
| |
|
protectedvirtualslot |
Removes the plugin from the interface.
| virtual void makVrf::DtVrfPluginsEditorWidget::addPlugin |
( |
const std::string & |
application, |
|
|
const std::string & |
platform, |
|
|
const std::string & |
configuration, |
|
|
const std::string & |
transport |
|
) |
| |
|
protectedvirtualslot |
Adds the plugin to the interface if it does not exist.
Member Data Documentation
| QCheckBox* makVrf::DtVrfPluginsEditorWidget::myLoad |
| QTreeWidget* makVrf::DtVrfPluginsEditorWidget::myPluginStructure |
|
protected |
| QFrame* makVrf::DtVrfPluginsEditorWidget::myToolbar |
|
protected |
| QPushButton* makVrf::DtVrfPluginsEditorWidget::myAddPlugin |
|
protected |
| QPushButton* makVrf::DtVrfPluginsEditorWidget::myRemovePlugin |
|
protected |
| QPushButton* makVrf::DtVrfPluginsEditorWidget::myErasePlugin |
|
protected |
| QString makVrf::DtVrfPluginsEditorWidget::myLastDirectory |
|
protected |
The documentation for this class was generated from the following file: