
Public Member Functions | |
| QGuiDropDownList (const TGWindow *parent) | |
| ctor | |
| virtual | ~QGuiDropDownList () |
| dtor | |
| void | SetList (const std::vector< std::string > &items) |
| set list of items to be shown in this widget | |
| Bool_t | Allowed (const std::string &entry) |
| check whether the requested entry is allowed | |
| Bool_t | SetSelected (const std::string &entry) |
| set current selection | |
| const std::string & | GetSelected () const |
| void | ValueChanged () |
| void | Lock (Bool_t doLock) |
Private Attributes | |
| TGComboBox * | fCombo |
| std::vector< std::string > | fItems |
| Bool_t QGuiDropDownList::Allowed | ( | const std::string & | entry | ) |
check whether the requested entry is allowed
| entry | string containing the entry to be checked |
References fItems.
Referenced by SetSelected().
| Bool_t QGuiDropDownList::SetSelected | ( | const std::string & | entry | ) |
set current selection
| entry | string corresponding to the selection to be displayed |
References Allowed(), and fItems.
Referenced by QGEBiasFrame::SetBias(), SetList(), and QGERLoadFrame::SetSelected().
std::vector<std::string> QGuiDropDownList::fItems [private] |
vector of items allowed in this widget
Referenced by Allowed(), SetList(), and SetSelected().
1.5.6