OpendTect-6_4
6.4
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
od6.4.5
include
uiTools
uiofferinfo.h
Go to the documentation of this file.
1
#ifndef uiofferinfo_h
2
#define uiofferinfo_h
3
4
/*+
5
________________________________________________________________________
6
7
(C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8
Author: A.H. Bril
9
Date: Dec 2001
10
RCS: $Id$
11
________________________________________________________________________
12
13
-*/
14
15
#include "uitoolsmod.h"
16
#include "
uimainwin.h
"
17
#include "
uitoolbutton.h
"
18
#include "
uistring.h
"
19
class
uiTextBrowser
;
20
21
31
mExpClass
(uiTools)
uiOfferInfoWin
: public
uiMainWin
32
{
mODTextTranslationClass
(
uiOfferInfoWin
);
33
public
:
34
35
uiOfferInfoWin
(
uiParent
*,
const
uiString
& captn,
36
int
initialnrlines=5);
37
38
void
setText
(
const
char
*);
39
40
uiTextBrowser
*
uitb_
;
41
42
};
43
44
53
mExpClass
(uiTools)
uiOfferInfo
: public
uiToolButton
54
{
mODTextTranslationClass
(
uiOfferInfo
);
55
public
:
56
57
uiOfferInfo
(
uiParent
*,
bool
setinsens=
true
);
58
59
void
setInfo(
const
char
*,
const
uiString
& newcaption=
60
uiStrings::sEmptyString
());
61
62
protected
:
63
64
BufferString
info_
;
65
uiString
caption_
;
66
bool
insens_
;
67
68
uiOfferInfoWin
*
infowin_
;
69
70
void
updateWin();
71
72
void
infoReq(
CallBacker
*);
73
void
winClose(
CallBacker
*);
74
75
};
76
77
78
#endif
mExpClass
#define mExpClass(module)
Definition:
commondefs.h:160
uiMainWin
User interface main window.
Definition:
uimainwin.h:36
CallBacker
To be able to send and/or receive CallBacks, inherit from this class.
Definition:
callback.h:272
uiOfferInfo::caption_
uiString caption_
Definition:
uiofferinfo.h:65
uistring.h
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition:
uistring.h:38
uiOfferInfoWin
Non-modal window able to display local, handy info for the user.
Definition:
uiofferinfo.h:31
uiString
Definition:
uistring.h:89
uiParent
Definition:
uiparent.h:26
uitoolbutton.h
uiOfferInfo::info_
BufferString info_
Definition:
uiofferinfo.h:64
uiOfferInfo::insens_
bool insens_
Definition:
uiofferinfo.h:66
uimainwin.h
uiOfferInfoWin::uitb_
uiTextBrowser * uitb_
Definition:
uiofferinfo.h:40
uiOfferInfo
Tool button with the 'i' popping up a uiOfferInfoWin if pushed.
Definition:
uiofferinfo.h:53
uiTextBrowser
Definition:
uitextedit.h:102
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition:
bufstring.h:40
uiToolButton
Definition:
uitoolbutton.h:22
uiStrings::sEmptyString
static uiString sEmptyString()
Definition:
uistrings.h:286
uiOfferInfo::infowin_
uiOfferInfoWin * infowin_
Definition:
uiofferinfo.h:68
uiTextBrowser::setText
void setText(const char *)
Generated at for the
OpendTect
seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019