|
| uiComboBox (uiParent *, const BufferStringSet &, const char *nm) |
|
| uiComboBox (uiParent *, const char **, const char *nm) |
|
| uiComboBox (uiParent *, const char *nm) |
|
| uiComboBox (uiParent *, const EnumDef &, const char *nm) |
|
| uiComboBox (uiParent *, const uiString *, const char *nm) |
|
| uiComboBox (uiParent *, const uiStringSet &, const char *nm) |
|
virtual | ~uiComboBox () |
|
void | addItem (const char *s) |
|
virtual void | addItem (const uiString &) |
|
void | addItem (const uiString &, int id) |
|
void | addItems (const BufferStringSet &) |
|
void | addItems (const char *arr[]) |
|
void | addItems (const uiStringSet &) |
|
void | addSeparator () |
|
int | currentItem () const |
|
int | currentItemID () const |
|
int | getItemID (int index) const |
|
int | getItemIndex (int id) const |
|
void | getItems (BufferStringSet &) const |
|
void | getItemSize (int, int &h, int &w) const |
|
bool | handleLongTabletPress () |
|
int | indexOf (const char *) const |
|
void | insertItem (const char *str, int index=-1, int id=-1) |
|
void | insertItem (const uiPixmap &, const uiString &, int index=-1, int id=-1) |
|
void | insertItem (const uiPixmap &pm, const char *str, int index=-1, int id=-1) |
|
void | insertItem (const uiString &, int index=-1, int id=-1) |
|
bool | isEditable () const |
|
bool | isEmpty () const |
|
bool | isPresent (const char *) const |
|
virtual bool | isReadOnly () const |
|
void | notifyHandler (bool selectionchanged) |
|
void | popupVirtualKeyboard (int globalx=-1, int globaly=-1) |
|
void | setColorIcon (int index, const Color &) |
|
void | setCurrentItem (const char *) |
| First match. More...
|
|
void | setCurrentItem (const FixedString &fs) |
|
void | setCurrentItem (int) |
|
void | setEditable (bool yn) |
|
void | setEmpty () |
|
void | setIcon (int index, const char *icon_identifier) |
|
void | setItemID (int index, int id) |
|
void | setItemText (int, const uiString &) |
|
void | setPixmap (int index, const uiPixmap &) |
|
virtual void | setReadOnly (bool yn=true) |
|
void | setText (const char *) |
|
void | setToolTip (const uiString &tt) |
|
void | setToolTips (const uiStringSet &) |
|
void | setValidator (const BufferString ®ex) |
|
int | size () const |
|
const char * | text () const |
|
const char * | textOfItem (int) const |
|
virtual bool | update_ (const DataInpSpec &spec) |
|
| ~uiObject () |
|
uiSize | actualsize (bool inclborder=true) const |
|
uiSize | actualSize (bool include_border=true) const |
|
void | attach (constraintType, int margin=-1) |
| attaches object to another In case the stretched... options are used, margin=-1 (default) stretches the object not to cross the border. margin=-2 stretches the object to fill the parent's border. This looks nice with separators. More...
|
|
void | attach (constraintType, uiObject *, int margin=-1, bool reciprocal=true) |
|
void | attach (constraintType, uiParent *, int margin=-1, bool reciprocal=true) |
|
virtual Color | backgroundColor () const |
|
virtual const ObjectSet< uiBaseObject > * | childList () const |
|
void | close () |
|
void | deepRedraw (CallBacker *=0) |
|
void | disabFocus () |
|
void | display (bool yn, bool shrink=false, bool maximized=false) |
|
const uiFont * | font () const |
|
QWidget * | getWidget () |
|
bool | hasFocus () const |
|
virtual int | height () const |
| Actual size in pixels. More...
|
|
bool | isCursorInside () const |
|
bool | isDisplayed () const |
|
bool | isSensitive () const |
|
uiMainWin * | mainwin () |
|
uiParent * | parent () |
|
const uiParent * | parent () const |
|
int | prefHNrPics () const |
|
int | prefVNrPics () const |
|
QWidget * | qwidget () |
|
const QWidget * | qwidget () const |
|
void | reDraw (bool deep) |
|
void | reParent (uiParent *) |
|
Color | roBackgroundColor () const |
|
bool | sensitive () const |
|
virtual void | setBackgroundColor (const Color &) |
|
virtual void | setBackgroundPixmap (const uiPixmap &) |
|
void | setCaption (const uiString &) |
|
virtual void | setCursor (const MouseCursor &) |
|
void | setFocus () |
|
void | setFont (const uiFont &) |
|
void | setHSzPol (SzPolicy) |
|
void | setMaximumHeight (int) |
|
void | setMaximumHeightInChar (int) |
|
void | setMaximumWidth (int) |
|
void | setMaximumWidthInChar (int) |
|
void | setMinimumHeight (int) |
|
void | setMinimumHeightInChar (int) |
|
void | setMinimumWidth (int) |
|
void | setMinimumWidthInChar (int) |
|
virtual void | setName (const char *) |
|
virtual void | setPrefHeight (int) |
|
void | setPrefHeightInChar (float) |
|
void | setPrefHeightInChar (int) |
|
virtual void | setPrefWidth (int) |
|
void | setPrefWidthInChar (float) |
|
void | setPrefWidthInChar (int) |
|
void | setSensitive (bool yn=true) |
|
void | setStretch (int hor, int ver) |
| Sets stretch factors for object If stretch factor is > 1, then object will already grow at pop-up. More...
|
|
virtual void | setStyleSheet (const char *) |
|
virtual void | setTextColor (const Color &) |
|
void | setToolTip (const char *txt) |
|
void | setToolTip (const uiString &) |
|
void | setVSzPol (SzPolicy) |
|
void | shallowRedraw (CallBacker *=0) |
|
int | stretch (bool hor) const |
|
SzPolicy | szPol (bool hor=true) const |
|
const uiString & | toolTip () const |
|
void | translateText () |
|
bool | visible () const |
|
virtual int | width () const |
| Actual size in pixels. More...
|
|
| uiBaseObject (const char *nm, uiBody *=0) |
|
virtual | ~uiBaseObject () |
|
int | beginCmdRecEvent (const char *msg=0) |
|
int | beginCmdRecEvent (od_uint64 id, const char *msg=0) |
|
uiBody * | body () |
|
const uiBody * | body () const |
|
void | clear () |
|
void | endCmdRecEvent (int refnr, const char *msg=0) |
|
void | endCmdRecEvent (od_uint64 id, int refnr, const char *msg=0) |
|
void | finalise () |
|
bool | finalised () const |
|
const QWidget * | getWidget () const |
|
virtual Notifier< uiBaseObject > & | postFinalise () |
|
virtual Notifier< uiBaseObject > & | preFinalise () |
|
| NamedCallBacker (const char *nm=0) |
|
| NamedCallBacker (const NamedCallBacker &) |
|
virtual Notifier< NamedCallBacker > & | objectToBeDeleted () const |
|
bool | operator== (const NamedCallBacker &oth) const |
|
bool | operator== (const NamedObject &oth) const |
|
| CallBacker () |
|
| CallBacker (const CallBacker &) |
|
virtual | ~CallBacker () |
|
bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
|
bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
|
void | detachAllNotifiers () const |
| Call from the destructor of your inherited object. More...
|
|
void | detachCB (const NotifierAccess &, const CallBack &) const |
|
void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
|
virtual bool | isCapsule () const |
|
bool | isNotifierAttached (const NotifierAccess *) const |
| Only for debugging purposes, don't use. More...
|
|
void | stopReceivingNotifications () const |
|
| NamedObject (const char *nm=nullptr) |
|
| NamedObject (const NamedObject &oth) |
|
virtual | ~NamedObject () |
|
virtual BufferString | getName () const |
|
bool | getNameFromPar (const IOPar &) |
|
virtual const name_type & | name () const |
|
NamedObject & | operator= (const NamedObject &) |
|
bool | operator== (const NamedObject &oth) const |
|
virtual | ~ObjectWithName () |
|
bool | hasName (const char *nm) const |
|
bool | hasName (const name_type &nm) const |
|
void | putNameInPar (IOPar &) const |
|
virtual bool | getBoolValue () const |
|
virtual double | getDValue () const |
|
virtual float | getFValue () const |
|
virtual od_int64 | getInt64Value () const |
|
virtual int | getIntValue () const |
|
void | setEmpty () |
|
virtual void | setValue (bool b) |
|
virtual void | setValue (const char *s) |
|
virtual void | setValue (double d) |
|
virtual void | setValue (float f) |
|
virtual void | setValue (int i) |
|
virtual void | setValue (od_int64 i) |
|
| UserInputObj () |
|
virtual | ~UserInputObj () |
|
double | getdValue () const |
|
float | getfValue () const |
|
bool | notifyUpdateRequested (const CallBack &cb) |
|
bool | notifyValueChanged (const CallBack &cb) |
| value change complete cq. commited More...
|
|
bool | notifyValueChanging (const CallBack &cb) |
| intermediate value available More...
|
|
bool | update (const DataInpSpec &s) |
| return false if not updated for whatever reason. More...
|
|
Combo box.
The user can select an item from a drop-down list. Sometimes, you can allow the user entering a new string there, use setReadOnly(false). In that case the result of text() can be different from textOfItem(currentItem()). Also, setText will do something is if the given string is not in the list.
<>