OpendTect-6_4  6.4
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 
33 public:
34 
35  uiOfferInfoWin(uiParent*,const uiString& captn,
36  int initialnrlines=5);
37 
38  void setText(const char*);
39 
41 
42 };
43 
44 
55 public:
56 
57  uiOfferInfo(uiParent*,bool setinsens=true);
58 
59  void setInfo(const char*,const uiString& newcaption=
61 
62 protected:
63 
66  bool insens_;
67 
69 
70  void updateWin();
71 
72  void infoReq(CallBacker*);
73  void winClose(CallBacker*);
74 
75 };
76 
77 
78 #endif
#define mExpClass(module)
Definition: commondefs.h:160
User interface main window.
Definition: uimainwin.h:36
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
uiString caption_
Definition: uiofferinfo.h:65
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Non-modal window able to display local, handy info for the user.
Definition: uiofferinfo.h:31
Definition: uistring.h:89
Definition: uiparent.h:26
BufferString info_
Definition: uiofferinfo.h:64
bool insens_
Definition: uiofferinfo.h:66
uiTextBrowser * uitb_
Definition: uiofferinfo.h:40
Tool button with the 'i' popping up a uiOfferInfoWin if pushed.
Definition: uiofferinfo.h:53
Definition: uitextedit.h:102
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Definition: uitoolbutton.h:22
static uiString sEmptyString()
Definition: uistrings.h:286
uiOfferInfoWin * infowin_
Definition: uiofferinfo.h:68
void setText(const char *)

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