QTfrontend/ui/page/pagescheme.h
branchui-scaling
changeset 15283 c4fd2813b127
parent 14262 72e9d69a5e4d
child 15628 e63748a3aa52
--- a/QTfrontend/ui/page/pagescheme.h	Wed May 16 18:22:28 2018 +0200
+++ b/QTfrontend/ui/page/pagescheme.h	Wed Jul 31 23:14:27 2019 +0200
@@ -23,6 +23,7 @@
 #include "togglebutton.h"
 
 class FreqSpinBox;
+class SDTimeoutSpinBox;
 class MinesTimeSpinBox;
 
 class PageScheme : public AbstractPage
@@ -80,7 +81,7 @@
         QSpinBox * SB_DamageModifier;
         QSpinBox * SB_TurnTime;
         QSpinBox * SB_InitHealth;
-        QSpinBox * SB_SuddenDeath;
+        SDTimeoutSpinBox * SB_SuddenDeath;
         QSpinBox * SB_WaterRise;
         QSpinBox * SB_HealthDecrease;
         FreqSpinBox * SB_CaseProb;
@@ -101,8 +102,13 @@
         QGroupBox * gbGameModes;
         QGroupBox * gbBasicSettings;
 
+        bool changingSchemes;
+
+        void checkDupe();
+
     private slots:
         void schemeSelected(int);
+        void dataChanged(QModelIndex topLeft, QModelIndex bottomRight);
 };
 
 #endif