OpendTect-6_4  6.4
uiflatviewdockwin.h
Go to the documentation of this file.
1 #ifndef uiflatviewdockwin_h
2 #define uiflatviewdockwin_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Bert
8  Date: Feb 2007
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uiflatviewmod.h"
15 #include "uiflatviewwin.h"
16 #include "uidockwin.h"
17 
22 mExpClass(uiFlatView) uiFlatViewDockWin : public uiDockWin
23  , public uiFlatViewWin
24 {
25 public:
26 
27  struct Setup
28  {
29  Setup( const uiString& nm )
30  : name_(nm)
31  , nrviewers_(1) {}
32  mDefSetupMemb(uiString, name)
33  mDefSetupMemb(int, nrviewers)
34  };
35 
36 
39 
40  virtual void start() { display(true); }
41  virtual void setWinTitle(const uiString& t) { setDockName(t); }
42  virtual uiMainWin* dockParent() { return mainwin(); }
43  virtual uiParent* viewerParent() { return this; }
44 
45 };
46 
47 
48 #endif
#define mExpClass(module)
Definition: commondefs.h:160
User interface main window.
Definition: uimainwin.h:36
Setup(const uiString &nm)
Definition: uiflatviewdockwin.h:29
(Non-modal) main window containing one or more uiFlatViewer(s).
Definition: uiflatviewdockwin.h:22
virtual uiMainWin * dockParent()
Definition: uiflatviewdockwin.h:42
Definition: uistring.h:89
Definition: uiparent.h:26
virtual void start()
Definition: uiflatviewdockwin.h:40
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
virtual uiParent * viewerParent()
Definition: uiflatviewdockwin.h:43
virtual void setWinTitle(const uiString &t)
Definition: uiflatviewdockwin.h:41
Base class for windows containing one or more uiFlatViewer(s).
Definition: uiflatviewwin.h:31
Definition: uiflatviewdockwin.h:27

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