OpendTect-6_4
6.4
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
od6.4.5
include
uiBase
uistatusbar.h
Go to the documentation of this file.
1
#ifndef uistatusbar_h
2
#define uistatusbar_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: 30/05/2000
10
RCS: $Id$
11
________________________________________________________________________
12
13
-*/
14
15
#include "uibasemod.h"
16
#include "
uibaseobject.h
"
17
#include "
draw.h
"
18
#include "
uistring.h
"
19
20
mFDQtclass
(QStatusBar)
21
class uiStatusBarBody;
22
class
uiMainWin
;
23
class
uiObject
;
24
25
26
mExpClass
(uiBase)
uiStatusBar
: public uiBaseObject
27
{
28
29
friend
class
uiMainWinBody;
30
31
public
:
32
~
uiStatusBar
();
33
34
int
addMsgFld(
const
uiString
& lbltxt=
uiString::emptyString
(),
35
const
uiString
& tooltip =
uiString::emptyString
(),
36
Alignment::HPos
al=
Alignment::Left
,
37
int
stretch=1);
38
39
int
addMsgFld(
const
uiString
& tooltip,
40
Alignment::HPos
al=
Alignment::Left
,
41
int
stretch=1);
42
bool
addObject(uiObject*);
43
44
void
setToolTip(
int
,
const
uiString
&);
45
void
setTxtAlign(
int
,
Alignment::HPos
);
46
void
setLabelTxt(
int
,
const
uiString
&);
47
48
int
nrFields()
const
;
49
void
message
(
const
uiString
&,
int
fldidx=0,
int
msecs=-1);
50
void
setEmpty(
int
startat=0);
51
void
setBGColor(
int
fldidx,
const
Color
&);
52
Color
getBGColor(
int
fldidx)
const
;
53
54
protected
:
55
56
uiStatusBar
(uiMainWin*,
const
char
*,
57
mQtclass
(QStatusBar&));
58
private
:
59
60
uiStatusBarBody*
body_
;
61
uiStatusBarBody& mkbody(uiMainWin*,
const
char
*,
62
mQtclass
(QStatusBar&));
63
};
64
65
66
#endif
mExpClass
#define mExpClass(module)
Definition:
commondefs.h:160
uiMainWin
User interface main window.
Definition:
uimainwin.h:36
draw.h
mQtclass
#define mQtclass(cls)
Definition:
commondefs.h:229
uistring.h
uiStatusBar::body_
uiStatusBarBody * body_
Definition:
uistatusbar.h:60
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
mFDQtclass
mFDQtclass(QStatusBar) class uiStatusBarBody
uiStatusBar
Definition:
uistatusbar.h:26
DBG::message
void message(const char *)
default: to stderr
Alignment::HPos
HPos
Definition:
draw.h:26
uibaseobject.h
Alignment::Left
Definition:
draw.h:26
Color
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition:
color.h:26
Generated at for the
OpendTect
seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019