OpendTect-6_4  6.4
uilayout.h
Go to the documentation of this file.
1 #ifndef uilayout_h
2 #define uilayout_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: 03/03/2000
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 #include "uibasemod.h"
15 #include "gendefs.h"
16 
17 class i_LayoutItem;
18 
20 {
36 };
37 
38 
40 {
41 friend class i_LayoutItem;
42 public:
43  uiConstraint(constraintType,i_LayoutItem* o,int marg);
44 
45  bool operator==(const uiConstraint&) const;
46  bool operator!=(const uiConstraint&) const;
47 
48  bool enabled() const;
49  void disable(bool yn);
50 
51 protected:
53  i_LayoutItem* other_;
54  int margin_;
55  bool enabled_;
56 };
57 
58 #endif
Definition: uilayout.h:25
bool enabled_
Definition: uilayout.h:55
Definition: uilayout.h:34
#define mExpClass(module)
Definition: commondefs.h:160
Definition: uilayout.h:39
constraintType type_
Definition: uilayout.h:52
Definition: uilayout.h:22
Definition: uilayout.h:24
Definition: uilayout.h:21
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
stretches widget to horiz. borders
Definition: uilayout.h:33
Definition: uilayout.h:33
Definition: uilayout.h:28
Definition: uilayout.h:29
Centers with respect to parent.
Definition: uilayout.h:31
Uses i_LayoutItem::centre()
Definition: uilayout.h:26
Definition: uilayout.h:25
Definition: uilayout.h:32
Definition: uilayout.h:35
stretches widget to vertical borders
Definition: uilayout.h:34
Definition: uilayout.h:26
i_LayoutItem * other_
Definition: uilayout.h:53
Definition: uilayout.h:30
bool operator!=(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:62
Uses i_LayoutItem::centre()
Definition: uilayout.h:27
Definition: uilayout.h:23
Definition: uilayout.h:27
LeftOf/RightOf atach widgets tightly together.
Definition: uilayout.h:21
Definition: uilayout.h:32
int margin_
Definition: uilayout.h:54
Uses uiObject::horAlign()
Definition: uilayout.h:25
constraintType
Definition: uilayout.h:19
Definition: uilayout.h:28
Definition: uilayout.h:30
Definition: uilayout.h:30
Definition: uilayout.h:30
Definition: uilayout.h:23
LeftTo/RightTo allow extra horizonal distance.
Definition: uilayout.h:22
Definition: uilayout.h:24

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