OpendTect-6_4  6.4
uiscaler.h
Go to the documentation of this file.
1 #ifndef uiscaler_h
2 #define uiscaler_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nanne Hemstra
9  Date: June 2002
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uitoolsmod.h"
16 #include "uigroup.h"
17 #include "uistrings.h"
18 
19 class Scaler;
20 class uiGenInput;
21 class uiCheckBox;
22 
23 
24 mExpClass(uiTools) uiScaler : public uiGroup
26 public:
27 
28  uiScaler(uiParent*, const uiString &txt=
29  uiStrings::sEmptyString(), // "Scale values"
30  bool linear_only=false);
31 
32  Scaler* getScaler() const;
33  void setInput(const Scaler&);
34  void setUnscaled();
35 
36  void fillPar(IOPar&) const;
37  void usePar(const IOPar&);
38 
39 protected:
40 
45 
46  void doFinalise(CallBacker*);
47  void typeSel(CallBacker*);
48 };
49 
50 
51 #endif
Definition: uigroup.h:54
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
uiGenInput * typefld
Definition: uiscaler.h:42
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
Definition: uiscaler.h:24
uiCheckBox * ynfld
Definition: uiscaler.h:41
Definition: uistring.h:89
Definition: uiparent.h:26
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
General Input Element.
Definition: uigeninput.h:58
Scaling of floating point numbers.
Definition: scaler.h:33
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
static uiString sEmptyString()
Definition: uistrings.h:286
uiGenInput * linearfld
Definition: uiscaler.h:43
Definition: uibutton.h:134
uiGenInput * basefld
Definition: uiscaler.h:44

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