OpenWalnut  1.5.0dev
Public Member Functions | List of all members
WQtDatasetTreeItem Class Reference

Tree widget item to represent a dataset in the control panel tree widget. More...

#include <WQtDatasetTreeItem.h>

+ Inheritance diagram for WQtDatasetTreeItem:
+ Collaboration diagram for WQtDatasetTreeItem:

Public Member Functions

 WQtDatasetTreeItem (QTreeWidgetItem *parent, std::shared_ptr< WModule > module)
 Constructor. More...
 
virtual ~WQtDatasetTreeItem ()
 Destructor. More...
 
- Public Member Functions inherited from WQtTreeItem
 WQtTreeItem (QTreeWidgetItem *parent, WTreeItemType type, std::shared_ptr< WModule > module)
 Constructor creates an empty item. More...
 
virtual ~WQtTreeItem ()
 Destructor. More...
 
WModule::SPtr getModule ()
 Get for the module pointer. More...
 
std::string getName ()
 Returns the name used for this tree item. More...
 
virtual void gotRemoved ()
 Gets called by the GUI whenever the module was removed from the root container and should now be deleted. More...
 
std::string getHandledInput () const
 The name of the input represented by this item. More...
 
void setHandledInput (std::string in)
 Sets the name of the input represented by this item. More...
 
std::string getHandledOutput () const
 The name of the output represented by this item. More...
 
void setHandledOutput (std::string out)
 Sets the name of the output represented by this item. More...
 
virtual void handleCheckStateChange ()
 Handle changes in check state. More...
 

Additional Inherited Members

- Public Slots inherited from WQtTreeItem
void update ()
 Gets called by m_updateTimer in some interval to update the item state, basing on the state of m_module. More...
 
- Static Public Member Functions inherited from WQtTreeItem
static std::string createTooltip (WModule::SPtr module)
 Create tooltip for a given module. More...
 
- Protected Member Functions inherited from WQtTreeItem
virtual void updateState ()
 Updates the state of the tree item basing on the module's state. More...
 
- Protected Attributes inherited from WQtTreeItem
std::shared_ptr< QTimer > m_updateTimer
 Updates this item in regular intervals. More...
 
std::string m_name
 Name of the tree item. More...
 
bool m_deleteInProgress
 True if the treeitem and the module gets deleted currently. More...
 
bool m_needPostDeleteEvent
 True if no delete event has been posted yet. More...
 
WPropString m_nameProp
 The property containing the name of the module. More...
 
std::string m_handledInput
 The name of the input connector represented by this item. More...
 
std::string m_handledOutput
 The output name handled by this item. More...
 

Detailed Description

Tree widget item to represent a dataset in the control panel tree widget.

This class is currently empty as all the functionality has been generalized and moved to WQtTreeItem. This class should be removed.

Definition at line 39 of file WQtDatasetTreeItem.h.

Constructor & Destructor Documentation

◆ WQtDatasetTreeItem()

WQtDatasetTreeItem::WQtDatasetTreeItem ( QTreeWidgetItem parent,
std::shared_ptr< WModule module 
)

Constructor.

Parameters
parentThe parent widget that manages this widget.
moduleThe module that will be represented by the item.

Definition at line 31 of file WQtDatasetTreeItem.cpp.

◆ ~WQtDatasetTreeItem()

WQtDatasetTreeItem::~WQtDatasetTreeItem ( )
virtual

Destructor.

Definition at line 36 of file WQtDatasetTreeItem.cpp.


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