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

A uiMainWin that holds embedded uiObjects and controls. More...

Inheritance diagram for uiObjectItemViewWin:
[legend]

Classes

class  Setup
 

Public Member Functions

 uiObjectItemViewWin (uiParent *, const Setup &)
 
int nrItems () const
 
uiObjectItemViewmainViewer ()
 
void addObject (uiObject *grp, uiObject *infogrp=0)
 
void addGroup (uiGroup *grp, uiGroup *infogrp=0)
 
void removeObject (uiObject *)
 
void removeGroup (uiGroup *)
 
void insertObject (int idx, uiObject *, uiObject *info=0)
 
void insertGroup (int idx, uiGroup *, uiGroup *info=0)
 
void removeAllItems ()
 
virtual void fillPar (IOPar &) const
 
virtual void usePar (const IOPar &)
 
- 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 ()
 

Static Public Member Functions

static const char * sKeyHZoomVal ()
 
static const char * sKeyVZoomVal ()
 
- 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 ()
 

Protected Member Functions

void init ()
 
void makeSliders ()
 
void setUpView ()
 
virtual void reSizeItems ()
 
virtual void scaleVal (float &, bool, bool)
 
void addItem (uiObjectItem *itm, uiObjectItem *infoitm=0)
 
void insertItem (int idx, uiObjectItem *, uiObjectItem *info=0)
 
void reSizeCB (CallBacker *)
 
void fitToScreen (CallBacker *)
 
void reSizeSld (CallBacker *)
 
void rubBandCB (CallBacker *)
 
void scrollBarCB (CallBacker *)
 
- 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

uiObjectItemViewmainviewer_
 
uiObjectItemViewInfoBarinfobar_
 
uiSliderversliderfld_
 
uiSliderhorsliderfld_
 
uiToolButtonfittoscreenbut_
 
uiCheckBoxzoomratiofld_
 
int startwidth_
 
int startheight_
 
int infoheight_
 
float hslval_
 
float vslval_
 
LinScaler scaler_
 
uiSize screensz_
 
bool fittoscreen_
 
- Protected Attributes inherited from uiMainWin
uiMainWinBodybody_
 
uiParentparent_
 
Timerafterpopuptimer_
 
PopupArea popuparea_
 
uiString caption_
 
uiString uniquecaption_
 
int languagechangecount_
 
BufferString scripttorun_
 

Private Member Functions

 mODTextTranslationClass (uiObjectItemViewWin)
 

Additional Inherited Members

- 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
}
 
- Public Attributes inherited from uiMainWin
Notifier< uiMainWinwindowClosed
 triggered when window exits More...
 
Notifier< uiMainWinactivatedone
 
Notifier< uiMainWinctrlCPressed
 
Notifier< uiMainWinafterPopup
 
Notifier< uiMainWinrunScriptRequest
 

Detailed Description

A uiMainWin that holds embedded uiObjects and controls.

Constructor & Destructor Documentation

uiObjectItemViewWin::uiObjectItemViewWin ( uiParent ,
const Setup  
)

Member Function Documentation

void uiObjectItemViewWin::addGroup ( uiGroup grp,
uiGroup infogrp = 0 
)
void uiObjectItemViewWin::addItem ( uiObjectItem itm,
uiObjectItem infoitm = 0 
)
protected
void uiObjectItemViewWin::addObject ( uiObject grp,
uiObject infogrp = 0 
)
virtual void uiObjectItemViewWin::fillPar ( IOPar ) const
virtual
void uiObjectItemViewWin::fitToScreen ( CallBacker )
protected
void uiObjectItemViewWin::init ( )
protected
void uiObjectItemViewWin::insertGroup ( int  idx,
uiGroup ,
uiGroup info = 0 
)
void uiObjectItemViewWin::insertItem ( int  idx,
uiObjectItem ,
uiObjectItem info = 0 
)
protected
void uiObjectItemViewWin::insertObject ( int  idx,
uiObject ,
uiObject info = 0 
)
uiObjectItemView* uiObjectItemViewWin::mainViewer ( )
inline
void uiObjectItemViewWin::makeSliders ( )
protected
uiObjectItemViewWin::mODTextTranslationClass ( uiObjectItemViewWin  )
private
int uiObjectItemViewWin::nrItems ( ) const
inline
void uiObjectItemViewWin::removeAllItems ( )
void uiObjectItemViewWin::removeGroup ( uiGroup )
void uiObjectItemViewWin::removeObject ( uiObject )
void uiObjectItemViewWin::reSizeCB ( CallBacker )
protected
virtual void uiObjectItemViewWin::reSizeItems ( )
protectedvirtual
void uiObjectItemViewWin::reSizeSld ( CallBacker )
protected
void uiObjectItemViewWin::rubBandCB ( CallBacker )
protected
virtual void uiObjectItemViewWin::scaleVal ( float &  ,
bool  ,
bool   
)
protectedvirtual
void uiObjectItemViewWin::scrollBarCB ( CallBacker )
protected
void uiObjectItemViewWin::setUpView ( )
protected
static const char* uiObjectItemViewWin::sKeyHZoomVal ( )
inlinestatic
static const char* uiObjectItemViewWin::sKeyVZoomVal ( )
inlinestatic
virtual void uiObjectItemViewWin::usePar ( const IOPar )
virtual

Member Data Documentation

bool uiObjectItemViewWin::fittoscreen_
protected
uiToolButton* uiObjectItemViewWin::fittoscreenbut_
protected
uiSlider* uiObjectItemViewWin::horsliderfld_
protected
float uiObjectItemViewWin::hslval_
protected
uiObjectItemViewInfoBar* uiObjectItemViewWin::infobar_
protected
int uiObjectItemViewWin::infoheight_
protected
uiObjectItemView* uiObjectItemViewWin::mainviewer_
protected
LinScaler uiObjectItemViewWin::scaler_
protected
uiSize uiObjectItemViewWin::screensz_
protected
int uiObjectItemViewWin::startheight_
protected
int uiObjectItemViewWin::startwidth_
protected
uiSlider* uiObjectItemViewWin::versliderfld_
protected
float uiObjectItemViewWin::vslval_
protected
uiCheckBox* uiObjectItemViewWin::zoomratiofld_
protected

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