OpendTect-6_4
6.4
|
Basic group for letting the user select an object. More...
Classes | |
class | Setup |
Public Member Functions | |
uiIOObjSelGrp (uiParent *, const IOObjContext &) | |
uiIOObjSelGrp (uiParent *, const IOObjContext &, const uiString &seltxt) | |
uiIOObjSelGrp (uiParent *, const IOObjContext &, const Setup &) | |
uiIOObjSelGrp (uiParent *, const IOObjContext &, const uiString &seltxt, const Setup &) | |
uiIOObjSelGrp (uiParent *, const CtxtIOObj &) | |
uiIOObjSelGrp (uiParent *, const CtxtIOObj &, const uiString &seltxt) | |
uiIOObjSelGrp (uiParent *, const CtxtIOObj &, const Setup &) | |
uiIOObjSelGrp (uiParent *, const CtxtIOObj &, const uiString &seltxt, const Setup &) | |
~uiIOObjSelGrp () | |
bool | isEmpty () const |
int | size () const |
bool | isMultiChoice () const |
int | currentItem () const |
MultiID | currentID () const |
int | nrChosen () const |
bool | isChosen (int) const |
const MultiID & | chosenID (int idx=0) const |
void | getChosen (TypeSet< MultiID > &) const |
void | getChosen (BufferStringSet &) const |
void | setCurrent (int) |
void | setCurrent (const MultiID &) |
void | setChosen (int, bool yn=true) |
void | setChosen (const TypeSet< MultiID > &) |
void | chooseAll (bool yn=true) |
bool | updateCtxtIOObj () |
mostly interesting for write More... | |
const CtxtIOObj & | getCtxtIOObj () const |
const IOObjContext & | getContext () const |
void | setContext (const IOObjContext &) |
void | setDefTranslator (const Translator *) |
uiGroup * | getTopGroup () |
uiGenInput * | getNameField () |
uiGenInput * | getFilterField () |
uiListBox * | getListField () |
uiIOObjManipGroup * | getManipGroup () |
const ObjectSet< MultiID > & | getIOObjIds () const |
void | setConfirmOverwrite (bool yn) |
void | setAskedToOverwrite (bool yn) |
bool | askedToOverwrite () const |
void | setSurveyDefaultSubsel (const char *subsel) |
virtual bool | fillPar (IOPar &) const |
virtual void | usePar (const IOPar &) |
void | fullUpdate (const MultiID &kpselected) |
void | fullUpdate (int) |
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< uiIOObjSelGrp > | selectionChanged |
Notifier< uiIOObjSelGrp > | itemChosen |
Notifier< uiIOObjSelGrp > | newStatusMsg |
Protected Member Functions | |
void | fillListBox () |
IOObj * | getIOObj (int) |
virtual bool | createEntry (const char *) |
IOObj * | updStatusBarInfo (bool) |
void | triggerStatusMsg (const char *) |
void | setInitial (CallBacker *) |
void | selChg (CallBacker *) |
void | choiceChg (CallBacker *) |
void | filtChg (CallBacker *) |
void | objInserted (CallBacker *) |
void | nameAvCB (CallBacker *) |
void | delPress (CallBacker *) |
void | makeDefaultCB (CallBacker *) |
void | readChoiceDone (CallBacker *) |
void | writeChoiceReq (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 | |
CtxtIOObj & | ctio_ |
Setup | setup_ |
ObjectSet< MultiID > | ioobjids_ |
BufferStringSet | ioobjnms_ |
BufferStringSet | dispnms_ |
BufferString | surveydefaultsubsel_ |
bool | asked2overwrite_ |
ObjectSet< const char > | iconnms_ |
uiListBox * | listfld_ |
uiGenInput * | nmfld_ |
uiGenInput * | filtfld_ |
uiIOObjSelGrpManipSubj * | manipgrpsubj |
uiIOObjSelWriteTranslator * | wrtrselfld_ |
uiToolButton * | mkdefbut_ |
uiListBoxChoiceIO * | lbchoiceio_ |
ObjectSet< uiButton > | insertbuts_ |
ObjectSet< uiIOObjInserter > | inserters_ |
uiGroup * | topgrp_ |
Protected Attributes inherited from uiGroup | |
uiGroupObj * | grpobj_ |
uiGroupParentBody * | body_ |
Private Member Functions | |
mODTextTranslationClass (uiIOObjSelGrp) | |
void | init (const uiString &st=uiString::emptyString()) |
void | mkTopFlds (const uiString &) |
void | mkWriteFlds () |
void | mkManipulators () |
void | newOutputNameCB (CallBacker *) |
Friends | |
class | uiIOObjSelDlg |
class | uiIOObjSelGrpManipSubj |
Additional Inherited Members | |
Static Public Member Functions inherited from uiGroup | |
static uiGroup * | gtDynamicCastToGrp (mQtclass(QWidget *)) |
Basic group for letting the user select an object.
For write, you always need to call updateCtxtIOObj(). as a new IOObj may need to be created. In any case, if you want to have the CtxtIOObj updated, updateCtxtIOObj() is required. Otherwise, this is not needed.
uiIOObjSelGrp::uiIOObjSelGrp | ( | uiParent * | , |
const IOObjContext & | |||
) |
uiIOObjSelGrp::uiIOObjSelGrp | ( | uiParent * | , |
const IOObjContext & | , | ||
const uiString & | seltxt | ||
) |
uiIOObjSelGrp::uiIOObjSelGrp | ( | uiParent * | , |
const IOObjContext & | , | ||
const Setup & | |||
) |
uiIOObjSelGrp::uiIOObjSelGrp | ( | uiParent * | , |
const IOObjContext & | , | ||
const uiString & | seltxt, | ||
const Setup & | |||
) |
uiIOObjSelGrp::uiIOObjSelGrp | ( | uiParent * | , |
const CtxtIOObj & | , | ||
const uiString & | seltxt, | ||
const Setup & | |||
) |
uiIOObjSelGrp::~uiIOObjSelGrp | ( | ) |
|
inline |
|
protected |
void uiIOObjSelGrp::chooseAll | ( | bool | yn = true | ) |
const MultiID& uiIOObjSelGrp::chosenID | ( | int | idx = 0 | ) | const |
|
protectedvirtual |
MultiID uiIOObjSelGrp::currentID | ( | ) | const |
int uiIOObjSelGrp::currentItem | ( | ) | const |
|
protected |
|
protected |
|
virtual |
|
protected |
void uiIOObjSelGrp::fullUpdate | ( | const MultiID & | kpselected | ) |
void uiIOObjSelGrp::fullUpdate | ( | int | ) |
void uiIOObjSelGrp::getChosen | ( | BufferStringSet & | ) | const |
const IOObjContext& uiIOObjSelGrp::getContext | ( | ) | const |
|
inline |
|
inline |
|
protected |
|
inline |
uiIOObjManipGroup* uiIOObjSelGrp::getManipGroup | ( | ) |
|
inline |
|
inline |
|
private |
bool uiIOObjSelGrp::isChosen | ( | int | ) | const |
bool uiIOObjSelGrp::isEmpty | ( | ) | const |
|
inline |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
int uiIOObjSelGrp::nrChosen | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
inline |
void uiIOObjSelGrp::setChosen | ( | int | , |
bool | yn = true |
||
) |
|
inline |
void uiIOObjSelGrp::setContext | ( | const IOObjContext & | ) |
void uiIOObjSelGrp::setCurrent | ( | int | ) |
void uiIOObjSelGrp::setCurrent | ( | const MultiID & | ) |
void uiIOObjSelGrp::setDefTranslator | ( | const Translator * | ) |
|
protected |
void uiIOObjSelGrp::setSurveyDefaultSubsel | ( | const char * | subsel | ) |
int uiIOObjSelGrp::size | ( | ) | const |
|
protected |
bool uiIOObjSelGrp::updateCtxtIOObj | ( | ) |
mostly interesting for write
|
protected |
|
virtual |
|
protected |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Notifier<uiIOObjSelGrp> uiIOObjSelGrp::itemChosen |
|
protected |
|
protected |
|
protected |
|
protected |
Notifier<uiIOObjSelGrp> uiIOObjSelGrp::newStatusMsg |
Triggers when there is a new message for statusbars and similar
|
protected |
Notifier<uiIOObjSelGrp> uiIOObjSelGrp::selectionChanged |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019