13 #include <QtGui/QColor>
14 #include <QtCore/QPointF>
15 #include <QtCore/QVector>
16 #include <QtWidgets/QTableWidget>
28 class QDoubleValidator;
35 class QAbstractButton;
41 class DtEnumerationSelectionWidget;
52 virtual QSize
sizeHint()
const {
return QSize(QTableWidget::sizeHint().width(), myMinimumHeight); };
84 virtual bool hasRange(
const DtEntityType&)
const;
89 virtual void addCommonEntityTypeEntry(
const DtEntityType&,
const std::vector<DtRangeProbEntry*>&,
bool plotCoefficientImmediately =
false);
90 virtual void createNewRangeTableForSelectedItem(
double maxRange,
double hitChance);
103 virtual void addNewRangeEntry(
double range);
104 virtual void addNewRangeEntry(
PlotData& pd,
double range,
const DtString& name =
"probability");
106 virtual bool replotAllNotAtMaximumRange();
107 virtual QString newRangeWindowLabel()
const;
109 virtual double findMaximumRange()
const;
111 virtual void graphLineColorChanged(
const QColor& oldColor,
const QColor& newColor);
113 virtual void addPlotLine(
const DtString& key,
const QString& displayName,
const QVector<QPointF>& points,
DtRangeProbEntry* entry);
114 virtual void addNewEntryBasedOffOf(
const DtEntityType& existingType,
const DtEntityType& newType);
115 virtual void addNewRangeTableEntry(
const DtEntityType& newType);
116 virtual void addNewCoefficientTableEntry(
const DtEntityType& newType);
120 virtual void plotLineSelected(
const DtString&);
121 virtual int selectedRow()
const;
123 virtual void createRangeTableFor(
const DtEntityType&);
126 virtual bool addNewCoefficientEntry();
127 virtual void addNewCoefficientEntry(
PlotData& pd);
128 virtual bool addNewRangeEntry();
131 virtual void cellEntered(
QObject* e);
133 virtual void moveRange();
134 virtual void wheelMove(
double delta);
136 virtual int changeRangeFor(
const DtString& et,
double fromRange,
double toRange);
137 virtual int changeRangeFor(
PlotData& pd,
double fromRange,
double toRange);
139 virtual int changeRangeForColumn(
const DtString& et,
int column,
double toRange);
140 virtual int changeRangeForColumn(
PlotData& pd,
int column,
double toRange);
142 virtual void removeRange(
PlotData& pd,
int currentColumn);
146 virtual void createBasicCoefficientTable(
const DtEntityType&);
147 virtual void createBasicRangeTable(
const DtEntityType&);
149 virtual void setupGraphDataFor(
const DtString&);
150 virtual QString graphDataTitle()
const;
151 virtual void setGraphDataTitle(
const QString&);
153 virtual void createChoiceRadioButtons();
154 virtual void clearGraphData();
155 virtual void clearAllData();
156 virtual void setupEntriesFrom(
const std::vector<DtReaderWriter*>&);
158 virtual void hitTableChanged(
const QString& reason =
"");
159 virtual void addGraphDataCanvas();
160 virtual void clearPlotLines();
161 virtual void clearEntityTypes();
162 virtual void changeEquation();
167 virtual void replotGraph();
168 virtual bool multiLinesPerGraph()
const;
172 virtual void sectionDoubleClicked(
int);
173 virtual void legendClicked(
const QVariant&,
int);
174 virtual void selectCurve(
const QPointF&);
175 virtual void changeHitPercentage();
176 virtual void plotLineSelected();
177 virtual void addEntityType();
178 virtual void removeEntityType();
179 virtual void editEntityType();
181 virtual void addRange();
182 virtual void editRange();
183 virtual void removeRange();
184 virtual void graphDataSelectionChanged();
185 virtual void hitTableChoiceChanged();
186 virtual void copyHitTable();
187 virtual void onAssignAsAttacker();
188 virtual void changeEquationType();
189 virtual void quickAddHitTableEntry();
229 typedef std::map<DtString, QListWidgetItem*>
ItemsMap;
236 std::map<DtString, DtDetectionPrbRangeCalcEntry*>
myToPlot;
DtRangeProbEntry is an abstract class whose deriving classes will have one of the two forms of DtPrbD...
Definition: rangeProbEntry.h:19
Definition: entityMapperKey.h:23
virtual void createControls(QWidget *parent)
If additional widgets or connections need to be made do it here. The parent is the myWidget member...
virtual void setFromParameters(DtReaderWriter *parentRw)
Calls setFromParameters with std::vector of parameter.
virtual void processUiEvent(const DtUiElementEvent &)
Process ui event. Default does nothing.
Definition: uiElement.h:231
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:185
Definition: objectType.h:27
Add the ability to set decimals to cursor text.
Definition: plotPicker.h:10
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtDetectionPrbRangeCalcEntry is the derived form of DtRangeProbEntry that has a DtPrbCoefficientsDete...
Definition: detectionPrbRangeCalcEntry.h:23
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual void setEnabled(bool)
If this item is not enabled it cannot be modified.
Base class to provide boost signal/slot management.
The DtUiElement class is the base for which all UI elements are defined. If you wish to create a new ...
Definition: uiElement.h:97
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:70
DtDetectionPrbRangeLookupEntry is the derived form of DtRangeProbEntry that has a DtPrbStepFunctionDe...
Definition: detectionPrbRangeLookupEntry.h:23
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:33
Base class of the ui element class chain. Properties available through designer for all ui elements a...
Definition: uiElement.h:180