aboutsummaryrefslogtreecommitdiff
path: root/mesongui.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesongui.py')
-rwxr-xr-xmesongui.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/mesongui.py b/mesongui.py
index 9d13e19..7d97028 100755
--- a/mesongui.py
+++ b/mesongui.py
@@ -245,11 +245,17 @@ class OptionForm:
combo.currentTextChanged.connect(self.build_type_changed)
self.form.addRow('Build type', combo)
strip = QCheckBox("")
+ strip.setChecked(self.coredata.strip)
strip.stateChanged.connect(self.strip_changed)
self.form.addRow('Strip on install', strip)
coverage = QCheckBox("")
+ coverage.setChecked(self.coredata.coverage)
coverage.stateChanged.connect(self.coverage_changed)
self.form.addRow('Enable coverage', coverage)
+ pch = QCheckBox("")
+ pch.setChecked(self.coredata.use_pch)
+ pch.stateChanged.connect(self.pch_changed)
+ self.form.addRow('Enable pch', pch)
def build_type_changed(self, newtype):
self.coredata.buildtype = newtype
@@ -268,6 +274,13 @@ class OptionForm:
ns = True
self.coredata.coverage = ns
+ def pch_changed(self, newState):
+ if newState == 0:
+ ns = False
+ else:
+ ns = True
+ self.coredata.use_pch = ns
+
class ProcessRunner():
def __init__(self, rundir, cmdlist):
self.cmdlist = cmdlist