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

0001 #ifndef KALZIUMCONFIGDIALOG_H
0002 #define KALZIUMCONFIGDIALOG_H
0003 
0004 #include <KConfigDialog>
0005 
0006 #include "isotopetablesettingsdialog.h"
0007 #include "unitsettingsdialog.h"
0008 
0009 class KalziumConfigDialog : public KConfigDialog
0010 {
0011     Q_OBJECT
0012 
0013 public:
0014     KalziumConfigDialog(QWidget *parent, const QString &name, KCoreConfigSkeleton *config);
0015 
0016     UnitSettingsDialog *m_unitsDialog = nullptr;
0017     IsotopeTableSettingsDialog *m_isotopeTableSettingsDialog = nullptr;
0018 
0019 private:
0020     bool hasChanged() override;
0021     bool isDefault() override;
0022 
0023 private
0024     Q_SLOT : void updateWidgetsDefault() override;
0025     void updateSettings() override;
0026 };
0027 
0028 #endif