OpendTect-6_4  6.4
uigraphicslegend.h
Go to the documentation of this file.
1 #ifndef uigraphicslegend_h
2 #define uigraphicslegend_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Henrique Mageste
9  Date: July 2015
10  RCS: $Id: $
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiiomod.h"
16 #include "uigraphicsitem.h"
17 #include "uigraphicsitemimpl.h"
18 
19 class uiRectItem;
20 class uiAdvancedTextItem;
21 
28 public:
29  uiLegendItem();
30  ~uiLegendItem();
42 
43 protected:
44 
45  void buildLayout();
46  void setProperties();
47  void init();
48 
51 
52 private:
53 
54  const uiString sCountry() { return tr("Country"); }
55  const uiString sBlock() { return tr("Block"); }
56  const uiString sLicense() { return tr("License"); }
57  const uiString sModelNm() { return tr("Model Name"); }
58  const uiString sHorNm() { return tr("Horizon Name"); }
59  const uiString sScale() { return tr("Scale"); }
60  const uiString sContourInc() { return tr("Contour Inc"); }
61  const uiString sUserNm() { return tr("User Name"); }
62  const uiString sDate() { return tr("Date"); }
63  const uiString sSignature() { return tr("Signature"); }
64  const uiString sMap() { return tr("Map"); }
65 };
66 
67 #endif
#define mExpClass(module)
Definition: commondefs.h:160
uiAdvancedTextItem * title_
Definition: uigraphicslegend.h:31
uiAdvancedTextItem * modelname_
Definition: uigraphicslegend.h:35
FontData & headerfont_
Definition: uigraphicslegend.h:49
const uiString sContourInc()
Definition: uigraphicslegend.h:60
const uiString sHorNm()
Definition: uigraphicslegend.h:58
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
uiAdvancedTextItem * horizonname_
Definition: uigraphicslegend.h:36
uiAdvancedTextItem * contourinc_
Definition: uigraphicslegend.h:38
bool init()
uiAdvancedTextItem * mapscale_
Definition: uigraphicslegend.h:37
Definition: uigraphicsitemimpl.h:303
const uiString sModelNm()
Definition: uigraphicslegend.h:57
Definition: uistring.h:89
Data needed to make an actual font.
Definition: fontdata.h:20
const uiString sScale()
Definition: uigraphicslegend.h:59
uiAdvancedTextItem * license_
Definition: uigraphicslegend.h:34
const uiString sCountry()
Definition: uigraphicslegend.h:54
A legend, mainly used in maps.
Definition: uigraphicslegend.h:26
uiAdvancedTextItem * sign_
Definition: uigraphicslegend.h:41
const uiString sLicense()
Definition: uigraphicslegend.h:56
Definition: uigraphicsitemimpl.h:255
const uiString sSignature()
Definition: uigraphicslegend.h:63
const uiString sBlock()
Definition: uigraphicslegend.h:55
const uiString sMap()
Definition: uigraphicslegend.h:64
uiAdvancedTextItem * block_
Definition: uigraphicslegend.h:33
uiAdvancedTextItem * country_
Definition: uigraphicslegend.h:32
FontData & infofont_
Definition: uigraphicslegend.h:50
const uiString sDate()
Definition: uigraphicslegend.h:62
uiAdvancedTextItem * username_
Definition: uigraphicslegend.h:39
uiAdvancedTextItem * date_
Definition: uigraphicslegend.h:40
const uiString sUserNm()
Definition: uigraphicslegend.h:61

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