VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtStyledQTreeWidgetItem Class Reference

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

Inheritance diagram for makVrv::DtStyledQTreeWidgetItem:
Inheritance graph
[legend]

Public Member Functions

 DtStyledQTreeWidgetItem ()
 
 DtStyledQTreeWidgetItem (QTreeWidgetItem *parent)
 
 DtStyledQTreeWidgetItem (QTreeWidget *parent)
 
virtual void setFlags (Qt::ItemFlags newFlags)
 

Constructor & Destructor Documentation

makVrv::DtStyledQTreeWidgetItem::DtStyledQTreeWidgetItem ( )

CTOR.

makVrv::DtStyledQTreeWidgetItem::DtStyledQTreeWidgetItem ( QTreeWidgetItem parent)

CTOR - item as parent.

makVrv::DtStyledQTreeWidgetItem::DtStyledQTreeWidgetItem ( QTreeWidget parent)

CTOR - tree as parent.

Member Function Documentation

virtual void makVrv::DtStyledQTreeWidgetItem::setFlags ( Qt::ItemFlags  newFlags)
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.


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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)