From 8a9baf2c4c7f12c3d20e625ab2d7dccc59bb337d Mon Sep 17 00:00:00 2001 From: iovar Date: Sat, 16 Jun 2007 17:28:08 +0000 Subject: rmdPrefsWidget.py: Added a text entry on the misc page named "Extra Options", through which users can specify arguments the same way as they would in the commandline. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@356 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- qt-recordmydesktop/src/rmdPrefsWidget.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'qt-recordmydesktop/src') diff --git a/qt-recordmydesktop/src/rmdPrefsWidget.py b/qt-recordmydesktop/src/rmdPrefsWidget.py index 75fe797..a995fe5 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(16): + for i in range(17): self.labels[i].setToolTip(htmlize(prefTooltipLabels[i])) self.jack_button.setToolTip(htmlize(prefJacktip)) self.jack_lsp_label.setToolTip(htmlize(prefJacktip)) @@ -75,6 +75,7 @@ class prefsWidget(object): self.__getSelectedPorts__() self.values[24]=self.tooltipsComboBox.currentIndex() self.values[25]=self.rFrameComboBox.currentIndex() + self.values[26]=str(self.extraOptsEntry.text().trimmed()) self.optionsOpen[0]=0 def __getSelectedPorts__(self): @@ -209,7 +210,7 @@ class prefsWidget(object): self.boxes[9].insertWidget(-1,self.deviceEntry) #misc page - for i in xrange(10,16): + for i in xrange(10,17): self.labels[i]=QtGui.QLabel(prefLabelStrings[i],self.tabWidgets[3]) self.labels[i].setAlignment(QtCore.Qt.AlignLeft) self.boxes[i]=QtGui.QHBoxLayout() @@ -254,6 +255,8 @@ class prefsWidget(object): self.rFrameComboBox.setCurrentIndex(self.values[25]) self.boxes[15].insertWidget(-1,self.rFrameComboBox) + self.extraOptsEntry= QtGui.QLineEdit(self.values[26]) + self.boxes[16].insertWidget(-1,self.extraOptsEntry) for i in range(4): self.tabWidgets[i].setLayout(self.labelbox[i]) -- cgit v1.2.3