From: Wido D. <wi...@us...> - 2005-08-15 13:55:19
|
Update of /cvsroot/luma/luma/lib/luma/base/utils/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31389/lib/luma/base/utils/gui Modified Files: ExportDialog.py Log Message: Added visual aid for entering bad filenames. Index: ExportDialog.py =================================================================== RCS file: /cvsroot/luma/luma/lib/luma/base/utils/gui/ExportDialog.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ExportDialog.py 1 Apr 2005 16:35:36 -0000 1.3 --- ExportDialog.py 15 Aug 2005 13:55:09 -0000 1.4 *************** *** 105,108 **** --- 105,113 ---- self.fileLabel.setText(self.trUtf8("Can't open file. Please check file system permissions.")) enable = False + + if enable: + self.fileEdit.unsetPalette() + else: + self.fileEdit.setPaletteBackgroundColor(Qt.red) self.startButton.setEnabled(enable) |