Go to the documentation of this file.
   23 #ifndef QDS_COMBOBOX_H 
   24 #define QDS_COMBOBOX_H 
   30 #include <QStringList> 
   37 #pragma warning( disable:4251 ) 
   48   bool                       editable() 
const;
 
   49   void                       setEditable( 
const bool );
 
   51   int                        count( 
bool = 
false ) 
const;
 
   52   void                       values( 
QList<int>&, 
bool = 
false ) 
const;
 
   59   bool                       state( 
const int ) 
const;
 
   60   void                       setState( 
const bool, 
const int, 
const bool = 
true );
 
   61   void                       setState( 
const bool, 
const QList<int>&, 
const bool = 
true );
 
   62   void                       setValues( 
const QList<int>&, 
const QStringList& );
 
   63   void                       setValues( 
const QStringList& );
 
   69   int                        stringToValue( 
const QString& ) 
const;
 
   70   QString                    valueToString( 
const int ) 
const;
 
   73   void                       activated( 
int );
 
   74   void                       activated( 
const QString& );
 
   77   virtual void               onActivated( 
int );
 
   78   virtual void               onTextChanged( 
const QString& );
 
   89   int                        getId( 
const int ) 
const;
 
   90   int                        getId( 
const QString& ) 
const;
 
   91   int                        getIndex( 
const int ) 
const;
 
   92   int                        getIndex( 
const QString& ) 
const;
 
   94   void                       updateComboBox();
 
  114 #pragma warning( default:4251 )