Bitcoin Core  0.18.99
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 12 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 28 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 18 of file qvaluecombobox.cpp.

Here is the caller graph for this function:

◆ value()

QVariant QValueComboBox::value ( ) const
Here is the caller graph for this function:

◆ valueChanged

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

Member Data Documentation

◆ role

int QValueComboBox::role
private

Definition at line 31 of file qvaluecombobox.h.

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: