|
This class represents an item in the ApplicationDatabaseView. More...
#include <ArmarXGui/gui-plugins/ScenarioManager/gui/applicationdatabaseitem.h>
Public Member Functions | |
ApplicationDatabaseItem (QString text) | |
Constructor that only sets the text to be displayed. More... | |
ApplicationDatabaseItem (ScenarioManager::Data_Structure::ApplicationPtr application) | |
Constructor that sets an application to be displayed. More... | |
ApplicationDatabaseItem (ScenarioManager::Data_Structure::PackagePtr package) | |
Constructor that sets a package to be displayed. More... | |
ScenarioManager::Data_Structure::ApplicationPtr | getApplication () |
Returns the Application displayed in this item. More... | |
ScenarioManager::Data_Structure::PackagePtr | getPackage () |
Returns the Package displayed in this item. More... | |
Public Member Functions inherited from TreeItem | |
void | appendChild (TreeItem *child) |
TreeItem * | child (int row) |
int | childCount () const |
int | columnCount () const |
virtual QVariant | data (int column) const |
bool | insertChild (int position, TreeItem *child) |
bool | insertColumn (int position, QVariant data) |
bool | isEnabled () |
TreeItem * | parent () |
bool | removeChild (int position) |
bool | removeColumn (int position) |
int | row () const |
bool | setData (int column, const QVariant &value) |
void | setEnabled (bool enabled) |
TreeItem () | |
virtual | ~TreeItem () |
Additional Inherited Members | |
Protected Attributes inherited from TreeItem | |
bool | enabled |
QVector< QVariant > | m_itemData |
This class represents an item in the ApplicationDatabaseView.
Definition at line 34 of file applicationdatabaseitem.h.
ApplicationDatabaseItem | ( | QString | text | ) |
Constructor that only sets the text to be displayed.
Definition at line 33 of file applicationdatabaseitem.cpp.
Constructor that sets a package to be displayed.
package | package to be displayed |
Definition at line 38 of file applicationdatabaseitem.cpp.
Constructor that sets an application to be displayed.
application | application to be displayed |
Definition at line 44 of file applicationdatabaseitem.cpp.
Data_Structure::ApplicationPtr getApplication | ( | ) |
Returns the Application displayed in this item.
Definition at line 55 of file applicationdatabaseitem.cpp.
Data_Structure::PackagePtr getPackage | ( | ) |
Returns the Package displayed in this item.
Definition at line 50 of file applicationdatabaseitem.cpp.