OpendTect  6.3
uiofferinfo.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: A.H. Bril
8  Date: Dec 2001
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uitoolsmod.h"
14 #include "uimainwin.h"
15 #include "uitoolbutton.h"
16 #include "uistring.h"
17 class uiTextBrowser;
18 
19 
31 public:
32 
33  uiOfferInfoWin(uiParent*,const uiString& captn,
34  int initialnrlines=5);
35 
36  void setText(const char*);
37 
39 
40 };
41 
42 
53 public:
54 
55  uiOfferInfo(uiParent*,bool setinsens=true);
56 
57  void setInfo(const char*,const uiString& newcaption=
59 
60 protected:
61 
64  bool insens_;
65 
67 
68  void updateWin();
69 
70  void infoReq(CallBacker*);
71  void winClose(CallBacker*);
72 
73 };
#define mExpClass(module)
Definition: commondefs.h:157
User interface main window.
Definition: uimainwin.h:34
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
uiString caption_
Definition: uiofferinfo.h:63
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Non-modal window able to display local, handy info for the user.
Definition: uiofferinfo.h:29
Definition: uistring.h:88
Definition: uiparent.h:24
BufferString info_
Definition: uiofferinfo.h:62
bool insens_
Definition: uiofferinfo.h:64
uiTextBrowser * uitb_
Definition: uiofferinfo.h:38
Tool button with the 'i' popping up a uiOfferInfoWin if pushed.
Definition: uiofferinfo.h:51
Definition: uitextedit.h:99
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
Definition: uitoolbutton.h:20
static uiString sEmptyString()
Definition: uistrings.h:307
uiOfferInfoWin * infowin_
Definition: uiofferinfo.h:66
void setText(const char *)

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