VAPOR3 3.9.4
Public Slots | Signals | Public Member Functions | List of all members
VComboBox Class Reference

#include <VComboBox.h>

Inheritance diagram for VComboBox:
VHBoxWidget

Public Slots

void emitComboChanged (const QString &value)
 

Signals

void ValueChanged (std::string value)
 
void IndexChanged (int index)
 

Public Member Functions

 VComboBox (const std::vector< std::string > &values={})
 
void SetOptions (const std::vector< std::string > &values)
 
void SetIndex (int index)
 
void SetValue (const std::string &value)
 
void SetItemEnabled (int index, bool enabled)
 
std::string GetValue () const
 
int GetCurrentIndex () const
 
int GetCount () const
 

Additional Inherited Members

- Protected Member Functions inherited from VHBoxWidget
 VHBoxWidget ()
 

Detailed Description

class VComboBox

Wraps a QComboBox and provides vaporgui's standard setter/getter functions and signals.

Definition at line 12 of file VComboBox.h.

Constructor & Destructor Documentation

◆ VComboBox()

VComboBox::VComboBox ( const std::vector< std::string > &  values = {})

Member Function Documentation

◆ emitComboChanged

void VComboBox::emitComboChanged ( const QString &  value)
slot

◆ GetCount()

int VComboBox::GetCount ( ) const

◆ GetCurrentIndex()

int VComboBox::GetCurrentIndex ( ) const

◆ GetValue()

std::string VComboBox::GetValue ( ) const

◆ IndexChanged

void VComboBox::IndexChanged ( int  index)
signal

◆ SetIndex()

void VComboBox::SetIndex ( int  index)

◆ SetItemEnabled()

void VComboBox::SetItemEnabled ( int  index,
bool  enabled 
)

◆ SetOptions()

void VComboBox::SetOptions ( const std::vector< std::string > &  values)

◆ SetValue()

void VComboBox::SetValue ( const std::string &  value)

◆ ValueChanged

void VComboBox::ValueChanged ( std::string  value)
signal

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