summaryrefslogtreecommitdiff
path: root/qt-recordmydesktop/src/rmdPrefsWidget.py
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-07-08 15:49:23 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-07-08 15:49:23 +0000
commit7f399d7c3c68c67e34241f91a1c9776049ae3ca7 (patch)
tree0b9f20800a5f7b9345c18383dfd612ec2fb2f564 /qt-recordmydesktop/src/rmdPrefsWidget.py
parent16586bbc661ab6edafd819cb4cda0fda87d8be52 (diff)
rmdConfig.py.in, rmdPrefsWidget.py, rmdSimple.py,
rmdStrings.py, rmdTrayIcon.py: made area resting after every capture optional. The area is also saved in the options file, if reseting is disabled. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@376 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'qt-recordmydesktop/src/rmdPrefsWidget.py')
-rw-r--r--qt-recordmydesktop/src/rmdPrefsWidget.py13
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])
© All Rights Reserved