Bitcoin
Signals | Public Member Functions | Properties | Private Slots | Private Attributes | List of all members
QValueComboBox Class Reference

#include <qvaluecombobox.h>

Inheritance diagram for QValueComboBox:

Signals

void valueChanged ()
 

Public Member Functions

 QValueComboBox (QWidget *parent=nullptr)
 
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
 

Constructor & Destructor Documentation

◆ QValueComboBox()

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

Member Function Documentation

◆ handleSelectionChanged

void QValueComboBox::handleSelectionChanged ( int  idx)
privateslot

◆ setRole()

void QValueComboBox::setRole ( int  role)

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

◆ setValue()

void QValueComboBox::setValue ( const QVariant &  value)

◆ value()

QVariant QValueComboBox::value ( ) const

◆ valueChanged

void QValueComboBox::valueChanged ( )
signal

Member Data Documentation

◆ role

int QValueComboBox::role
private

Property Documentation

◆ value

QVariant QValueComboBox::value
readwrite

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