OpendTect-6_4  6.4
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | List of all members
uiAttribDescSetEd Class Reference

Editor for Attribute sets. More...

Inheritance diagram for uiAttribDescSetEd:
[legend]

Public Member Functions

 uiAttribDescSetEd (uiParent *, Attrib::DescSetMan *adsm, const char *prefgrp=0, bool attrsneedupdt=false)
 
 ~uiAttribDescSetEd ()
 
void setZDomainInfo (const ZDomain::Info &)
 
const ZDomain::InfogetZDomainInfo () const
 
void setDescSetMan (Attrib::DescSetMan *)
 
Attrib::DescSetgetSet ()
 
const MultiIDcurSetID () const
 
uiAttrDescEdcurDescEd ()
 Use during operation only! More...
 
Attrib::DesccurDesc () const
 Use during operation only! More...
 
int curDescNr () const
 Use during operation only! More...
 
void updateCurDescEd ()
 
bool is2D () const
 
void setSelAttr (const char *attrnm)
 
void loadDefaultAttrSet (const char *attribsetnm)
 
void setSensitive (bool)
 
bool getUiAttribParamGrps (uiParent *, ObjectSet< AttribParamGroup > &, BufferStringSet &paramnms, TypeSet< BufferStringSet > &usernms)
 Get curDesc() parameter grps and param-usernms info! More...
 
void updtAllEntries ()
 
- Public Member Functions inherited from uiDialog
 uiDialog (uiParent *, const Setup &)
 
const Setupsetup () 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 ()
 
- Public Member Functions inherited from uiMainWin
 uiMainWin (uiParent *, const uiMainWin::Setup &)
 
 uiMainWin (uiParent *, const uiString &caption=uiString::emptyString(), int nrstatusflds=1, bool withmenubar=true, bool modal=false)
 
virtual ~uiMainWin ()
 
uiStatusBarstatusBar ()
 
uiMenuBar * menuBar ()
 
void setCaption (const uiString &)
 
const uiStringcaption (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)
 
uiGrouptopGroup ()
 
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 *)
 
uiToolBarfindToolBar (const char *)
 
uiToolBarremoveToolBar (uiToolBar *)
 
void addToolBarBreak ()
 
uiMenugetToolbarsMenu () 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 uiMainWinmainwin ()
 
 mQtclass (QWidget *) qWidget() const
 
uiParentparent ()
 
const uiParentparent () 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
 
- 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
 
uiObjectmainObject ()
 
const uiObjectmainObject () const
 
uiParentBodypbody ()
 
const uiParentBodypbody () 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 uiFontfont () 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 ()
 

Public Attributes

Notifier< uiAttribDescSetEddirshowcb
 
Notifier< uiAttribDescSetEdevalattrcb
 
Notifier< uiAttribDescSetEdcrossevalattrcb
 
Notifier< uiAttribDescSetEdxplotcb
 
Notifier< uiAttribDescSetEdapplycb
 
- Public Attributes inherited from uiDialog
Notifier< uiDialogapplyPushed
 
- Public Attributes inherited from uiMainWin
Notifier< uiMainWinwindowClosed
 triggered when window exits More...
 
Notifier< uiMainWinactivatedone
 
Notifier< uiMainWinctrlCPressed
 
Notifier< uiMainWinafterPopup
 
Notifier< uiMainWinrunScriptRequest
 

Static Public Attributes

static const char * sKeyUseAutoAttrSet
 
static const char * sKeyAuto2DAttrSetID
 
static const char * sKeyAuto3DAttrSetID
 

Protected Member Functions

void attrTypSel (CallBacker *)
 
void selChg (CallBacker *)
 
void revPush (CallBacker *)
 
void addPush (CallBacker *)
 
void rmPush (CallBacker *)
 
void moveUpDownCB (CallBacker *)
 
void sortPush (CallBacker *)
 
void helpButPush (CallBacker *)
 
void autoSet (CallBacker *)
 
void newSet (CallBacker *)
 
void openSet (CallBacker *)
 
void openAttribSet (const IOObj *)
 
void savePush (CallBacker *)
 
void saveAsPush (CallBacker *)
 
void changeInput (CallBacker *)
 
void defaultSet (CallBacker *)
 
void getDefaultAttribsets (BufferStringSet &, BufferStringSet &)
 
void importSet (CallBacker *)
 
