Public Slots | Signals | Public Member Functions | Properties | List of all members
pqTreeWidgetItemObject Class Reference

QTreeWidgetItem subclass with additional signals, slots, and properties. More...

#include <pqTreeWidgetItemObject.h>

Inherits QObject, and QTreeWidgetItem.

Public Slots

bool isChecked () const
 get the check true/false More...
 
void setChecked (bool v)
 set the check state true/false More...
 

Signals

void checkedStateChanged (bool)
 signal check state changed More...
 
void modified ()
 Fired every time setData is called. More...
 

Public Member Functions

 pqTreeWidgetItemObject (const QStringList &t, int type=QTreeWidgetItem::UserType)
 construct list widget item to for QTreeWidget with a string More...
 
 pqTreeWidgetItemObject (QTreeWidget *p, const QStringList &t, int type=QTreeWidgetItem::UserType)
 
 pqTreeWidgetItemObject (QTreeWidgetItem *p, const QStringList &t, int type=QTreeWidgetItem::UserType)
 
void setData (int column, int role, const QVariant &v) override
 overload setData() to emit changed signal More...
 

Properties

bool checked
 

Detailed Description

QTreeWidgetItem subclass with additional signals, slots, and properties.

Definition at line 15 of file pqTreeWidgetItemObject.h.

Constructor & Destructor Documentation

◆ pqTreeWidgetItemObject() [1/3]

pqTreeWidgetItemObject::pqTreeWidgetItemObject ( const QStringList &  t,
int  type = QTreeWidgetItem::UserType 
)

construct list widget item to for QTreeWidget with a string

◆ pqTreeWidgetItemObject() [2/3]

pqTreeWidgetItemObject::pqTreeWidgetItemObject ( QTreeWidget *  p,
const QStringList &  t,
int  type = QTreeWidgetItem::UserType 
)

◆ pqTreeWidgetItemObject() [3/3]

pqTreeWidgetItemObject::pqTreeWidgetItemObject ( QTreeWidgetItem *  p,
const QStringList &  t,
int  type = QTreeWidgetItem::UserType 
)

Member Function Documentation

◆ setData()

void pqTreeWidgetItemObject::setData ( int  column,
int  role,
const QVariant &  v 
)
override

overload setData() to emit changed signal

◆ isChecked

bool pqTreeWidgetItemObject::isChecked ( ) const
slot

get the check true/false

◆ setChecked

void pqTreeWidgetItemObject::setChecked ( bool  v)
slot

set the check state true/false

◆ checkedStateChanged

void pqTreeWidgetItemObject::checkedStateChanged ( bool  )
signal

signal check state changed

◆ modified

void pqTreeWidgetItemObject::modified ( )
signal

Fired every time setData is called.

Property Documentation

◆ checked

bool pqTreeWidgetItemObject::checked
readwrite

Definition at line 20 of file pqTreeWidgetItemObject.h.


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