OpendTect  6.6
uirockphysform.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: Bert
8  Date: Sep 2011
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uitoolsmod.h"
15 #include "uigroup.h"
16 #include "propertyref.h"
17 class uiComboBox;
18 class uiGenInput;
19 class uiLabel;
20 class uiPushButton;
21 class uiTextEdit;
22 class uiTextBrowser;
23 class uiRockPhysConstantFld;
24 namespace Math { class Formula; }
25 namespace RockPhysics { class Formula; }
26 
27 
28 mExpClass(uiTools) uiRockPhysForm : public uiGroup
30 public:
31 
34 
38 
40  TypeSet<PropertyRef::StdType>* tps=0) const;
41  const char* getText(bool replace_consts=true) const;
42 
43  const char* errMsg() const { return errmsg_.buf(); }
44  bool isOK();
45 
46 protected:
47 
53 
56 
59 
62 
63 };
64 
65 
uiRockPhysForm::descriptionfld_
uiTextBrowser * descriptionfld_
Definition: uirockphysform.h:51
uiRockPhysForm::cstflds_
ObjectSet< uiRockPhysConstantFld > cstflds_
Definition: uirockphysform.h:52
ObjectSet< uiRockPhysConstantFld >
uiRockPhysForm::getFormText
BufferString getFormText(const RockPhysics::Formula &, bool) const
uiRockPhysForm::uiRockPhysForm
uiRockPhysForm(uiParent *, PropertyRef::StdType)
uiRockPhysForm::nmfld_
uiComboBox * nmfld_
Definition: uirockphysform.h:49
uiComboBox
Combo box.
Definition: uicombobox.h:32
uiRockPhysForm::typfld_
uiComboBox * typfld_
Definition: uirockphysform.h:48
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
uiTextEdit
Definition: uitextedit.h:75
uiRockPhysForm
Definition: uirockphysform.h:29
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
uigroup.h
uiGenInput
General Input Element.
Definition: uigeninput.h:59
uiRockPhysForm::formulafld_
uiTextEdit * formulafld_
Definition: uirockphysform.h:50
uiRockPhysForm::getType
PropertyRef::StdType getType() const
uiRockPhysForm::errMsg
const char * errMsg() const
Definition: uirockphysform.h:43
uiRockPhysForm::createFlds
void createFlds(uiGroup *)
uiRockPhysForm::typSel
void typSel(CallBacker *)
uiGroup
Definition: uigroup.h:54
uiRockPhysForm::errmsg_
BufferString errmsg_
Definition: uirockphysform.h:55
uiRockPhysForm::isOK
bool isOK()
OD::String::buf
const char * buf() const
Definition: odstring.h:46
uiTextBrowser
Definition: uitextedit.h:103
uiRockPhysForm::nameSel
void nameSel(CallBacker *)
propertyref.h
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
uiRockPhysForm::uiRockPhysForm
uiRockPhysForm(uiParent *)
Math::Formula
Math formula: (expression, inputs, units, calculation, storage).
Definition: mathformula.h:66
uiRockPhysForm::setType
void setType(PropertyRef::StdType)
only works when 1st constructor used
MPE::errmsg_
BufferString errmsg_
Definition: horizontracker.h:118
PropertyRef::StdType
StdType
Definition: propertyref.h:46
uiLabel
Definition: uilabel.h:24
uiRockPhysForm::getText
const char * getText(bool replace_consts=true) const
uiRockPhysForm::fixedtype_
const PropertyRef::StdType fixedtype_
Definition: uirockphysform.h:54
uiParent
Definition: uiparent.h:26
uiRockPhysForm::getFormulaInfo
bool getFormulaInfo(Math::Formula &, TypeSet< PropertyRef::StdType > *tps=0) const
uiRockPhysForm::mODTextTranslationClass
mODTextTranslationClass(uiRockPhysForm)
RockPhysics::Formula
Definition: rockphysics.h:37
Math
Definition: math2.h:29
RockPhysics
Ref Data for a (usually petrophysical) property.
Definition: rockphysics.h:34
TypeSet
Sets of (small) copyable elements.
Definition: commontypes.h:29
uiPushButton
is the base class for all buttons.
Definition: uibutton.h:88

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