OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::PropertyGridTree Class Reference

#include "PropertyGridTree.h"

Inheritance diagram for ot::PropertyGridTree:
ot::TreeWidget ot::QWidgetInterface

Public Member Functions

 PropertyGridTree ()
 
virtual ~PropertyGridTree ()
 
- Public Member Functions inherited from ot::TreeWidget
 TreeWidget (QWidget *_parentWidget=(QWidget *) nullptr)
 
virtual ~TreeWidget ()
 
virtual QWidget * getQWidget (void) override
 Returns a pointer to the root widget of this object.
 
virtual const QWidget * getQWidget (void) const override
 
QTreeWidgetItem * findItem (const QString &_itemPath, char _delimiter='/') const
 
bool itemExists (const QString &_itemPath, char _delimiter='/') const
 Checks if the item at the given path exists.
 
bool itemTextExists (const QString &_itemText) const
 Checks if an item with the given text exists. The item text is the text of the single item. The item to check may be nested.
 
QString getItemPath (QTreeWidgetItem *_item, char _delimiter='/') const
 
QTreeWidgetItem * addItem (const TreeWidgetItemInfo &_item)
 
void deselectAll (void)
 Deselects all items. Emits itemSelectionChanged when done.
 
bool itemTextExists (QTreeWidgetItem *_parent, const QString &_itemText) const
 Checks if an item with the given text exists. The item text is the text of the single item. The item to check may be nested.
 
QTreeWidgetItem * findItem (QTreeWidgetItem *_item, const QStringList &_childPath) const
 
QTreeWidgetItem * findItemText (QTreeWidgetItem *_parent, const QString &_itemText) const
 
- Public Member Functions inherited from ot::QWidgetInterface
 QWidgetInterface ()
 
virtual ~QWidgetInterface ()
 
void setOTWidgetFlags (const WidgetFlags &_flags)
 
const WidgetFlagsotWidgetFlags (void) const
 

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *_event) override
 
virtual void showEvent (QShowEvent *_event)
 
virtual void resizeEvent (QResizeEvent *_event)
 
virtual void drawRow (QPainter *_painter, const QStyleOptionViewItem &_options, const QModelIndex &_index) const override
 
- Protected Member Functions inherited from ot::QWidgetInterface
virtual void otWidgetFlagsChanged (const WidgetFlags &_flags)
 

Constructor & Destructor Documentation

◆ PropertyGridTree()

ot::PropertyGridTree::PropertyGridTree ( )

◆ ~PropertyGridTree()

ot::PropertyGridTree::~PropertyGridTree ( )
virtual

Member Function Documentation

◆ drawRow()

void ot::PropertyGridTree::drawRow ( QPainter * _painter,
const QStyleOptionViewItem & _options,
const QModelIndex & _index ) const
overrideprotectedvirtual

Reimplemented from ot::TreeWidget.

◆ mousePressEvent()

void ot::PropertyGridTree::mousePressEvent ( QMouseEvent * _event)
overrideprotectedvirtual

Reimplemented from ot::TreeWidget.

◆ resizeEvent()

void ot::PropertyGridTree::resizeEvent ( QResizeEvent * _event)
protectedvirtual

◆ showEvent()

void ot::PropertyGridTree::showEvent ( QShowEvent * _event)
protectedvirtual

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