![]() |
OpendTect-6_4
6.4
|
User Interface (UI) element for selection of Attributes from an attribute set. More...
Classes | |
class | Setup |
Public Member Functions | |
uiAttrSelDlg (uiParent *, const uiAttrSelData &, const Setup &) | |
uiAttrSelDlg (uiParent *, const uiAttrSelData &, const TypeSet< DataPack::FullID > &, const Setup &) | |
~uiAttrSelDlg () | |
Attrib::DescID | attribID () const |
-1 if not selected More... | |
int | outputNr () const |
-1 if not selected More... | |
int | compNr () const |
-1 if not selected More... | |
const char * | zDomainKey () const |
bool | is2D () const |
const Attrib::DescSet & | getAttrSet () const |
int | selType () const |
void | fillSelSpec (Attrib::SelSpec &) const |
![]() | |
uiDialog (uiParent *, const Setup &) | |
const Setup & | setup () const |
int | go () |
int | goMinimized () |
void | reject (CallBacker *cb=0) |
void | accept (CallBacker *cb=0) |
void | done (int ret=0) |
0=Cancel, 1=OK, other=user defined More... | |
void | setHSpacing (int) |
void | setVSpacing (int) |
void | setBorder (int) |
void | setModal (bool yn) |
bool | isModal () const |
uiButton * | button (Button but) |
void | setButtonText (Button but, const uiString &txt) |
void | setCtrlStyle (CtrlStyle) |
On construction, it's (of course) OkAndCancel. More... | |
CtrlStyle | getCtrlStyle () const |
OK button disabled when set to CloseOnly. More... | |
void | setOkCancelText (const uiString &ok, const uiString &cnl) |
void | setOkText (const uiString &) |
void | setCancelText (const uiString &) |
Cancel button disabled when set to empty. More... | |
void | enableSaveButton (const uiString &txt=uiStrings::sSaveAsDefault()) |
Save button enabled when set to non-empty. More... | |
int | uiResult () const |
0: cancel; 1: OK More... | |
void | setButtonSensitive (Button, bool) |
void | setSaveButtonChecked (bool) |
void | setTitleText (const uiString &txt) |
bool | hasSaveButton () const |
bool | saveButtonChecked () const |
void | setSeparator (bool yn) |
Separator between central dialog and OK/Cancel bar? More... | |
bool | separator () const |
void | setHelpKey (const HelpKey &) |
virtual HelpKey | helpKey () const |
void | showMinMaxButtons () |
void | showAlwaysOnTop () |
![]() | |
uiMainWin (uiParent *, const uiMainWin::Setup &) | |
uiMainWin (uiParent *, const uiString &caption=uiString::emptyString(), int nrstatusflds=1, bool withmenubar=true, bool modal=false) | |
virtual | ~uiMainWin () |
uiStatusBar * | statusBar () |
uiMenuBar * | menuBar () |
void | setCaption (const uiString &) |
const uiString & | caption (bool unique=false) const |
void | setIcon (const uiPixmap &) |
Default icon is set in uiMain. More... | |
void | setIconText (const uiString &) |
virtual void | show () |
void | close () |
void | raise () |
void | showMaximized () |
void | showMinimized () |
void | showNormal () |
bool | isMaximized () const |
bool | isMinimized () const |
bool | isHidden () const |
bool | isModal () const |
void | setSensitive (bool yn) |
void | toStatusBar (const uiString &, int fldidx=0, int msecs=-1) |
virtual void | reDraw (bool deep) |
uiGroup * | topGroup () |
void | setShrinkAllowed (bool yn) |
bool | shrinkAllowed () |
void | setExitAppOnClose (bool yn) |
automatically set by uiMain::setTopLevel More... | |
void | setDeleteOnClose (bool yn) |
void | removeDockWindow (uiDockWin *) |
void | addDockWindow (uiDockWin &, Dock) |
void | addToolBar (uiToolBar *) |
uiToolBar * | findToolBar (const char *) |
uiToolBar * | removeToolBar (uiToolBar *) |
void | addToolBarBreak () |
uiMenu & | getToolbarsMenu () const |
const ObjectSet< uiToolBar > & | toolBars () const |
const ObjectSet< uiDockWin > & | dockWins () const |
void | setPopupArea (PopupArea pa) |
PopupArea | getPopupArea () const |
void | setCornerPos (int x, int y) |
uiRect | geometry (bool frame=true) const |
Position of top-left corner in screen pixel coords. More... | |
bool | poppedUp () const |
bool | touch () |
resets pop-up timer if !poppedUp yet More... | |
bool | finalised () const |
virtual uiMainWin * | mainwin () |
mQtclass (QWidget *) qWidget() const | |
uiParent * | parent () |
const uiParent * | parent () const |
void | translateText () |
bool | grab (const char *filenm, int zoom=1, const char *format=0, int quality=-1) const |
void | activateInGUIThread (const CallBack &, bool busywait=true) |
void | saveImage (const char *fnm, int w, int h, int res) |
void | saveAsPDF (const char *fnm, int w, int h, int res) |
void | saveAsPS (const char *fnm, int w, int h, int res) |
void | copyToClipBoard () |
void | runScript (const char *filename) |
const char * | getScriptToRun () const |
![]() | |
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) |
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 () |
Protected Member Functions | |
void | initAndBuild (const uiString &, Attrib::DescID, bool) |
void | createSelectionButtons () |
void | createSelectionFields () |
bool | getAttrData (bool) |
void | replaceStoredByInMem () |
void | doFinalise (CallBacker *) |
void | selDone (CallBacker *) |
void | filtChg (CallBacker *) |
void | cubeSel (CallBacker *) |
void | objInserted (CallBacker *) |
virtual bool | acceptOK (CallBacker *) |
confirm accept More... | |
![]() | |
virtual bool | rejectOK (CallBacker *) |
confirm reject More... | |
virtual bool | doneOK (int) |
confirm exit More... | |
![]() | |
virtual bool | closeOK () |
confirm window close More... | |
uiMainWin (uiString, uiParent *) | |
uiObject * | mainobject () |
void | saveSettings () |
void | readSettings () |
void | saveAsPDF_PS (const char *fnm, bool aspdf, int w, int h, int res) |
void | copyToClipBoardCB (CallBacker *) |
void | aftPopupCB (CallBacker *) |
void | languageChangeCB (CallBacker *) |
void | setForceFinalise (bool) |
void | updateCaption () |
![]() | |
virtual void | attach_ (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true) |
Protected Attributes | |
uiAttrSelData | attrdata_ |
Attrib::SelInfo * | attrinf_ |
bool | usedasinput_ |
bool | in_action_ |
bool | showsteerdata_ |
BufferString | zdomainkey_ |
Pos::GeomID | geomid_ |
TypeSet< DataPack::FullID > | dpfids_ |
MultiID | insertedobjmid_ |
uiButtonGroup * | selgrp_ |
uiRadioButton * | storfld_ |
uiRadioButton * | steerfld_ |
uiRadioButton * | attrfld_ |
uiRadioButton * | nlafld_ |
uiRadioButton * | zdomainfld_ |
uiListBox * | storoutfld_ |
uiListBox * | steeroutfld_ |
uiListBox * | attroutfld_ |
uiListBox * | nlaoutfld_ |
uiListBox * | zdomoutfld_ |
uiGenInput * | filtfld_ |
uiGenInput * | attr2dfld_ |
uiLabeledComboBox * | compfld_ |
ObjectSet< uiIOObjInserter > | inserters_ |
ObjectSet< uiButton > | extselbuts_ |
![]() | |
bool | cancelpushed_ |
CtrlStyle | ctrlstyle_ |
![]() | |
uiMainWinBody * | body_ |
uiParent * | parent_ |
Timer * | afterpopuptimer_ |
PopupArea | popuparea_ |
uiString | caption_ |
uiString | uniquecaption_ |
int | languagechangecount_ |
BufferString | scripttorun_ |
Private Member Functions | |
mODTextTranslationClass (uiAttrSelDlg) | |
Additional Inherited Members | |
![]() | |
enum | Button { OK, CANCEL, APPLY, HELP, CREDITS, SAVE } |
enum | CtrlStyle { OkAndCancel, RunAndClose, CloseOnly } |
![]() | |
enum | Dock { Top, Bottom, Right, Left, Minimized, TornOff, Unmanaged } |
Dock Selector. More... | |
enum | PopupArea { TopLeft, TopRight, BottomLeft, BottomRight, Middle, Auto } |
enum | ActModalTyp { None =0, Main, Message, File, Colour, Font, Unknown } |
![]() | |
static int | titlePos () |
static void | setTitlePos (int pos) |
![]() | |
static uiMainWin * | activeWindow () |
static uiMainWin * | gtUiWinIfIsBdy (mQtclass(QWidget *) mwimpl) |
get uiMainWin for mwimpl if it is a uiMainWinBody More... | |
static ActModalTyp | activeModalType () |
static uiMainWin * | activeModalWindow () |
static const char * | activeModalQDlgTitle () |
static const char * | activeModalQDlgButTxt (int butnr) |
static int | activeModalQDlgRetVal (int butnr) |
static void | closeActiveModalQDlg (int retval) |
static void | getModalSignatures (BufferStringSet &) |
static void | getTopLevelWindows (ObjectSet< uiMainWin > &, bool visibleonly=true) |
static uiString | uniqueWinTitle (const uiString &, mQtclass(QWidget *) forwindow=0, BufferString *addendum=0) |
static bool | grabScreen (const char *filenm, const char *format=0, int quality=-1, int screen=0) |
static void | programActiveWindow (uiMainWin *) |
static uiMainWin * | programmedActiveWindow () |
![]() | |
Notifier< uiDialog > | applyPushed |
![]() | |
Notifier< uiMainWin > | windowClosed |
triggered when window exits More... | |
Notifier< uiMainWin > | activatedone |
Notifier< uiMainWin > | ctrlCPressed |
Notifier< uiMainWin > | afterPopup |
Notifier< uiMainWin > | runScriptRequest |
![]() | |
static int | titlepos_ |
User Interface (UI) element for selection of Attributes from an attribute set.
This dialog gets an attribute ID from the set. It can be used to select an attribute or NLA output. When it is used to select the input for another attribute, you'll need to specify the attrib ID of that attribute as 'ignoreid'. Because stored cubes can also be considered attributes, the user can also select any cube, which is then automatically added to the set.
uiAttrSelDlg::uiAttrSelDlg | ( | uiParent * | , |
const uiAttrSelData & | , | ||
const Setup & | |||
) |
uiAttrSelDlg::uiAttrSelDlg | ( | uiParent * | , |
const uiAttrSelData & | , | ||
const TypeSet< DataPack::FullID > & | , | ||
const Setup & | |||
) |
uiAttrSelDlg::~uiAttrSelDlg | ( | ) |
|
protectedvirtual |
confirm accept
Reimplemented from uiDialog.
|
inline |
-1 if not selected
|
inline |
-1 if not selected
|
protected |
|
protected |
|
protected |
|
protected |
void uiAttrSelDlg::fillSelSpec | ( | Attrib::SelSpec & | ) | const |
|
protected |
|
protected |
|
inline |
|
protected |
|
inline |
|
private |
|
protected |
|
inline |
-1 if not selected
|
protected |
|
protected |
int uiAttrSelDlg::selType | ( | ) | const |
const char* uiAttrSelDlg::zDomainKey | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at 12/02/2019 10:56:55 for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019