void importFile (CallBacker *)
 
void importFromSeis (CallBacker *)
 
void job2Set (CallBacker *)
 
void crossPlot (CallBacker *)
 
void directShow (CallBacker *)
 
void procAttribute (CallBacker *)
 
void evalAttribute (CallBacker *)
 
void crossEvalAttrs (CallBacker *)
 
void importFromFile (const char *)
 
void dotPathCB (CallBacker *)
 
void exportToDotCB (CallBacker *)
 
void showMatrix (CallBacker *)
 
void setButStates ()
 
bool offerSetSave ()
 
bool doSave (bool)
 
void replaceStoredAttr ()
 
void replaceStoredAttr (IOPar &)
 
void removeNotUsedAttr ()
 
bool acceptOK (CallBacker *)
 confirm accept More...
 
bool rejectOK (CallBacker *)
 confirm reject More...
 
void newList (int)
 
void updateFields (bool settype=true)
 
bool doCommit (bool prevdesc=false)
 
bool doAcceptInputs ()
 
void handleSensitivity ()
 
void updateUserRefs ()
 
bool validName (const char *) const
 
bool setUserRef (Attrib::Desc *)
 
void updateAttrName ()
 
bool doSetIO (bool)
 
Attrib::DesccreateAttribDesc (bool checkuref=true)
 
void createMenuBar ()
 
void createToolBar ()
 
void createGroups ()
 
void init ()
 
- Protected Member Functions inherited from uiDialog
virtual bool doneOK (int)
 confirm exit More...
 
- Protected Member Functions inherited from uiMainWin
virtual bool closeOK ()
 confirm window close More...
 
 uiMainWin (uiString, uiParent *)
 
uiObjectmainobject ()
 
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 ()
 
- Protected Member Functions inherited from uiParent
virtual void attach_ (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true)
 

Protected Attributes

Attrib::DescSetManinoutadsman_
 
Attrib::DescSetManadsman_
 
Attrib::DescSetattrset_
 
Attrib::Descprevdesc_
 
MultiID setid_
 
ObjectSet< uiAttrDescEddesceds_
 
ObjectSet< Attrib::Descattrdescs_
 
BufferStringSetuserattrnames_
 
CtxtIOObjsetctio_
 
MultiID cancelsetid_
 
bool updating_fields_
 
bool attrsneedupdt_
 
ZDomain::Infozdomaininfo_
 
uiToolBartoolbar_
 
uiListBoxattrlistfld_
 
uiAttrTypeSelattrtypefld_
 
uiPushButtonaddbut_
 
uiToolButtondispbut_
 
uiGenInputattrnmfld_
 
uiGenInputattrsetfld_
 
uiToolButtonhelpbut_
 
uiToolButtonmoveupbut_
 
uiToolButtonmovedownbut_
 
uiToolButtonsortbut_
 
uiToolButtonrmbut_
 
- Protected Attributes inherited from uiDialog
bool cancelpushed_
 
CtrlStyle ctrlstyle_
 
- Protected Attributes inherited from uiMainWin
uiMainWinBodybody_
 
uiParentparent_
 
Timerafterpopuptimer_
 
PopupArea popuparea_
 
uiString caption_
 
uiString uniquecaption_
 
int languagechangecount_
 
BufferString scripttorun_
 

Static Protected Attributes

static BufferString nmprefgrp_
 
- Static Protected Attributes inherited from uiDialog
static int titlepos_
 

Private Member Functions

 mODTextTranslationClass (uiAttribDescSetEd)
 

Additional Inherited Members

- Public Types inherited from uiDialog
enum  Button {
  OK, CANCEL, APPLY, HELP,
  CREDITS, SAVE
}
 
enum  CtrlStyle { OkAndCancel, RunAndClose, CloseOnly }
 
- Public Types inherited from uiMainWin
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 Public Member Functions inherited from uiDialog
static int titlePos ()
 
static void setTitlePos (int pos)
 
- Static Public Member Functions inherited from uiMainWin
static uiMainWinactiveWindow ()
 
static uiMainWingtUiWinIfIsBdy (mQtclass(QWidget *) mwimpl)
 get uiMainWin for mwimpl if it is a uiMainWinBody More...
 
static ActModalTyp activeModalType ()
 
static uiMainWinactiveModalWindow ()
 
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 uiMainWinprogrammedActiveWindow ()
 

