copasi API  0.1
Public Member Functions | Protected Attributes
SensWidgetComboBox Class Reference

#include <SensWidgetComboBox.h>

List of all members.

Public Member Functions

 SensWidgetComboBox (QWidget *parent=0, const char *name=0)
void fillFromList (const std::vector< CObjectLists::ListType > &list)
CObjectLists::ListType getCurrentObjectList () const
bool setCurrentObjectList (CObjectLists::ListType lt)

Protected Attributes

std::vector
< CObjectLists::ListType
mIndexTable

Detailed Description

This class handles a combo box to choose from lists of object lists


Constructor & Destructor Documentation

SensWidgetComboBox::SensWidgetComboBox ( QWidget *  parent = 0,
const char *  name = 0 
)

Member Function Documentation

void SensWidgetComboBox::fillFromList ( const std::vector< CObjectLists::ListType > &  list)

this fills the combobox with a new list of entries. If the old current value is still allowed in the new list, it is set. Otherwise the box shows the first item.

CObjectLists::ListType SensWidgetComboBox::getCurrentObjectList ( ) const
bool SensWidgetComboBox::setCurrentObjectList ( CObjectLists::ListType  lt)

set current selection (if possible). It returns true if the operation was succesful.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines