mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Typo: Threshould -> Threshold
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
85ac3106e6
commit
14e6c132c8
3 changed files with 3 additions and 3 deletions
|
@ -1037,7 +1037,7 @@ void PartialPressureGasItem::paint(QPainter *painter, const QStyleOptionGraphics
|
||||||
painter->restore();
|
painter->restore();
|
||||||
}
|
}
|
||||||
|
|
||||||
void PartialPressureGasItem::setThreshouldSettingsKey(double *prefPointerMin, double *prefPointerMax)
|
void PartialPressureGasItem::setThresholdSettingsKey(double *prefPointerMin, double *prefPointerMax)
|
||||||
{
|
{
|
||||||
thresholdPtrMin = prefPointerMin;
|
thresholdPtrMin = prefPointerMin;
|
||||||
thresholdPtrMax = prefPointerMax;
|
thresholdPtrMax = prefPointerMax;
|
||||||
|
|
|
@ -216,7 +216,7 @@ public:
|
||||||
PartialPressureGasItem();
|
PartialPressureGasItem();
|
||||||
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
|
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
|
||||||
virtual void modelDataChanged(const QModelIndex &topLeft = QModelIndex(), const QModelIndex &bottomRight = QModelIndex());
|
virtual void modelDataChanged(const QModelIndex &topLeft = QModelIndex(), const QModelIndex &bottomRight = QModelIndex());
|
||||||
void setThreshouldSettingsKey(double *prefPointerMin, double *prefPointerMax);
|
void setThresholdSettingsKey(double *prefPointerMin, double *prefPointerMax);
|
||||||
void setVisibilitySettingsKey(const QString &setVisibilitySettingsKey);
|
void setVisibilitySettingsKey(const QString &setVisibilitySettingsKey);
|
||||||
void setColors(const QColor &normalColor, const QColor &alertColor);
|
void setColors(const QColor &normalColor, const QColor &alertColor);
|
||||||
|
|
||||||
|
|
|
@ -359,7 +359,7 @@ void ProfileWidget2::createPPGas(PartialPressureGasItem *item, int verticalColum
|
||||||
double *thresholdSettingsMin, double *thresholdSettingsMax)
|
double *thresholdSettingsMin, double *thresholdSettingsMax)
|
||||||
{
|
{
|
||||||
setupItem(item, gasYAxis, verticalColumn, DivePlotDataModel::TIME, 0);
|
setupItem(item, gasYAxis, verticalColumn, DivePlotDataModel::TIME, 0);
|
||||||
item->setThreshouldSettingsKey(thresholdSettingsMin, thresholdSettingsMax);
|
item->setThresholdSettingsKey(thresholdSettingsMin, thresholdSettingsMax);
|
||||||
item->setColors(getColor(color, isGrayscale), getColor(colorAlert, isGrayscale));
|
item->setColors(getColor(color, isGrayscale), getColor(colorAlert, isGrayscale));
|
||||||
item->settingsChanged();
|
item->settingsChanged();
|
||||||
item->setZValue(99);
|
item->setZValue(99);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue