diff options
Diffstat (limited to 'qt-recordmydesktop/src/rmdPrefsWidget.py')
-rw-r--r-- | qt-recordmydesktop/src/rmdPrefsWidget.py | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/qt-recordmydesktop/src/rmdPrefsWidget.py b/qt-recordmydesktop/src/rmdPrefsWidget.py index 09db5b5..407a9f4 100644 --- a/qt-recordmydesktop/src/rmdPrefsWidget.py +++ b/qt-recordmydesktop/src/rmdPrefsWidget.py @@ -42,7 +42,7 @@ from rmdStrings import * class prefsWidget(object): def __tooltips__(self): - for i in range(17): + for i in range(18): self.labels[i].setToolTip(htmlize(prefTooltipLabels[i])) self.jack_button.setToolTip(htmlize(prefJacktip)) self.jack_lsp_label.setToolTip(htmlize(prefJacktip)) @@ -59,6 +59,7 @@ class prefsWidget(object): self.values[9]=self.deviceEntry.text().replace(' ','') self.values[12]=self.displayEntry.text().replace(' ','') self.values[13]=self.sharedComboBox.currentIndex() + self.values[14]=self.areaResetComboBox.currentIndex() self.values[16]=self.quickComboBox.currentIndex() self.values[17]=self.workdirEntry.text() self.values[18]=self.onTheFlyComboBox.currentIndex() @@ -210,7 +211,7 @@ class prefsWidget(object): self.boxes[9].insertWidget(-1,self.deviceEntry) #misc page - for i in xrange(10,17): + for i in xrange(10,18): self.labels[i]=QtGui.QLabel(prefLabelStrings[i],self.tabWidgets[3]) self.labels[i].setAlignment(QtCore.Qt.AlignLeft) self.boxes[i]=QtGui.QHBoxLayout() @@ -255,8 +256,14 @@ class prefsWidget(object): self.rFrameComboBox.setCurrentIndex(self.values[25]) self.boxes[15].insertWidget(-1,self.rFrameComboBox) + self.areaResetComboBox = QtGui.QComboBox(self.tabWidgets[3]) + for i in range(2): + self.areaResetComboBox.addItem(prefStateStrings[i]) + self.areaResetComboBox.setCurrentIndex(self.values[14]) + self.boxes[16].insertWidget(-1,self.areaResetComboBox) + self.extraOptsEntry= QtGui.QLineEdit(self.values[26]) - self.boxes[16].insertWidget(-1,self.extraOptsEntry) + self.boxes[17].insertWidget(-1,self.extraOptsEntry) for i in range(4): self.tabWidgets[i].setLayout(self.labelbox[i]) |