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

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

#include <pqListWidgetItemObject.h>

Inherits QObject, and QListWidgetItem.

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...
 

Public Member Functions

 pqListWidgetItemObject (const QString &t, QListWidget *p)
 construct list widget item to for QListWidget with a string More...
 
void setData (int role, const QVariant &v) override
 overload setData() to emit changed signal More...
 

Properties

bool checked
 

Detailed Description

QListWidgetItem subclass with additional signals, slots, and properties.

Definition at line 43 of file pqListWidgetItemObject.h.

Constructor & Destructor Documentation

◆ pqListWidgetItemObject()

pqListWidgetItemObject::pqListWidgetItemObject ( const QString &  t,
QListWidget *  p 
)

construct list widget item to for QListWidget with a string

Member Function Documentation

◆ setData()

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

overload setData() to emit changed signal

◆ isChecked

bool pqListWidgetItemObject::isChecked ( ) const
slot

get the check true/false

◆ setChecked

void pqListWidgetItemObject::setChecked ( bool  v)
slot

set the check state true/false

◆ checkedStateChanged

void pqListWidgetItemObject::checkedStateChanged ( bool  )
signal

signal check state changed

Property Documentation

◆ checked

bool pqListWidgetItemObject::checked
readwrite

Definition at line 48 of file pqListWidgetItemObject.h.


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