Version: 9.15.0
SalomeApp_ComboBox Class Reference

#include <SalomeApp_ListView.h>

Inheritance diagram for SalomeApp_ComboBox:
Inheritance graph

Public Member Functions

 SalomeApp_ComboBox (bool rw, QWidget *parent=0, const char *name=0)
 
int findItem (const QString &theText)
 
void insertItem (const QString &theValue, int theIndex=-1)
 
void insertList (const QStringList &theList)
 
void insertItem (const int theValue)
 
void insertList (const TColStd_ListOfInteger &theList)
 
void insertItem (const double theValue)
 
void insertList (const TColStd_ListOfReal &theList)
 

Constructor & Destructor Documentation

◆ SalomeApp_ComboBox()

SalomeApp_ComboBox::SalomeApp_ComboBox ( bool  rw,
QWidget parent = 0,
const char *  name = 0 
)

Constructor

Member Function Documentation

◆ findItem()

int SalomeApp_ComboBox::findItem ( const QString &  theText)

Searches item in list and returns its index

◆ insertItem() [1/3]

void SalomeApp_ComboBox::insertItem ( const double  theValue)

Adds item in combo box

References insertItem().

◆ insertItem() [2/3]

void SalomeApp_ComboBox::insertItem ( const int  theValue)

Adds item in combo box

References insertItem().

◆ insertItem() [3/3]

void SalomeApp_ComboBox::insertItem ( const QString &  theValue,
int  theIndex = -1 
)

Adds item in combo box

References findItem().

◆ insertList() [1/3]

void SalomeApp_ComboBox::insertList ( const QStringList &  theList)

Adds list of items in combo box

References insertItem().

◆ insertList() [2/3]

void SalomeApp_ComboBox::insertList ( const TColStd_ListOfInteger &  theList)

Adds list of items in combo box

References insertItem().

◆ insertList() [3/3]

void SalomeApp_ComboBox::insertList ( const TColStd_ListOfReal &  theList)

Adds list of items in combo box

References insertItem().


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