Refactoring.

Code style.
This commit is contained in:
Roman Telezhynskyi 2024-03-14 13:35:48 +02:00
parent 3dfc62e99a
commit 4d849163fb

View File

@ -47,7 +47,6 @@ enum class RestrictDimension: qint8
Third = 2 Third = 2
}; };
class DialogRestrictDimension : public QDialog class DialogRestrictDimension : public QDialog
{ {
Q_OBJECT // NOLINT Q_OBJECT // NOLINT
@ -94,11 +93,11 @@ private:
void FillBases(const QVector<qreal> &bases, const MeasurementDimension_p &dimension, QComboBox *control) const; void FillBases(const QVector<qreal> &bases, const MeasurementDimension_p &dimension, QComboBox *control) const;
void FillBase(double base, const MeasurementDimension_p &dimension, QComboBox *control) const; void FillBase(double base, const MeasurementDimension_p &dimension, QComboBox *control) const;
static auto FillDimensionXBases(const QVector<qreal> &bases, static auto FillDimensionXBases(const QVector<qreal> &bases, const MeasurementDimension_p &dimension)
const MeasurementDimension_p &dimension) -> QStringList; -> QStringList;
auto FillDimensionYBases(const QVector<qreal> &bases, const MeasurementDimension_p &dimension) const -> QStringList; auto FillDimensionYBases(const QVector<qreal> &bases, const MeasurementDimension_p &dimension) const -> QStringList;
auto FillDimensionWZBases(const QVector<qreal> &bases, auto FillDimensionWZBases(const QVector<qreal> &bases, const MeasurementDimension_p &dimension) const
const MeasurementDimension_p &dimension) const -> QStringList; -> QStringList;
auto DimensionLabels(const QVector<qreal> &bases, const MeasurementDimension_p &dimension) const -> QStringList; auto DimensionLabels(const QVector<qreal> &bases, const MeasurementDimension_p &dimension) const -> QStringList;
auto DimensionRestrictedValues(const MeasurementDimension_p &dimension) const -> QVector<qreal>; auto DimensionRestrictedValues(const MeasurementDimension_p &dimension) const -> QVector<qreal>;