OpendTect-6_4
6.4
|
UI element for selection of data objects. More...
Classes | |
class | Setup |
Public Member Functions | |
uiIOSelect (uiParent *, const Setup &, const CallBack &) | |
~uiIOSelect () | |
void | addExtSelBut (uiButton *) |
bool | isEmpty () const |
const char * | getInput () const |
const char * | getKey () const |
void | setInput (const char *key) |
Will fetch user name using userNameFromKey. More... | |
void | setInputText (const char *) |
As if user typed it manually. More... | |
void | setEntries (const BufferStringSet &keys, const BufferStringSet &names) |
int | nrItems () const |
int | getCurrentItem () const |
void | setCurrentItem (int) |
const char * | getItem (int) const |
bool | isChecked () const |
only useful when optional_ More... | |
void | setChecked (bool yn) |
does something when optional_ More... | |
virtual void | updateHistory (IOPar &) const |
virtual void | getHistory (const IOPar &) |
void | addToHistory (const char *) |
void | addToHistory (const BufferStringSet &) |
virtual void | setEmpty () |
virtual void | processInput () |
void | setReadOnly (bool readonly=true) |
void | doSel (CallBacker *) |
const uiString & | labelText () const |
void | setLabelText (const uiString &) |
void | setLabelSelectable (bool yn=true) |
void | setHSzPol (uiObject::SzPolicy) |
uiComboBox * | inpBox () |
virtual uiObject * | endObj (bool left) |
Public Member Functions inherited from uiGroup | |
uiGroup (uiParent *, const char *nm="uiGroup", bool manage=true) | |
virtual | ~uiGroup () |
operator const uiGroupObj * () const | |
operator uiGroupObj * () | |
operator const uiObject & () const | |
operator uiObject & () | |
uiObject * | attachObj () |
const uiObject * | attachObj () const |
uiParent * | parent () |
const uiParent * | parent () const |
void | setHSpacing (int) |
void | setVSpacing (int) |
void | setSpacing (int s=0) |
void | setBorder (int) |
void | setFrame (bool yn=true) |
void | setNoBackGround () |
uiObject * | hAlignObj () |
void | setHAlignObj (uiObject *o) |
void | setHAlignObj (uiGroup *o) |
uiObject * | hCenterObj () |
void | setHCenterObj (uiObject *o) |
void | setHCenterObj (uiGroup *o) |
void | setIsMain (bool) |
internal use only. Tells the layout manager it's a toplevel mngr. More... | |
virtual uiMainWin * | mainwin () |
void | setChildrenSensitive (bool) |
virtual Notifier< uiBaseObject > & | preFinalise () |
virtual Notifier< uiBaseObject > & | postFinalise () |
virtual void | setSize (const uiSize &) |
Public Member Functions inherited from uiParent | |
uiParent (const char *nm, uiParentBody *) | |
void | addChild (uiBaseObject &) |
void | manageChld (uiBaseObject &, uiObjectBody &) |
void | attachChild (constraintType tp, uiObject *child, uiObject *other, int margin, bool reciprocal) |
const ObjectSet< uiBaseObject > * | childList () const |
uiObject * | mainObject () |
const uiObject * | mainObject () const |
uiParentBody * | pbody () |
const uiParentBody * | pbody () const |
void | attach (constraintType t, int margin=-1) |
void | attach (constraintType t, uiParent *oth, int margin=-1, bool reciprocal=true) |
void | attach (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true) |
virtual void | display (bool yn, bool shrk=false, bool maximize=false) |
bool | isDisplayed () const |
void | setFocus () |
bool | hasFocus () const |
void | setSensitive (bool yn=true) |
bool | sensitive () const |
const uiFont * | font () const |
void | setFont (const uiFont &f) |
void | setCaption (const uiString &c) |
void | setCursor (const MouseCursor &c) |
uiSize | actualsize (bool include_border) const |
int | prefHNrPics () const |
int | prefVNrPics () const |
void | setPrefHeight (int h) |
void | setPrefWidth (int w) |
void | setPrefHeightInChar (int h) |
void | setPrefHeightInChar (float h) |
void | setPrefWidthInChar (float w) |
void | setPrefWidthInChar (int w) |
virtual void | reDraw (bool deep) |
void | shallowRedraw (CallBacker *=0) |
void | deepRedraw (CallBacker *=0) |
void | setStretch (int h, int v) |
Color | backgroundColor () const |
Color | roBackgroundColor () const |
void | setBackgroundColor (const Color &c) |
void | translateText () |
Public Attributes | |
Notifier< uiIOSelect > | selectionDone |
Notifier< uiIOSelect > | optionalChecked |
Protected Member Functions | |
void | optCheck (CallBacker *) |
void | selDone (CallBacker *) |
virtual const char * | userNameFromKey (const char *s) const |
int | nrSpec () const |
void | checkState () const |
void | updateFromEntries () |
bool | haveEntry (const char *) const |
virtual void | objSel () |
notification when user selects from combo More... | |
void | doFinalise (CallBacker *) |
Protected Member Functions inherited from uiGroup | |
virtual uiObject * | mainobject () |
virtual void | attach_ (constraintType, uiObject *oth, int margin=-1, bool reciprocal=true) |
virtual void | reDraw_ (bool deep) |
void | setShrinkAllowed (bool) |
bool | shrinkAllowed () |
void | bodyDel (CallBacker *) |
void | uiobjDel (CallBacker *) |
void | setFrameStyle (int) |
void | reSizeChildren (const uiObject *, float, float) |
Protected Attributes | |
BufferStringSet | entries_ |
bool | haveempty_ |
bool | selok_ |
bool | keepmytxt_ |
CallBack | doselcb_ |
uiComboBox * | inp_ |
uiButton * | selbut_ |
ObjectSet< uiButton > | extselbuts_ |
uiLabel * | lbl_ |
uiCheckBox * | optbox_ |
Protected Attributes inherited from uiGroup | |
uiGroupObj * | grpobj_ |
uiGroupParentBody * | body_ |
Private Member Functions | |
mODTextTranslationClass (uiIOSelect) | |
Additional Inherited Members | |
Static Public Member Functions inherited from uiGroup | |
static uiGroup * | gtDynamicCastToGrp (mQtclass(QWidget *)) |
UI element for selection of data objects.
uiIOSelect::~uiIOSelect | ( | ) |
void uiIOSelect::addExtSelBut | ( | uiButton * | ) |
void uiIOSelect::addToHistory | ( | const char * | ) |
void uiIOSelect::addToHistory | ( | const BufferStringSet & | ) |
|
protected |
|
protected |
void uiIOSelect::doSel | ( | CallBacker * | ) |
Called by Select button push. Make sure selok_ is true if that is the case!
|
virtual |
Reimplemented in uiIOObjSel.
int uiIOSelect::getCurrentItem | ( | ) | const |
const char* uiIOSelect::getInput | ( | ) | const |
const char* uiIOSelect::getItem | ( | int | ) | const |
const char* uiIOSelect::getKey | ( | ) | const |
|
protected |
|
inline |
bool uiIOSelect::isChecked | ( | ) | const |
only useful when optional_
bool uiIOSelect::isEmpty | ( | ) | const |
const uiString& uiIOSelect::labelText | ( | ) | const |
|
private |
int uiIOSelect::nrItems | ( | ) | const |
|
protected |
|
inlineprotectedvirtual |
notification when user selects from combo
Reimplemented in uiIOObjSel.
|
protected |
|
inlinevirtual |
Reimplemented in uiAttrSel, uiIOObjSel, and uiSeisSel.
|
protected |
Subclass must call it - base class can't determine whether a selection was successful.
void uiIOSelect::setChecked | ( | bool | yn | ) |
does something when optional_
void uiIOSelect::setCurrentItem | ( | int | ) |
|
virtual |
Reimplemented in uiIOObjSel.
void uiIOSelect::setEntries | ( | const BufferStringSet & | keys, |
const BufferStringSet & | names | ||
) |
void uiIOSelect::setHSzPol | ( | uiObject::SzPolicy | ) |
void uiIOSelect::setInput | ( | const char * | key | ) |
Will fetch user name using userNameFromKey.
void uiIOSelect::setInputText | ( | const char * | ) |
As if user typed it manually.
void uiIOSelect::setLabelSelectable | ( | bool | yn = true | ) |
void uiIOSelect::setLabelText | ( | const uiString & | ) |
void uiIOSelect::setReadOnly | ( | bool | readonly = true | ) |
|
protected |
|
virtual |
|
inlineprotectedvirtual |
If 0 returned, then if possible, that entry is not entered in the entries_.
Reimplemented in uiAttrSel, uiIOObjSel, and uiSeisSel.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Notifier<uiIOSelect> uiIOSelect::optionalChecked |
|
protected |
Notifier<uiIOSelect> uiIOSelect::selectionDone |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019