Commits

Benjamin Wohlwend committed 98073d1

Cleanup the HTML generated by QtDesigner

Comments (0)

Files changed (8)

src/undercover/gui/designer/Ui_about.py

 
 # Form implementation generated from reading ui file 'aboutdialog.ui'
 #
-#      by: PyQt4 UI code generator 4.4.4
+#      by: PyQt4 UI code generator 4.5-snapshot-20090529
 #
 # WARNING! All changes made in this file will be lost!
 

src/undercover/gui/designer/Ui_editor.py

 
 # Form implementation generated from reading ui file 'editor.ui'
 #
-#      by: PyQt4 UI code generator 4.4.4
+#      by: PyQt4 UI code generator 4.5-snapshot-20090529
 #
 # WARNING! All changes made in this file will be lost!
 

src/undercover/gui/designer/Ui_export.py

 
 # Form implementation generated from reading ui file 'export_dialog.ui'
 #
-#      by: PyQt4 UI code generator 4.4.4
+#      by: PyQt4 UI code generator 4.5-snapshot-20090529
 #
 # WARNING! All changes made in this file will be lost!
 
 
     def retranslateUi(self, ExportDialog):
         ExportDialog.setWindowTitle(QtGui.QApplication.translate("ExportDialog", "Export", None, QtGui.QApplication.UnicodeUTF8))
-        self.title.setText(QtGui.QApplication.translate("ExportDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
-"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
-"p, li { white-space: pre-wrap; }\n"
-"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
-"<p style=\" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:xx-large; font-weight:600;\"><span style=\" font-size:xx-large;\">Export</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+        self.title.setText(QtGui.QApplication.translate("ExportDialog", "<h1>Export</h1>", None, QtGui.QApplication.UnicodeUTF8))
         self.label.setText(QtGui.QApplication.translate("ExportDialog", "<p >When you click start, underCover will parse your iTunes Media Library and copy the artwork for every album to its physical location on disk.</p>\n"
 "<p><b>Please note</b>: this only makes sense if you have every album in its own folder.</p>", None, QtGui.QApplication.UnicodeUTF8))
         self.label_export__filename.setText(QtGui.QApplication.translate("ExportDialog", "Filename", None, QtGui.QApplication.UnicodeUTF8))

src/undercover/gui/designer/Ui_mainwindow.py

 
 # Form implementation generated from reading ui file 'mainwindow.ui'
 #
-#      by: PyQt4 UI code generator 4.4.4
+#      by: PyQt4 UI code generator 4.5-snapshot-20090529
 #
 # WARNING! All changes made in this file will be lost!
 

src/undercover/gui/designer/Ui_proxy.py

 
 # Form implementation generated from reading ui file 'proxyconfig.ui'
 #
-#      by: PyQt4 UI code generator 4.4.4
+#      by: PyQt4 UI code generator 4.5-snapshot-20090529
 #
 # WARNING! All changes made in this file will be lost!
 

src/undercover/gui/designer/Ui_settings.py

 
 # Form implementation generated from reading ui file 'settingsdialog.ui'
 #
-#      by: PyQt4 UI code generator 4.4.4
+#      by: PyQt4 UI code generator 4.5-snapshot-20090529
 #
 # WARNING! All changes made in this file will be lost!
 
 
     def retranslateUi(self, settings_dialog):
         settings_dialog.setWindowTitle(QtGui.QApplication.translate("settings_dialog", "Settings", None, QtGui.QApplication.UnicodeUTF8))
-        self.label.setText(QtGui.QApplication.translate("settings_dialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
-"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
-"p, li { white-space: pre-wrap; }\n"
-"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
-"<p style=\" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:xx-large; font-weight:600;\"><span style=\" font-size:xx-large;\">Main Settings</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+        self.label.setText(QtGui.QApplication.translate("settings_dialog", "<h1>Main Settings</h1>", None, QtGui.QApplication.UnicodeUTF8))
         self.label_2.setText(QtGui.QApplication.translate("settings_dialog", "<h2>Network</h2>", None, QtGui.QApplication.UnicodeUTF8))
         self.label_3.setText(QtGui.QApplication.translate("settings_dialog", "Enable underCover Proxy at application start", None, QtGui.QApplication.UnicodeUTF8))
         self.label_4.setText(QtGui.QApplication.translate("settings_dialog", "Custom proxy settings", None, QtGui.QApplication.UnicodeUTF8))
         self.main__fetch_all_neg.setText(QtGui.QApplication.translate("settings_dialog", "Only fetch artwork for albums without \'best match\'", None, QtGui.QApplication.UnicodeUTF8))
         self.main__fetch_all.setText(QtGui.QApplication.translate("settings_dialog", "Fetch artwork for all albums", None, QtGui.QApplication.UnicodeUTF8))
         self.settings_tabs.setTabText(self.settings_tabs.indexOf(self.main_settings_tab), QtGui.QApplication.translate("settings_dialog", "Main Settings", None, QtGui.QApplication.UnicodeUTF8))
-        self.label_11.setText(QtGui.QApplication.translate("settings_dialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
-"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
-"p, li { white-space: pre-wrap; }\n"
-"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
-"<p style=\" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:xx-large; font-weight:600;\"><span style=\" font-size:xx-large;\">Fetchers</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+        self.label_11.setText(QtGui.QApplication.translate("settings_dialog", "<h1>Fetchers</h1>", None, QtGui.QApplication.UnicodeUTF8))
         self.label_14.setText(QtGui.QApplication.translate("settings_dialog", "<h2>iTunes</h2>", None, QtGui.QApplication.UnicodeUTF8))
         self.label_16.setText(QtGui.QApplication.translate("settings_dialog", "Cache iTunes server responses", None, QtGui.QApplication.UnicodeUTF8))
         self.label_iTunes__library_path.setText(QtGui.QApplication.translate("settings_dialog", "Library path", None, QtGui.QApplication.UnicodeUTF8))

src/undercover/gui/designer/export_dialog.ui

    <item>
     <widget class="QLabel" name="title" >
      <property name="text" >
-      <string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
-&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
-p, li { white-space: pre-wrap; }
-&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
-&lt;p style=" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:xx-large; font-weight:600;">&lt;span style=" font-size:xx-large;">Export&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
+      <string>&lt;h1>Export&lt;/h1></string>
      </property>
      <property name="alignment" >
       <set>Qt::AlignCenter</set>

src/undercover/gui/designer/settingsdialog.ui

               <item>
                <widget class="QLabel" name="label" >
                 <property name="text" >
-                 <string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
-&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
-p, li { white-space: pre-wrap; }
-&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
-&lt;p style=" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:xx-large; font-weight:600;">&lt;span style=" font-size:xx-large;">Main Settings&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
+                 <string>&lt;h1>Main Settings&lt;/h1></string>
                 </property>
                 <property name="textFormat" >
                  <enum>Qt::RichText</enum>
            <item>
             <widget class="QLabel" name="label_11" >
              <property name="text" >
-              <string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
-&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
-p, li { white-space: pre-wrap; }
-&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
-&lt;p style=" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:xx-large; font-weight:600;">&lt;span style=" font-size:xx-large;">Fetchers&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
+              <string>&lt;h1>Fetchers&lt;/h1></string>
              </property>
              <property name="textFormat" >
               <enum>Qt::RichText</enum>