#include <chartproperties.h>
|
| enum | LabelFormatMode {
Decimals = 0
,
SignificantFigures = 1
,
Scientific = 2
,
Engineering = 3
,
Thousands = 4
} |
| | Axis label number mode; values mirror openswmmvis::plot::NumberFormatMode (0=Decimals, 1=SignificantFigures, 2=Scientific, 3=Engineering, 4=Thousands). More...
|
| |
| enum | AxisNumberFormat {
Integer = 0
,
Decimals1 = 1
,
Decimals2 = 2
,
Decimals3 = 3
,
Decimals4 = 4
,
Decimals6 = 5
,
SigFigs3 = 6
,
SigFigs4 = 7
,
SigFigs6 = 8
,
Scientific2 = 9
,
Scientific3 = 10
,
Scientific4 = 11
,
Engineering2 = 12
,
Engineering3 = 13
,
ThousandsInteger = 14
,
Thousands1 = 15
,
Thousands2 = 16
} |
| |
◆ AxisNumberFormat
Combined number format offered as ONE dropdown, replacing a mode enum plus a free integer count. Mirrors openswmmvis::plot:: AxisNumberFormatPreset value-for-value; QPropertyModel needs the enumerator list on the declaring class and labels each row with the enumerator name. numberformat.h owns the mapping to mode + digits.
| Enumerator |
|---|
| Integer | |
| Decimals1 | |
| Decimals2 | |
| Decimals3 | |
| Decimals4 | |
| Decimals6 | |
| SigFigs3 | |
| SigFigs4 | |
| SigFigs6 | |
| Scientific2 | |
| Scientific3 | |
| Scientific4 | |
| Engineering2 | |
| Engineering3 | |
| ThousandsInteger | |
| Thousands1 | |
| Thousands2 | |
◆ LabelFormatMode
Axis label number mode; values mirror openswmmvis::plot::NumberFormatMode (0=Decimals, 1=SignificantFigures, 2=Scientific, 3=Engineering, 4=Thousands).
| Enumerator |
|---|
| Decimals | |
| SignificantFigures | |
| Scientific | |
| Engineering | |
| Thousands | |
◆ ChartProperties()
| openswmmvis::plot::ChartProperties::ChartProperties |
( |
QChart * |
chart, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~ChartProperties()
| openswmmvis::plot::ChartProperties::~ChartProperties |
( |
| ) |
|
|
overridedefault |
◆ axisLabelFont()
| QFont openswmmvis::plot::ChartProperties::axisLabelFont |
( |
| ) |
const |
◆ axisLabelFontChanged
| void openswmmvis::plot::ChartProperties::axisLabelFontChanged |
( |
const QFont & |
| ) |
|
|
signal |
◆ backgroundColor()
| QColor openswmmvis::plot::ChartProperties::backgroundColor |
( |
| ) |
const |
◆ backgroundColorChanged
| void openswmmvis::plot::ChartProperties::backgroundColorChanged |
( |
const QColor & |
| ) |
|
|
signal |
◆ chart()
| QChart * openswmmvis::plot::ChartProperties::chart |
( |
| ) |
const |
|
inlinenoexcept |
◆ chartTheme()
| int openswmmvis::plot::ChartProperties::chartTheme |
( |
| ) |
const |
◆ chartThemeChanged
| void openswmmvis::plot::ChartProperties::chartThemeChanged |
( |
int |
| ) |
|
|
signal |
◆ displayLabelFor()
| QString openswmmvis::plot::ChartProperties::displayLabelFor |
( |
const QString & |
propertyName | ) |
const |
AT.3 polish — QPropertyModel hook for human-friendly, group-prefixed display labels in the Chart Properties dialog. Returns labels like "Title — Text", "Y Axis — Min", etc.
◆ displayLabelsChanged
| void openswmmvis::plot::ChartProperties::displayLabelsChanged |
( |
| ) |
|
|
signal |
◆ gridColor()
| QColor openswmmvis::plot::ChartProperties::gridColor |
( |
| ) |
const |
|
inlinenoexcept |
◆ gridColorChanged
| void openswmmvis::plot::ChartProperties::gridColorChanged |
( |
const QColor & |
| ) |
|
|
signal |
◆ plotAreaColor()
| QColor openswmmvis::plot::ChartProperties::plotAreaColor |
( |
| ) |
const |
◆ plotAreaColorChanged
| void openswmmvis::plot::ChartProperties::plotAreaColorChanged |
( |
const QColor & |
| ) |
|
|
signal |
◆ setAxisLabelFont
| void openswmmvis::plot::ChartProperties::setAxisLabelFont |
( |
const QFont & |
font | ) |
|
|
slot |
◆ setBackgroundColor
| void openswmmvis::plot::ChartProperties::setBackgroundColor |
( |
const QColor & |
c | ) |
|
|
slot |
◆ setChartTheme
| void openswmmvis::plot::ChartProperties::setChartTheme |
( |
int |
theme | ) |
|
|
slot |
◆ setGridColor
| void openswmmvis::plot::ChartProperties::setGridColor |
( |
const QColor & |
c | ) |
|
|
slot |
◆ setPlotAreaColor
| void openswmmvis::plot::ChartProperties::setPlotAreaColor |
( |
const QColor & |
c | ) |
|
|
slot |
◆ setStatisticsFormat
| void openswmmvis::plot::ChartProperties::setStatisticsFormat |
( |
const QString & |
spec | ) |
|
|
slot |
◆ setStatisticsFormatMode
◆ setStatisticsFormatPreset
◆ setStatisticsNumberFormat
| void openswmmvis::plot::ChartProperties::setStatisticsNumberFormat |
( |
const NumberFormat & |
format | ) |
|
|
slot |
◆ setStatisticsPrecision
| void openswmmvis::plot::ChartProperties::setStatisticsPrecision |
( |
int |
count | ) |
|
|
slot |
◆ setTickLabelFont
| void openswmmvis::plot::ChartProperties::setTickLabelFont |
( |
const QFont & |
font | ) |
|
|
slot |
◆ setTitleFont
| void openswmmvis::plot::ChartProperties::setTitleFont |
( |
const QFont & |
font | ) |
|
|
slot |
◆ setTitleText
| void openswmmvis::plot::ChartProperties::setTitleText |
( |
const QString & |
text | ) |
|
|
slot |
◆ setXAxisNumberFormat
◆ setXGridVisible
| void openswmmvis::plot::ChartProperties::setXGridVisible |
( |
bool |
on | ) |
|
|
slot |
◆ setXLabelFormat
| void openswmmvis::plot::ChartProperties::setXLabelFormat |
( |
const QString & |
spec | ) |
|
|
slot |
◆ setXLabelFormatMode
◆ setXLabelPrecision
| void openswmmvis::plot::ChartProperties::setXLabelPrecision |
( |
int |
count | ) |
|
|
slot |
◆ setYAutoRange
| void openswmmvis::plot::ChartProperties::setYAutoRange |
( |
bool |
on | ) |
|
|
slot |
◆ setYAxisNumberFormat
◆ setYGridVisible
| void openswmmvis::plot::ChartProperties::setYGridVisible |
( |
bool |
on | ) |
|
|
slot |
◆ setYLabelFormat
| void openswmmvis::plot::ChartProperties::setYLabelFormat |
( |
const QString & |
spec | ) |
|
|
slot |
◆ setYLabelFormatMode
◆ setYLabelPrecision
| void openswmmvis::plot::ChartProperties::setYLabelPrecision |
( |
int |
count | ) |
|
|
slot |
◆ setYMax
| void openswmmvis::plot::ChartProperties::setYMax |
( |
qreal |
v | ) |
|
|
slot |
◆ setYMin
| void openswmmvis::plot::ChartProperties::setYMin |
( |
qreal |
v | ) |
|
|
slot |
◆ statisticsFormat()
| QString openswmmvis::plot::ChartProperties::statisticsFormat |
( |
| ) |
const |
|
inline |
◆ statisticsFormatChanged
| void openswmmvis::plot::ChartProperties::statisticsFormatChanged |
( |
const QString & |
| ) |
|
|
signal |
◆ statisticsFormatMode()
| LabelFormatMode openswmmvis::plot::ChartProperties::statisticsFormatMode |
( |
| ) |
const |
|
inlinenoexcept |
◆ statisticsFormatModeChanged
◆ statisticsFormatPreset()
◆ statisticsFormatPresetChanged
◆ statisticsNumberFormat()
| NumberFormat openswmmvis::plot::ChartProperties::statisticsNumberFormat |
( |
| ) |
const |
|
noexcept |
◆ statisticsPrecision()
| int openswmmvis::plot::ChartProperties::statisticsPrecision |
( |
| ) |
const |
|
inlinenoexcept |
◆ statisticsPrecisionChanged
| void openswmmvis::plot::ChartProperties::statisticsPrecisionChanged |
( |
int |
| ) |
|
|
signal |
◆ tickLabelFont()
| QFont openswmmvis::plot::ChartProperties::tickLabelFont |
( |
| ) |
const |
◆ tickLabelFontChanged
| void openswmmvis::plot::ChartProperties::tickLabelFontChanged |
( |
const QFont & |
| ) |
|
|
signal |
◆ titleFont()
| QFont openswmmvis::plot::ChartProperties::titleFont |
( |
| ) |
const |
◆ titleFontChanged
| void openswmmvis::plot::ChartProperties::titleFontChanged |
( |
const QFont & |
| ) |
|
|
signal |
◆ titleText()
| QString openswmmvis::plot::ChartProperties::titleText |
( |
| ) |
const |
◆ titleTextChanged
| void openswmmvis::plot::ChartProperties::titleTextChanged |
( |
const QString & |
| ) |
|
|
signal |
◆ xAxisNumberFormat()
Combined format per axis, derived from the mode + digit count that remain the internal representation.
◆ xAxisNumberFormatChanged
◆ xFormat()
| NumberFormat openswmmvis::plot::ChartProperties::xFormat |
( |
| ) |
const |
|
noexcept |
Current X/Y/statistics number format as the shared value type.
◆ xGridVisible()
| bool openswmmvis::plot::ChartProperties::xGridVisible |
( |
| ) |
const |
◆ xGridVisibleChanged
| void openswmmvis::plot::ChartProperties::xGridVisibleChanged |
( |
bool |
| ) |
|
|
signal |
◆ xLabelFormat()
| QString openswmmvis::plot::ChartProperties::xLabelFormat |
( |
| ) |
const |
|
inline |
◆ xLabelFormatChanged
| void openswmmvis::plot::ChartProperties::xLabelFormatChanged |
( |
const QString & |
| ) |
|
|
signal |
◆ xLabelFormatMode()
| LabelFormatMode openswmmvis::plot::ChartProperties::xLabelFormatMode |
( |
| ) |
const |
|
inlinenoexcept |
◆ xLabelFormatModeChanged
◆ xLabelPrecision()
| int openswmmvis::plot::ChartProperties::xLabelPrecision |
( |
| ) |
const |
|
inlinenoexcept |
◆ xLabelPrecisionChanged
| void openswmmvis::plot::ChartProperties::xLabelPrecisionChanged |
( |
int |
| ) |
|
|
signal |
◆ yAutoRange()
| bool openswmmvis::plot::ChartProperties::yAutoRange |
( |
| ) |
const |
|
inlinenoexcept |
◆ yAutoRangeChanged
| void openswmmvis::plot::ChartProperties::yAutoRangeChanged |
( |
bool |
| ) |
|
|
signal |
◆ yAxisNumberFormat()
◆ yAxisNumberFormatChanged
◆ yFormat()
| NumberFormat openswmmvis::plot::ChartProperties::yFormat |
( |
| ) |
const |
|
noexcept |
◆ yGridVisible()
| bool openswmmvis::plot::ChartProperties::yGridVisible |
( |
| ) |
const |
◆ yGridVisibleChanged
| void openswmmvis::plot::ChartProperties::yGridVisibleChanged |
( |
bool |
| ) |
|
|
signal |
◆ yLabelFormat()
| QString openswmmvis::plot::ChartProperties::yLabelFormat |
( |
| ) |
const |
|
inline |
◆ yLabelFormatChanged
| void openswmmvis::plot::ChartProperties::yLabelFormatChanged |
( |
const QString & |
| ) |
|
|
signal |
◆ yLabelFormatMode()
| LabelFormatMode openswmmvis::plot::ChartProperties::yLabelFormatMode |
( |
| ) |
const |
|
inlinenoexcept |
◆ yLabelFormatModeChanged
◆ yLabelPrecision()
| int openswmmvis::plot::ChartProperties::yLabelPrecision |
( |
| ) |
const |
|
inlinenoexcept |
◆ yLabelPrecisionChanged
| void openswmmvis::plot::ChartProperties::yLabelPrecisionChanged |
( |
int |
| ) |
|
|
signal |
◆ yMax()
| qreal openswmmvis::plot::ChartProperties::yMax |
( |
| ) |
const |
◆ yMaxChanged
| void openswmmvis::plot::ChartProperties::yMaxChanged |
( |
qreal |
| ) |
|
|
signal |
◆ yMin()
| qreal openswmmvis::plot::ChartProperties::yMin |
( |
| ) |
const |
◆ yMinChanged
| void openswmmvis::plot::ChartProperties::yMinChanged |
( |
qreal |
| ) |
|
|
signal |
◆ axisLabelFont
| QFont openswmmvis::plot::ChartProperties::axisLabelFont |
|
readwrite |
◆ backgroundColor
| QColor openswmmvis::plot::ChartProperties::backgroundColor |
|
readwrite |
◆ chartTheme
| int openswmmvis::plot::ChartProperties::chartTheme |
|
readwrite |
◆ gridColor
| QColor openswmmvis::plot::ChartProperties::gridColor |
|
readwrite |
◆ plotAreaColor
| QColor openswmmvis::plot::ChartProperties::plotAreaColor |
|
readwrite |
◆ statisticsFormat
| QString openswmmvis::plot::ChartProperties::statisticsFormat |
|
readwrite |
◆ statisticsFormatPreset
◆ tickLabelFont
| QFont openswmmvis::plot::ChartProperties::tickLabelFont |
|
readwrite |
◆ titleFont
| QFont openswmmvis::plot::ChartProperties::titleFont |
|
readwrite |
◆ titleText
| QString openswmmvis::plot::ChartProperties::titleText |
|
readwrite |
◆ xAxisNumberFormat
◆ xGridVisible
| bool openswmmvis::plot::ChartProperties::xGridVisible |
|
readwrite |
◆ xLabelFormat
| QString openswmmvis::plot::ChartProperties::xLabelFormat |
|
readwrite |
◆ yAutoRange
| bool openswmmvis::plot::ChartProperties::yAutoRange |
|
readwrite |
◆ yAxisNumberFormat
◆ yGridVisible
| bool openswmmvis::plot::ChartProperties::yGridVisible |
|
readwrite |
◆ yLabelFormat
| QString openswmmvis::plot::ChartProperties::yLabelFormat |
|
readwrite |
◆ yMax
| qreal openswmmvis::plot::ChartProperties::yMax |
|
readwrite |
◆ yMin
| qreal openswmmvis::plot::ChartProperties::yMin |
|
readwrite |
The documentation for this class was generated from the following files: