ApplicationDatabaseItem Class Reference

This class represents an item in the ApplicationDatabaseView. More...

#include <ArmarXGui/gui-plugins/ScenarioManager/gui/applicationdatabaseitem.h>

+ Inheritance diagram for ApplicationDatabaseItem:

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)
 
TreeItemchild (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 ()
 
TreeItemparent ()
 
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
 

Detailed Description

This class represents an item in the ApplicationDatabaseView.

Definition at line 34 of file applicationdatabaseitem.h.

Constructor & Destructor Documentation

◆ ApplicationDatabaseItem() [1/3]

ApplicationDatabaseItem ( QString  text)

Constructor that only sets the text to be displayed.

Definition at line 33 of file applicationdatabaseitem.cpp.

◆ ApplicationDatabaseItem() [2/3]

Constructor that sets a package to be displayed.

Parameters
packagepackage to be displayed

Definition at line 38 of file applicationdatabaseitem.cpp.

◆ ApplicationDatabaseItem() [3/3]

Constructor that sets an application to be displayed.

Parameters
applicationapplication to be displayed

Definition at line 44 of file applicationdatabaseitem.cpp.

Member Function Documentation

◆ getApplication()

Data_Structure::ApplicationPtr getApplication ( )

Returns the Application displayed in this item.

Definition at line 55 of file applicationdatabaseitem.cpp.

+ Here is the caller graph for this function:

◆ getPackage()

Returns the Package displayed in this item.

Definition at line 50 of file applicationdatabaseitem.cpp.

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: