Change checkbox short circuit to method

This commit is contained in:
Desmis
2019-11-01 11:02:47 +01:00
parent d84b9ec0f9
commit 0de7b5bacf
12 changed files with 150 additions and 17 deletions

View File

@@ -73,6 +73,7 @@ public:
bool deltae;
bool shortc;
bool savrest;
int mergeMethod; // 0 = None, 1 = short circuit, 2 = original
};
/**
@@ -111,6 +112,7 @@ public:
bool deltae;
bool shortc;
bool savrest;
bool mergeMethod;
};
/**
@@ -267,6 +269,7 @@ private:
void shapeChanged();
void spotMethodChanged();
void shapeMethodChanged();
void mergeMethodChanged();
void qualityMethodChanged();
void updateParamVisibility();
void adjusterChanged(Adjuster* a, double newval);
@@ -336,6 +339,7 @@ private:
Gtk::TreeModelColumn<bool> deltae;
Gtk::TreeModelColumn<bool> shortc;
Gtk::TreeModelColumn<bool> savrest;
Gtk::TreeModelColumn<int> mergeMethod; // 0 = None, 1 = short cir, 2 = original
};
class RenameDialog:
@@ -382,6 +386,8 @@ private:
sigc::connection shapeMethodconn_;
MyComboBoxText* const qualityMethod_;
sigc::connection qualityMethodconn_;
MyComboBoxText* const mergeMethod_;
sigc::connection mergeMethodconn_;
Adjuster* const sensiexclu_;
Adjuster* const structexclu_;