Detailed Description

Editor for Attribute sets.

Constructor & Destructor Documentation

uiAttribDescSetEd::uiAttribDescSetEd ( uiParent ,
Attrib::DescSetMan adsm,
const char *  prefgrp = 0,
bool  attrsneedupdt = false 
)
uiAttribDescSetEd::~uiAttribDescSetEd ( )

Member Function Documentation

bool uiAttribDescSetEd::acceptOK ( CallBacker )
protectedvirtual

confirm accept

Reimplemented from uiDialog.

void uiAttribDescSetEd::addPush ( CallBacker )
protected
void uiAttribDescSetEd::attrTypSel ( CallBacker )
protected
void uiAttribDescSetEd::autoSet ( CallBacker )
protected
void uiAttribDescSetEd::changeInput ( CallBacker )
protected
Attrib::Desc* uiAttribDescSetEd::createAttribDesc ( bool  checkuref = true)
protected
void uiAttribDescSetEd::createGroups ( )
protected
void uiAttribDescSetEd::createMenuBar ( )
protected
void uiAttribDescSetEd::createToolBar ( )
protected
void uiAttribDescSetEd::crossEvalAttrs ( CallBacker )
protected
void uiAttribDescSetEd::crossPlot ( CallBacker )
protected
Attrib::Desc* uiAttribDescSetEd::curDesc ( ) const

Use during operation only!

uiAttrDescEd* uiAttribDescSetEd::curDescEd ( )

Use during operation only!

int uiAttribDescSetEd::curDescNr ( ) const

Use during operation only!

const MultiID& uiAttribDescSetEd::curSetID ( ) const
inline
void uiAttribDescSetEd::defaultSet ( CallBacker )
protected
void uiAttribDescSetEd::directShow ( CallBacker )
protected
bool uiAttribDescSetEd::doAcceptInputs ( )
protected
bool uiAttribDescSetEd::doCommit ( bool  prevdesc = false)
protected
bool uiAttribDescSetEd::doSave ( bool  )
protected
bool uiAttribDescSetEd::doSetIO ( bool  )
protected
void uiAttribDescSetEd::dotPathCB ( CallBacker )
protected
void uiAttribDescSetEd::evalAttribute ( CallBacker )
protected
void uiAttribDescSetEd::exportToDotCB ( CallBacker )
protected
void uiAttribDescSetEd::getDefaultAttribsets ( BufferStringSet ,
BufferStringSet  
)
protected
Attrib::DescSet* uiAttribDescSetEd::getSet ( )
inline
bool uiAttribDescSetEd::getUiAttribParamGrps ( uiParent ,
ObjectSet< AttribParamGroup > &  ,
BufferStringSet paramnms,
TypeSet< BufferStringSet > &  usernms 
)

Get curDesc() parameter grps and param-usernms info!

const ZDomain::Info* uiAttribDescSetEd::getZDomainInfo ( ) const
void uiAttribDescSetEd::handleSensitivity ( )
protected
void uiAttribDescSetEd::helpButPush ( CallBacker )
protected
void uiAttribDescSetEd::importFile ( CallBacker )
protected
void uiAttribDescSetEd::importFromFile ( const char *  )
protected
void uiAttribDescSetEd::importFromSeis ( CallBacker )
protected
void uiAttribDescSetEd::importSet ( CallBacker )
protected
void uiAttribDescSetEd::init ( )
protected
bool uiAttribDescSetEd::is2D ( ) const
void uiAttribDescSetEd::job2Set ( CallBacker )
protected
void uiAttribDescSetEd::loadDefaultAttrSet ( const char *  attribsetnm)
uiAttribDescSetEd::mODTextTranslationClass ( uiAttribDescSetEd  )
private
void uiAttribDescSetEd::moveUpDownCB ( CallBacker )
protected
void uiAttribDescSetEd::newList ( int  )
protected
void uiAttribDescSetEd::newSet ( CallBacker )
protected
bool uiAttribDescSetEd::offerSetSave ( )
protected
void uiAttribDescSetEd::openAttribSet ( const IOObj )
protected
void uiAttribDescSetEd::openSet ( CallBacker )
protected
void uiAttribDescSetEd::procAttribute ( CallBacker )
protected
bool uiAttribDescSetEd::rejectOK ( CallBacker )
protectedvirtual

