--- a/Preferences/ConfigurationPages/HelpInterfacePage.py Sun Mar 30 22:00:14 2014 +0200 +++ b/Preferences/ConfigurationPages/HelpInterfacePage.py Thu Apr 03 23:05:31 2014 +0200 @@ -17,6 +17,7 @@ import Preferences import Utilities +import UI.PixmapCache class HelpInterfacePage(ConfigurationPageBase, Ui_HelpInterfacePage): @@ -32,6 +33,8 @@ self.setupUi(self) self.setObjectName("InterfacePage") + self.styleSheetButton.setIcon(UI.PixmapCache.getIcon("open.png")) + self.styleSheetCompleter = E5FileCompleter(self.styleSheetEdit) # set initial values @@ -56,7 +59,7 @@ """ curStyle = Preferences.getUI("Style") styles = sorted(list(QStyleFactory.keys())) - self.styleComboBox.addItem(self.trUtf8('System'), "System") + self.styleComboBox.addItem(self.tr('System'), "System") for style in styles: self.styleComboBox.addItem(style, style) currentIndex = self.styleComboBox.findData(curStyle) @@ -71,9 +74,9 @@ """ file = E5FileDialog.getOpenFileName( self, - self.trUtf8("Select style sheet file"), + self.tr("Select style sheet file"), self.styleSheetEdit.text(), - self.trUtf8( + self.tr( "Qt Style Sheets (*.qss);;Cascading Style Sheets (*.css);;" "All files (*)"))