OpendTect-6_4  6.4
uidockwin.h
Go to the documentation of this file.
1 #ifndef uidockwin_h
2 #define uidockwin_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: A.H. Lammertink
9  Date: 13/02/2002
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uibasemod.h"
16 #include "uiparent.h"
17 
18 class uiDockWinBody;
19 class uiGroup;
20 class uiObject;
21 class uiMainWin;
22 mFDQtclass(QDockWidget)
23 
24 mExpClass(uiBase) uiDockWin : public uiParent
25 { mODTextTranslationClass(uiDockWin);
26 public:
27  uiDockWin(uiParent* parnt=0,
29 
30  virtual ~uiDockWin();
31 
32  void setGroup(uiGroup*);
33  void setObject(uiObject*);
34 
35  void setDockName(const uiString&);
36  uiString getDockName() const;
37 
38  uiGroup* topGroup();
39  const uiGroup* topGroup() const
40  { return const_cast<uiDockWin*>(this)->topGroup(); }
41 
42  virtual uiMainWin* mainwin();
43 
44  void setFloating(bool);
45  bool isFloating() const;
46 
47  void setMinimumWidth(int);
48 
49  mQtclass(QDockWidget*) qwidget();
50 
51 protected:
52 
53  uiDockWinBody* body_;
54  virtual uiObject* mainobject();
55 
56  uiParent * parent_;
57 };
58 
59 #endif
Definition: uigroup.h:54
#define mExpClass(module)
Definition: commondefs.h:160
User interface main window.
Definition: uimainwin.h:36
uiObject * mainobject()
#define mQtclass(cls)
Definition: commondefs.h:229
uiGroup * topGroup()
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
static const uiString & emptyString()
Definition: uistring.h:109
The base class for most UI elements.
Definition: uiobj.h:38
Definition: uistring.h:89
Definition: uiparent.h:26
const uiString & caption(bool unique=false) const
uiParent * parent_
Definition: uimainwin.h:218
virtual uiMainWin * mainwin()
Definition: uimainwin.h:149
#define mFDQtclass(cls)
Definition: commondefs.h:228
uiMainWinBody * body_
Definition: uimainwin.h:217

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