OpendTect-6_4  6.4
uifontsel.h
Go to the documentation of this file.
1 #ifndef uifontsel_h
2 #define uifontsel_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: 25/9/2000
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uitoolsmod.h"
16 #include "uidialog.h"
17 #include "uisettings.h"
18 #include "bufstringset.h"
19 #include "fontdata.h"
20 
21 class uiButton;
22 class uiButtonGroup;
23 class uiFont;
24 class uiLabel;
25 class uiLabeledComboBox;
26 
27 
30 public:
32  uiSettingsGroup,
35  "Fonts",
36  mToUiStringTodo(sFactoryKeyword()))
37 
39 
40  bool acceptOK();
41  HelpKey helpKey() const;
42 
43 protected:
44 
49 
50  void addButton(FontData::StdSz,uiString infotxt);
51  void addResetButton();
52  void butPushed(CallBacker*);
53  void resetCB(CallBacker*);
54 };
55 
56 
57 mExpClass(uiTools) uiSelFonts : public uiDialog
59 public:
60 
62  const HelpKey&);
63  ~uiSelFonts();
64 
65  void add(const char* str,const char* stdfontkey);
66 
67  const char* resultFor(const char* str);
68 
69 protected:
70 
73 
74 };
75 
76 #endif
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
ObjectSet< uiButton > buttons_
Definition: uifontsel.h:46
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Definition: uifont.h:39
ObjectSet< uiLabeledComboBox > sels_
Definition: uifontsel.h:71
TypeSet< FontData::StdSz > types_
Definition: uifontsel.h:48
Definition: uistring.h:89
Definition: uiparent.h:26
Set of BufferString objects.
Definition: bufstringset.h:28
Definition: helpview.h:49
Definition: uidialog.h:42
BufferStringSet ids_
Definition: uifontsel.h:72
Settings class holds the user settings. It is an IOPar.
Definition: settings.h:34
Definition: uicombobox.h:133
Definition: uibuttongroup.h:30
uiParent const uiString & title
pops a selector box to select a new font
Definition: uifont.h:27
Definition: uilabel.h:24
uiButtonGroup * butgrp_
Definition: uifontsel.h:45
Definition: uisettings.h:63
Definition: uifontsel.h:28
ObjectSet< uiLabel > lbls_
Definition: uifontsel.h:47
Definition: uifontsel.h:57
StdSz
Definition: fontdata.h:65
#define mDefaultFactoryInstantiation2Param(baseclss, clss, parclss1, parclss2, keywrd, usernm)
Definition: factory.h:309
#define mToUiStringTodo(i)
Definition: uistring.h:303

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