Public Member Functions | |
| uiComboBox (uiParent *, const char *nm) | |
| uiComboBox (uiParent *, const BufferStringSet &, const char *nm) | |
| uiComboBox (uiParent *, const char **, const char *nm) | |
| virtual | ~uiComboBox () |
| const char * | text () const |
| void | setText (const char *) |
| void | setEditText (const char *) |
| bool | isPresent (const char *) const |
| void | setEmpty () |
| int | size () const |
| bool | isEmpty () const |
| void | addItem (const wchar_t *) |
| virtual void | addItem (const char *) |
| void | addItems (const BufferStringSet &) |
| void | addSeparator () |
| void | insertItem (const char *, int index=-1) |
| void | insertItem (const ioPixmap &, const char *, int index=-1) |
| void | setPixmap (const ioPixmap &, int index) |
| void | getItemSize (int, int &h, int &w) const |
| int | currentItem () const |
| void | setCurrentItem (int) |
| void | setCurrentItem (const char *) |
| First match. | |
| const char * | textOfItem (int) const |
| void | setItemText (int, const char *) |
| int | indexOf (const char *) const |
| void | notifyHandler (bool selectionchanged) |
| virtual void | setReadOnly (bool=true) |
| virtual bool | isReadOnly () const |
| virtual bool | update_ (const DataInpSpec &spec) |
| bool | handleLongTabletPress () |
| void | popupVirtualKeyboard (int globalx=-1, int globaly=-1) |
| void | setToolTip (const char *tt) |
Public Attributes | |
| Notifier< uiComboBox > | editTextChanged |
| Notifier< uiComboBox > | selectionChanged |
| Triggered when selection has changed. | |
Protected Member Functions | |
| virtual void | setvalue_ (int i) |
| virtual int | getvalue_ () const |
| virtual bool | clear_ () |
| virtual bool | notifyUpdateRequested_ (const CallBack &) |
| virtual bool | notifyValueChanging_ (const CallBack &) |
| virtual bool | notifyValueChanged_ (const CallBack &cb) |
Private Member Functions | |
| uiComboBoxBody & | mkbody (uiParent *, const char *) |
Private Attributes | |
| int | oldnritems_ |
| int | oldcuritem_ |
| BufferString | rettxt_ |
| uiComboBoxBody * | body_ |
| uiComboBox::uiComboBox | ( | uiParent * | , | |
| const char * | nm | |||
| ) |
| uiComboBox::uiComboBox | ( | uiParent * | , | |
| const BufferStringSet & | , | |||
| const char * | nm | |||
| ) |
| uiComboBox::uiComboBox | ( | uiParent * | , | |
| const char ** | , | |||
| const char * | nm | |||
| ) |
| virtual uiComboBox::~uiComboBox | ( | ) | [virtual] |
| void uiComboBox::addItem | ( | const wchar_t * | ) |
| virtual void uiComboBox::addItem | ( | const char * | ) | [virtual] |
Reimplemented from UserInputObj.
| void uiComboBox::addItems | ( | const BufferStringSet & | ) |
| void uiComboBox::addSeparator | ( | ) |
| virtual bool uiComboBox::clear_ | ( | ) | [inline, protected, virtual] |
Reimplemented from UserInputObjImpl< int >.
| int uiComboBox::currentItem | ( | ) | const |
| void uiComboBox::getItemSize | ( | int | , | |
| int & | h, | |||
| int & | w | |||
| ) | const |
| virtual int uiComboBox::getvalue_ | ( | ) | const [inline, protected, virtual] |
Implements UserInputObjImpl< int >.
| bool uiComboBox::handleLongTabletPress | ( | ) |
| int uiComboBox::indexOf | ( | const char * | ) | const |
| void uiComboBox::insertItem | ( | const ioPixmap & | , | |
| const char * | , | |||
| int | index = -1 | |||
| ) |
| void uiComboBox::insertItem | ( | const char * | , | |
| int | index = -1 | |||
| ) |
| bool uiComboBox::isEmpty | ( | ) | const [inline] |
| bool uiComboBox::isPresent | ( | const char * | ) | const |
| virtual bool uiComboBox::isReadOnly | ( | ) | const [virtual] |
Implements UserInputObj.
| uiComboBoxBody& uiComboBox::mkbody | ( | uiParent * | , | |
| const char * | ||||
| ) | [private] |
| void uiComboBox::notifyHandler | ( | bool | selectionchanged | ) |
| virtual bool uiComboBox::notifyUpdateRequested_ | ( | const CallBack & | ) | [inline, protected, virtual] |
Implements UserInputObj.
| virtual bool uiComboBox::notifyValueChanged_ | ( | const CallBack & | cb | ) | [inline, protected, virtual] |
Implements UserInputObj.
| virtual bool uiComboBox::notifyValueChanging_ | ( | const CallBack & | ) | [inline, protected, virtual] |
Implements UserInputObj.
| void uiComboBox::popupVirtualKeyboard | ( | int | globalx = -1, |
|
| int | globaly = -1 | |||
| ) |
| void uiComboBox::setCurrentItem | ( | const char * | ) |
First match.
| void uiComboBox::setCurrentItem | ( | int | ) |
| void uiComboBox::setEditText | ( | const char * | ) |
| void uiComboBox::setEmpty | ( | ) |
| void uiComboBox::setItemText | ( | int | , | |
| const char * | ||||
| ) |
| void uiComboBox::setPixmap | ( | const ioPixmap & | , | |
| int | index | |||
| ) |
| virtual void uiComboBox::setReadOnly | ( | bool | = true |
) | [virtual] |
Implements UserInputObj.
| void uiComboBox::setText | ( | const char * | ) | [virtual] |
Reimplemented from UserInputObjImpl< int >.
| void uiComboBox::setToolTip | ( | const char * | tt | ) | [inline, virtual] |
Implements UserInputObj.
| virtual void uiComboBox::setvalue_ | ( | int | i | ) | [inline, protected, virtual] |
| int uiComboBox::size | ( | ) | const |
| const char* uiComboBox::text | ( | ) | const [virtual] |
This is the text that is actually in the current item. This text may differ from textOfItem(currentItem()) when the box is editable.
Reimplemented from UserInputObjImpl< int >.
| const char* uiComboBox::textOfItem | ( | int | ) | const |
| virtual bool uiComboBox::update_ | ( | const DataInpSpec & | spec | ) | [virtual] |
Implements UserInputObj.
uiComboBoxBody* uiComboBox::body_ [private] |
int uiComboBox::oldcuritem_ [private] |
int uiComboBox::oldnritems_ [private] |
BufferString uiComboBox::rettxt_ [mutable, private] |
Triggered when selection has changed.
1.7.1