diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-06-16 17:28:08 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-06-16 17:28:08 +0000 |
commit | 8a9baf2c4c7f12c3d20e625ab2d7dccc59bb337d (patch) | |
tree | 2d114cc25638beefafb07796b058e779609206a0 /qt-recordmydesktop/src | |
parent | 23a14fe22674e9f62848f56ad01158dce149913f (diff) |
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
Diffstat (limited to 'qt-recordmydesktop/src')
-rw-r--r-- | qt-recordmydesktop/src/rmdPrefsWidget.py | 7 |
1 files changed, 5 insertions, 2 deletions
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]) |