confirm reject

Reimplemented from uiDialog.

void uiAttribDescSetEd::removeNotUsedAttr ( )
protected
void uiAttribDescSetEd::replaceStoredAttr ( )
protected
void uiAttribDescSetEd::replaceStoredAttr ( IOPar )
protected
void uiAttribDescSetEd::revPush ( CallBacker )
protected
void uiAttribDescSetEd::rmPush ( CallBacker )
protected
void uiAttribDescSetEd::saveAsPush ( CallBacker )
protected
void uiAttribDescSetEd::savePush ( CallBacker )
protected
void uiAttribDescSetEd::selChg ( CallBacker )
protected
void uiAttribDescSetEd::setButStates ( )
protected
void uiAttribDescSetEd::setDescSetMan ( Attrib::DescSetMan )
void uiAttribDescSetEd::setSelAttr ( const char *  attrnm)
void uiAttribDescSetEd::setSensitive ( bool  )
bool uiAttribDescSetEd::setUserRef ( Attrib::Desc )
protected
void uiAttribDescSetEd::setZDomainInfo ( const ZDomain::Info )
void uiAttribDescSetEd::showMatrix ( CallBacker )
protected
void uiAttribDescSetEd::sortPush ( CallBacker )
protected
void uiAttribDescSetEd::updateAttrName ( )
protected
void uiAttribDescSetEd::updateCurDescEd ( )
void uiAttribDescSetEd::updateFields ( bool  settype = true)
protected
void uiAttribDescSetEd::updateUserRefs ( )
protected
void uiAttribDescSetEd::updtAllEntries ( )
bool uiAttribDescSetEd::validName ( const char *  ) const
protected

Member Data Documentation

uiPushButton* uiAttribDescSetEd::addbut_
protected
Attrib::DescSetMan* uiAttribDescSetEd::adsman_
protected
Notifier<uiAttribDescSetEd> uiAttribDescSetEd::applycb
ObjectSet<Attrib::Desc> uiAttribDescSetEd::attrdescs_
protected
uiListBox* uiAttribDescSetEd::attrlistfld_
protected
uiGenInput* uiAttribDescSetEd::attrnmfld_
protected
Attrib::DescSet* uiAttribDescSetEd::attrset_
protected
uiGenInput* uiAttribDescSetEd::attrsetfld_
protected
bool uiAttribDescSetEd::attrsneedupdt_
protected
uiAttrTypeSel* uiAttribDescSetEd::attrtypefld_
protected
MultiID uiAttribDescSetEd::cancelsetid_
protected
Notifier<uiAttribDescSetEd> uiAttribDescSetEd::crossevalattrcb
ObjectSet<uiAttrDescEd> uiAttribDescSetEd::desceds_
protected
Notifier<uiAttribDescSetEd> uiAttribDescSetEd::dirshowcb
uiToolButton* uiAttribDescSetEd::dispbut_
protected
Notifier<uiAttribDescSetEd> uiAttribDescSetEd::evalattrcb
uiToolButton* uiAttribDescSetEd::helpbut_
protected
Attrib::DescSetMan* uiAttribDescSetEd::inoutadsman_
protected
uiToolButton* uiAttribDescSetEd::movedownbut_
protected
uiToolButton* uiAttribDescSetEd::moveupbut_
protected
BufferString uiAttribDescSetEd::nmprefgrp_
staticprotected
Attrib::Desc* uiAttribDescSetEd::prevdesc_
protected
uiToolButton* uiAttribDescSetEd::rmbut_
protected
CtxtIOObj& uiAttribDescSetEd::setctio_
protected
MultiID uiAttribDescSetEd::setid_
protected
const char* uiAttribDescSetEd::sKeyAuto2DAttrSetID
static
const char* uiAttribDescSetEd::sKeyAuto3DAttrSetID
static
const char* uiAttribDescSetEd::sKeyUseAutoAttrSet
static
uiToolButton* uiAttribDescSetEd::sortbut_
protected
uiToolBar* uiAttribDescSetEd::toolbar_
protected
bool uiAttribDescSetEd::updating_fields_
protected
BufferStringSet& uiAttribDescSetEd::userattrnames_
protected
Notifier<uiAttribDescSetEd> uiAttribDescSetEd::xplotcb
ZDomain::Info* uiAttribDescSetEd::zdomaininfo_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019