Version: 6.3.1
Public Member Functions

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 ( bool  rw,
QWidget parent = 0,
const char *  name = 0 
)

Constructor


Member Function Documentation

int SalomeApp_ComboBox::findItem ( const QString &  theText)

Searches item in list and returns its index

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

Adds item in combo box

References findItem().

void SalomeApp_ComboBox::insertList ( const QStringList &  theList)

Adds list of items in combo box

References insertItem().

void SalomeApp_ComboBox::insertItem ( const int  theValue)

Adds item in combo box

References insertItem().

void SalomeApp_ComboBox::insertList ( const TColStd_ListOfInteger &  theList)

Adds list of items in combo box

References insertItem().

void SalomeApp_ComboBox::insertItem ( const double  theValue)

Adds item in combo box

References insertItem().

void SalomeApp_ComboBox::insertList ( const TColStd_ListOfReal &  theList)

Adds list of items in combo box

References insertItem().

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS