Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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).

Properties

QVariant value

Private Slots

void handleSelectionChanged (int idx)

Private Attributes

int role {Qt::UserRole}

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 call graph for this function:
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.

◆ value()

QVariant QValueComboBox::value ( ) const

Definition at line 13 of file qvaluecombobox.cpp.

◆ valueChanged

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

Member Data Documentation

◆ role

int QValueComboBox::role {Qt::UserRole}
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: