Krita Source Code Documentation
Loading...
Searching...
No Matches
KisWidgetChooser::Data Struct Reference

Public Member Functions

 Data (const Data &d)
 
 Data (const QString &ID)
 
 Data (const QString &ID, QWidget *w, QLabel *l)
 

Public Attributes

bool chosen
 
QString id
 
QLabel * label
 
QWidget * widget
 

Friends

bool operator== (const Data &a, const Data &b)
 

Detailed Description

Definition at line 23 of file kis_widget_chooser.h.

Constructor & Destructor Documentation

◆ Data() [1/3]

KisWidgetChooser::Data::Data ( const QString & ID)
inline

Definition at line 25 of file kis_widget_chooser.h.

◆ Data() [2/3]

KisWidgetChooser::Data::Data ( const Data & d)
inline

Definition at line 27 of file kis_widget_chooser.h.

27 :
28 id(d.id), widget(d.widget), label(d.label), chosen(d.chosen) { }

◆ Data() [3/3]

KisWidgetChooser::Data::Data ( const QString & ID,
QWidget * w,
QLabel * l )
inline

Definition at line 29 of file kis_widget_chooser.h.

29 :
30 id(ID), widget(w), label(l), chosen(false) { }

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const Data & a,
const Data & b )
friend

Definition at line 32 of file kis_widget_chooser.h.

32 {
33 return a.id == b.id;
34 }

Member Data Documentation

◆ chosen

bool KisWidgetChooser::Data::chosen

Definition at line 39 of file kis_widget_chooser.h.

◆ id

QString KisWidgetChooser::Data::id

Definition at line 36 of file kis_widget_chooser.h.

◆ label

QLabel* KisWidgetChooser::Data::label

Definition at line 38 of file kis_widget_chooser.h.

◆ widget

QWidget* KisWidgetChooser::Data::widget

Definition at line 37 of file kis_widget_chooser.h.


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