File indexing completed on 2022-11-22 12:51:03

0001 /*
0002     SPDX-FileCopyrightText: 2011 Rebetez Etienne <etienne.rebetez@oberwallis.ch>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef UNITSETTINGSDIALOG_H
0008 #define UNITSETTINGSDIALOG_H
0009 
0010 #include "kalziumunitcombobox.h"
0011 #include <QWidget>
0012 
0013 class UnitSettingsDialog : public QWidget
0014 {
0015 public:
0016     explicit UnitSettingsDialog(QWidget *parent = nullptr);
0017     ~UnitSettingsDialog() override;
0018 
0019     int getLenghtUnitId() const;
0020 
0021     int getEnergyUnitId() const;
0022 
0023     int getTemperatureUnitId() const;
0024 
0025 private:
0026     KalziumUnitCombobox *m_comboBoxLengthUnit = nullptr;
0027     KalziumUnitCombobox *m_comboBoxLEnergiesUnit = nullptr;
0028     KalziumUnitCombobox *m_comboBoxLTemperatureUnit = nullptr;
0029 };
0030 
0031 #endif // UNITSETTINGSDIALOG_H