Bitcoin ABC 0.30.5
P2P Digital Currency
Signals | Public Member Functions | Properties | Private Slots | Private Attributes | List of all members
QValueComboBox Class Reference

#include <qvaluecombobox.h>

Inheritance diagram for QValueComboBox:
[legend]
Collaboration diagram for QValueComboBox:
[legend]

Signals

void valueChanged ()
 

Public Member Functions

 QValueComboBox (QWidget *parent=nullptr)
 
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 13 of file qvaluecombobox.h.

Constructor & Destructor Documentation

◆ QValueComboBox()

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

Definition at line 7 of file qvaluecombobox.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ handleSelectionChanged

void QValueComboBox::handleSelectionChanged ( int  idx)
privateslot

Definition at line 27 of file qvaluecombobox.cpp.

Here is the caller graph for this function:

◆ 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 19 of file qvaluecombobox.cpp.

Here is the caller graph for this function:

◆ value()

QVariant QValueComboBox::value ( ) const

Definition at line 15 of file qvaluecombobox.cpp.

◆ valueChanged

void QValueComboBox::valueChanged ( )
signal
Here is the caller graph for this function:

Member Data Documentation

◆ role

int QValueComboBox::role
private

Definition at line 32 of file qvaluecombobox.h.

Property Documentation

◆ value

QVariant QValueComboBox::value
readwrite

Definition at line 1 of file qvaluecombobox.h.


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