OpendTect-6_4
6.4
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
od6.4.5
include
uiBase
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,
28
const
uiString
&
caption
=
uiString::emptyString
() );
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
uiGroup
Definition:
uigroup.h:54
mExpClass
#define mExpClass(module)
Definition:
commondefs.h:160
uiMainWin
User interface main window.
Definition:
uimainwin.h:36
uiMainWin::mainobject
uiObject * mainobject()
mQtclass
#define mQtclass(cls)
Definition:
commondefs.h:229
uiMainWin::topGroup
uiGroup * topGroup()
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition:
uistring.h:38
uiString::emptyString
static const uiString & emptyString()
Definition:
uistring.h:109
uiObject
The base class for most UI elements.
Definition:
uiobj.h:38
uiString
Definition:
uistring.h:89
uiParent
Definition:
uiparent.h:26
uiMainWin::caption
const uiString & caption(bool unique=false) const
uiMainWin::parent_
uiParent * parent_
Definition:
uimainwin.h:218
uiMainWin::mainwin
virtual uiMainWin * mainwin()
Definition:
uimainwin.h:149
mFDQtclass
#define mFDQtclass(cls)
Definition:
commondefs.h:228
uiMainWin::body_
uiMainWinBody * body_
Definition:
uimainwin.h:217
uiparent.h
Generated at for the
OpendTect
seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019