13 #if !defined(Q_MOC_RUN)
20 #include <QtWidgets/QCheckBox>
21 #include <QtWidgets/QScrollArea>
22 #include <QtWidgets/QSlider>
48 virtual double percent()
const;
51 virtual void setPercent(
double);
53 virtual void setValue(
double);
54 virtual double value()
const;
56 virtual void setRange(
double lower,
double upper);
58 virtual void setValuesArePercentages(
bool);
61 virtual void sliderChanged();
62 virtual void textChanged();
65 void percentChanged();
95 virtual void setupGui(
const std::vector<makVrv::DtSimEntry*>& data);
97 virtual void setDefaultPlatformFile(
const DtString&);
100 return myDefaultPlatformFile;
104 virtual QWidget* contents(
const std::vector<makVrv::DtSimEntry*>& data);
106 virtual void setupFrom(
const std::vector<makVrv::DtSimEntry*>& s);
108 virtual void sendRequest();
117 virtual void clearProperties();
126 bool updateExistingValue =
false,
bool recurse =
true);
133 virtual bool hasMoreThanDefaultValueInRegistry(
const DtReaderWriter* rw)
const;
137 virtual void modifyStateProperty();
138 virtual void updateOkButton();
139 virtual void revertValue();
142 virtual bool wantsSpacer()
const;
154 virtual void extract(std::vector<DtReaderWriter*>& allCounts,
const DtString& extractionType,
DtReaderWriter* curItem,
162 int level,
bool updateExistingValue,
int row);
168 virtual DtString properties()
const;
173 virtual bool replace()
const;
176 virtual DtString translationModule()
const;
179 virtual bool valuesArePercentages(
const std::vector<makVrv::DtSimEntry*>& data)
const;
183 virtual bool sendValuesAsPercentages()
const;
186 virtual bool isValid()
const;
188 virtual void checkHasNoItems();
210 PropertyItem() : labelLayout(0), label(0), validator(0), modified(false), alwaysUpdate(false), revertButton(0), properties(0), added(false) { widgets.widget = 0; };
212 labelLayout(orig.labelLayout), modified(orig.modified), properties(orig.properties), revertButton(orig.revertButton),
213 children(orig.children), added(orig.added) { widgets.widget = orig.
widgets.
widget; };
215 QHBoxLayout* labelLayout;
const DtString & defaultPlatformFile() const
Definition: setStatePropertiesDialog.h:98
QScrollArea * myScrollArea
Definition: setStatePropertiesDialog.h:197
QValidator * validator
Definition: setStatePropertiesDialog.h:217
bool myValuesArePercentages
Definition: setStatePropertiesDialog.h:239
File: setStateProperties.h.
Definition: setStateProperties.h:40
DtString myProperty
Definition: setStatePropertiesDialog.h:237
Definition: baseTaskSetDialogInterface.h:35
QSlider * slider
Definition: setStatePropertiesDialog.h:68
Widgets widgets
Definition: setStatePropertiesDialog.h:227
SpecificRwType * addProperty(DtReaderWriter &properties, const DtString &propertyName)
Adds a property with the specified name to the given set of properties. SpecificRwType must be a subc...
bool myValuesAreRanged
Set this value to true in the class constructor to show a slider to set the values bounded by the ran...
Definition: setStatePropertiesDialog.h:244
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
QLabel * label
Definition: setStatePropertiesDialog.h:216
Definition: readerWriter.h:85
PropertyItem()
Definition: setStatePropertiesDialog.h:210
Definition: setStatePropertiesDialog.h:208
DtString myDefaultPlatformFile
If specified, and there is no data because the item that wants to be set does not exist...
Definition: setStatePropertiesDialog.h:205
DtRwProperties myStateProperties
Definition: setStatePropertiesDialog.h:247
Interface class used to define minimal interface for a property. The DtPropertyInterface class provid...
Definition: propertyInterface.h:48
bool myCreatePropertySlider
Definition: setStatePropertiesDialog.h:240
QGridLayout * myGridLayout
Definition: setStatePropertiesDialog.h:199
QWidget * myScrollAreaCanvas
Definition: setStatePropertiesDialog.h:198
A slider that can be used for property values to set percentages on them when values are entered as p...
Definition: setStatePropertiesDialog.h:39
bool myUsingGeneric
Definition: setStatePropertiesDialog.h:206
Contains makVrf::DtBaseTaskSetDialogInterface class. This is the interface for the dialog used by mos...
bool modified
Definition: setStatePropertiesDialog.h:228
This class is the base for setting state properties. In and of itself it does not populate itself wit...
Definition: setStatePropertiesDialog.h:77
bool myIgnoreMaximum
Definition: setStatePropertiesDialog.h:246
QLineEdit * sliderValue
Definition: setStatePropertiesDialog.h:69
bool alwaysUpdate
Definition: setStatePropertiesDialog.h:229
bool myValuesArePercentages
Definition: setStatePropertiesDialog.h:72
PropertyItem(const PropertyItem &orig)
Definition: setStatePropertiesDialog.h:211
QLabel * myNoItems
Definition: setStatePropertiesDialog.h:200
std::map< DtString, PropertyItem > PropertyItems
The key is the propertyItem root name.
Definition: setStatePropertiesDialog.h:110
class DtSimStatement:
Definition: simStatement.h:38
QWidget * myCanvas
Definition: setStatePropertiesDialog.h:195
DtPropertyInterface * properties
Definition: setStatePropertiesDialog.h:231
QVBoxLayout * myMainLayout
Definition: setStatePropertiesDialog.h:196
A list of properties. A DtPropertyInterface object that is a specialized version of DtRwVariableBindi...
Definition: rwProperties.h:126
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
PropertyItems myPropertyItems
Definition: setStatePropertiesDialog.h:236
QToolButton * revertButton
Definition: setStatePropertiesDialog.h:230
DtRwProperties myParameterData
Definition: setStatePropertiesDialog.h:248
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
bool added
Definition: setStatePropertiesDialog.h:232
PropertyItems children
Definition: setStatePropertiesDialog.h:233
std::map< DtString, std::set< DtString > > myIgnorePropertyMapColumns
If there are property maps, and you wish to ignore columns in those maps when they are set up...
Definition: setStatePropertiesDialog.h:252