![]() |
VR-Forces 5.0.3 Developer's Guide
|
A styled version of the QTreeWidgetItem.
This class is supported by the widget icon style manager and, as a result, it's icon can be updated by the manager based on the current application settings, i.e. Dark Mode vs Light Mode and Retro Icons vs No Retro Icons.
Any user wanting their tree widget item to support icons that are updated by the widget icon style manager should use DtStyledQTreeWidgetItem instead of QTreeWidgetItem.
Additionally, this class only differs from QTreeWidgetItem in that it

Public Member Functions | |
| DtStyledQTreeWidgetItem () | |
| DtStyledQTreeWidgetItem (QTreeWidgetItem *parent) | |
| DtStyledQTreeWidgetItem (QTreeWidget *parent) | |
| virtual void | setFlags (Qt::ItemFlags newFlags) |
| makVrv::DtStyledQTreeWidgetItem::DtStyledQTreeWidgetItem | ( | ) |
CTOR.
| makVrv::DtStyledQTreeWidgetItem::DtStyledQTreeWidgetItem | ( | QTreeWidgetItem * | parent | ) |
CTOR - item as parent.
| makVrv::DtStyledQTreeWidgetItem::DtStyledQTreeWidgetItem | ( | QTreeWidget * | parent | ) |
CTOR - tree as parent.
|
virtual |
Special QTableWidgetItem::setFlags(Qt::ItemFlags) implementation. This function can force the re-drawing of its parent DtQTableWidget. Note, since QTableWidgetItem::setFlags(Qt::ItemFlags) is not virtual, when wanting to use this method, ensure the calling object is of type DtStyledQTableWidgetItem.