Dash Core  0.12.2.1
P2P Digital Currency
QValueComboBox Class Reference

#include <qvaluecombobox.h>

+ Inheritance diagram for QValueComboBox:

Signals

void valueChanged ()
 

Public Member Functions

 QValueComboBox (QWidget *parent=0)
 
QVariant value () const
 
void setValue (const QVariant &value)
 
void setRole (int role)
 

Properties

QVariant value
 

Private Slots

void handleSelectionChanged (int idx)
 

Private Attributes

int role
 

Detailed Description

Definition at line 12 of file qvaluecombobox.h.

Constructor & Destructor Documentation

◆ QValueComboBox()

QValueComboBox::QValueComboBox ( QWidget *  parent = 0)
explicit

Definition at line 7 of file qvaluecombobox.cpp.

Member Function Documentation

◆ handleSelectionChanged

void QValueComboBox::handleSelectionChanged ( int  idx)
privateslot

Definition at line 28 of file qvaluecombobox.cpp.

Referenced by QValueComboBox().

◆ setRole()

void QValueComboBox::setRole ( int  role)

Specify model role to use as ordinal value (defaults to Qt::UserRole)

Definition at line 23 of file qvaluecombobox.cpp.

◆ setValue()

void QValueComboBox::setValue ( const QVariant &  value)

Definition at line 18 of file qvaluecombobox.cpp.

Referenced by BitcoinAmountField::setDisplayUnit().

◆ value()

QVariant QValueComboBox::value ( ) const

Referenced by setValue().

◆ valueChanged

void QValueComboBox::valueChanged ( )
signal

Definition at line 174 of file moc_qvaluecombobox.cpp.

Referenced by handleSelectionChanged().

Member Data Documentation

◆ role

int QValueComboBox::role
private

Definition at line 31 of file qvaluecombobox.h.

Referenced by setRole(), and setValue().

Property Documentation

◆ value

QVariant QValueComboBox::value
readwrite

Definition at line 16 of file qvaluecombobox.h.


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