Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Signals | Public Member Functions | Properties | Private Slots | Private Attributes | List of all members
QValueComboBox Class Reference

#include <qvaluecombobox.h>

+ Inheritance diagram for QValueComboBox:
+ Collaboration 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)
 Specify model role to use as ordinal value (defaults to Qt::UserRole) More...
 

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 ( QWidget parent = 0)
explicit

Definition at line 7 of file qvaluecombobox.cpp.

References handleSelectionChanged().

+ Here is the call graph for this function:

Member Function Documentation

void QValueComboBox::handleSelectionChanged ( int  idx)
privateslot

Definition at line 28 of file qvaluecombobox.cpp.

References valueChanged().

Referenced by QValueComboBox().

+ Here is the caller graph for this function:

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.

References role.

void QValueComboBox::setValue ( const QVariant &  value)

Definition at line 18 of file qvaluecombobox.cpp.

References role.

Referenced by BitcoinAmountField::setDisplayUnit().

+ Here is the caller graph for this function:

QVariant QValueComboBox::value ( ) const
void QValueComboBox::valueChanged ( )
signal

Definition at line 132 of file moc_qvaluecombobox.cpp.

Referenced by handleSelectionChanged().

+ Here is the caller graph for this function:

Member Data Documentation

int QValueComboBox::role
private

Definition at line 31 of file qvaluecombobox.h.

Referenced by setRole(), and setValue().

Property Documentation

QVariant QValueComboBox::value
readwrite

Definition at line 16 of file qvaluecombobox.h.


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