Regenerate .py files from corresponding .ui files

This commit is contained in:
Laurent Monin
2014-04-07 16:48:31 +02:00
parent 7d1875ebe8
commit 865722cbe1
27 changed files with 117 additions and 366 deletions

View File

@@ -1,117 +1,99 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'options_lastfm.ui'
#
# Created: Sun May 13 11:18:12 2007
# by: PyQt4 UI code generator 4.1
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
import sys
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
class Ui_LastfmOptionsPage(object):
def setupUi(self, LastfmOptionsPage):
LastfmOptionsPage.setObjectName("LastfmOptionsPage")
LastfmOptionsPage.resize(QtCore.QSize(QtCore.QRect(0,0,305,317).size()).expandedTo(LastfmOptionsPage.minimumSizeHint()))
LastfmOptionsPage.setObjectName(_fromUtf8("LastfmOptionsPage"))
LastfmOptionsPage.resize(305, 317)
self.vboxlayout = QtGui.QVBoxLayout(LastfmOptionsPage)
self.vboxlayout.setMargin(9)
self.vboxlayout.setSpacing(6)
self.vboxlayout.setObjectName("vboxlayout")
self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
self.rename_files = QtGui.QGroupBox(LastfmOptionsPage)
self.rename_files.setObjectName("rename_files")
self.rename_files.setObjectName(_fromUtf8("rename_files"))
self.vboxlayout1 = QtGui.QVBoxLayout(self.rename_files)
self.vboxlayout1.setMargin(9)
self.vboxlayout1.setSpacing(2)
self.vboxlayout1.setObjectName("vboxlayout1")
self.vboxlayout1.setObjectName(_fromUtf8("vboxlayout1"))
self.use_track_tags = QtGui.QCheckBox(self.rename_files)
self.use_track_tags.setObjectName("use_track_tags")
self.use_track_tags.setObjectName(_fromUtf8("use_track_tags"))
self.vboxlayout1.addWidget(self.use_track_tags)
self.use_artist_tags = QtGui.QCheckBox(self.rename_files)
self.use_artist_tags.setObjectName("use_artist_tags")
self.use_artist_tags.setObjectName(_fromUtf8("use_artist_tags"))
self.vboxlayout1.addWidget(self.use_artist_tags)
self.vboxlayout.addWidget(self.rename_files)
self.rename_files_2 = QtGui.QGroupBox(LastfmOptionsPage)
self.rename_files_2.setObjectName("rename_files_2")
self.rename_files_2.setObjectName(_fromUtf8("rename_files_2"))
self.vboxlayout2 = QtGui.QVBoxLayout(self.rename_files_2)
self.vboxlayout2.setMargin(9)
self.vboxlayout2.setSpacing(2)
self.vboxlayout2.setObjectName("vboxlayout2")
self.vboxlayout2.setObjectName(_fromUtf8("vboxlayout2"))
self.ignore_tags_2 = QtGui.QLabel(self.rename_files_2)
self.ignore_tags_2.setObjectName("ignore_tags_2")
self.ignore_tags_2.setObjectName(_fromUtf8("ignore_tags_2"))
self.vboxlayout2.addWidget(self.ignore_tags_2)
self.ignore_tags = QtGui.QLineEdit(self.rename_files_2)
self.ignore_tags.setObjectName("ignore_tags")
self.ignore_tags.setObjectName(_fromUtf8("ignore_tags"))
self.vboxlayout2.addWidget(self.ignore_tags)
self.hboxlayout = QtGui.QHBoxLayout()
self.hboxlayout.setMargin(0)
self.hboxlayout.setSpacing(6)
self.hboxlayout.setObjectName("hboxlayout")
self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
self.ignore_tags_4 = QtGui.QLabel(self.rename_files_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(5),QtGui.QSizePolicy.Policy(5))
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(5), QtGui.QSizePolicy.Policy(5))
sizePolicy.setHorizontalStretch(4)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.ignore_tags_4.sizePolicy().hasHeightForWidth())
self.ignore_tags_4.setSizePolicy(sizePolicy)
self.ignore_tags_4.setObjectName("ignore_tags_4")
self.ignore_tags_4.setObjectName(_fromUtf8("ignore_tags_4"))
self.hboxlayout.addWidget(self.ignore_tags_4)
self.join_tags = QtGui.QComboBox(self.rename_files_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(5),QtGui.QSizePolicy.Policy(0))
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(5), QtGui.QSizePolicy.Policy(0))
sizePolicy.setHorizontalStretch(1)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.join_tags.sizePolicy().hasHeightForWidth())
self.join_tags.setSizePolicy(sizePolicy)
self.join_tags.setEditable(True)
self.join_tags.setObjectName("join_tags")
self.join_tags.addItem("")
self.join_tags.setObjectName(_fromUtf8("join_tags"))
self.join_tags.addItem(_fromUtf8(""))
self.join_tags.setItemText(0, _fromUtf8(""))
self.join_tags.addItem(_fromUtf8(""))
self.join_tags.addItem(_fromUtf8(""))
self.hboxlayout.addWidget(self.join_tags)
self.vboxlayout2.addLayout(self.hboxlayout)
self.hboxlayout1 = QtGui.QHBoxLayout()
self.hboxlayout1.setMargin(0)
self.hboxlayout1.setSpacing(6)
self.hboxlayout1.setObjectName("hboxlayout1")
self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1"))
self.label_4 = QtGui.QLabel(self.rename_files_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(5))
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7), QtGui.QSizePolicy.Policy(5))
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
self.label_4.setSizePolicy(sizePolicy)
self.label_4.setObjectName("label_4")
self.label_4.setObjectName(_fromUtf8("label_4"))
self.hboxlayout1.addWidget(self.label_4)
self.min_tag_usage = QtGui.QSpinBox(self.rename_files_2)
self.min_tag_usage.setMaximum(100)
self.min_tag_usage.setObjectName("min_tag_usage")
self.min_tag_usage.setObjectName(_fromUtf8("min_tag_usage"))
self.hboxlayout1.addWidget(self.min_tag_usage)
self.vboxlayout2.addLayout(self.hboxlayout1)
self.vboxlayout.addWidget(self.rename_files_2)
spacerItem = QtGui.QSpacerItem(263,21,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
spacerItem = QtGui.QSpacerItem(263, 21, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.vboxlayout.addItem(spacerItem)
self.label_4.setBuddy(self.min_tag_usage)
self.retranslateUi(LastfmOptionsPage)
QtCore.QMetaObject.connectSlotsByName(LastfmOptionsPage)
LastfmOptionsPage.setTabOrder(self.use_track_tags,self.ignore_tags)
LastfmOptionsPage.setTabOrder(self.use_track_tags, self.ignore_tags)
def retranslateUi(self, LastfmOptionsPage):
self.rename_files.setTitle(_("Last.fm"))
@@ -120,7 +102,8 @@ class Ui_LastfmOptionsPage(object):
self.rename_files_2.setTitle(_("Tags"))
self.ignore_tags_2.setText(_("Ignore tags:"))
self.ignore_tags_4.setText(_("Join multiple tags with:"))
self.join_tags.addItem(_(" / "))
self.join_tags.addItem(_(", "))
self.join_tags.setItemText(1, _(" / "))
self.join_tags.setItemText(2, _(", "))
self.label_4.setText(_("Minimal tag usage:"))
self.min_tag_usage.setSuffix(_(" %"))

View File

@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'options_replaygain.ui'
#
# Created: Sun Jan 8 13:42:44 2012
# by: PyQt4 UI code generator 4.9
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui
@@ -14,9 +10,7 @@ try:
except AttributeError:
_fromUtf8 = lambda s: s
class Ui_ReplayGainOptionsPage(object):
def setupUi(self, ReplayGainOptionsPage):
ReplayGainOptionsPage.setObjectName(_fromUtf8("ReplayGainOptionsPage"))
ReplayGainOptionsPage.resize(305, 317)
@@ -62,9 +56,9 @@ class Ui_ReplayGainOptionsPage(object):
QtCore.QMetaObject.connectSlotsByName(ReplayGainOptionsPage)
def retranslateUi(self, ReplayGainOptionsPage):
self.replay_gain.setTitle(QtGui.QApplication.translate("ReplayGainOptionsPage", "Replay Gain", None, QtGui.QApplication.UnicodeUTF8))
self.label.setText(QtGui.QApplication.translate("ReplayGainOptionsPage", "Path to VorbisGain:", None, QtGui.QApplication.UnicodeUTF8))
self.label_2.setText(QtGui.QApplication.translate("ReplayGainOptionsPage", "Path to MP3Gain:", None, QtGui.QApplication.UnicodeUTF8))
self.label_3.setText(QtGui.QApplication.translate("ReplayGainOptionsPage", "Path to metaflac:", None, QtGui.QApplication.UnicodeUTF8))
self.label_4.setText(QtGui.QApplication.translate("ReplayGainOptionsPage", "Path to wvgain:", None, QtGui.QApplication.UnicodeUTF8))
self.replay_gain.setTitle(_("Replay Gain"))
self.label.setText(_("Path to VorbisGain:"))
self.label_2.setText(_("Path to MP3Gain:"))
self.label_3.setText(_("Path to metaflac:"))
self.label_4.setText(_("Path to wvgain:"))

View File

@@ -1,27 +1,14 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/cdlookup.ui'
#
# Created: Fri Nov 8 17:04:27 2013
# by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
_fromUtf8 = lambda s: s
class Ui_Dialog(object):
def setupUi(self, Dialog):

View File

@@ -1,27 +1,14 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/edittagdialog.ui'
#
# Created: Fri Nov 8 17:04:27 2013
# by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
_fromUtf8 = lambda s: s
class Ui_EditTagDialog(object):
def setupUi(self, EditTagDialog):

View File

@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/infodialog.ui'
#
# Created: Sat Jun 15 12:58:18 2013
# by: PyQt4 UI code generator 4.9.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui

View File

@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/infostatus.ui'
#
# Created: Thu Jun 27 19:18:14 2013
# by: PyQt4 UI code generator 4.9.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui

View File

@@ -1,27 +1,14 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options.ui'
#
# Created: Fri Nov 8 17:04:27 2013
# by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
_fromUtf8 = lambda s: s
class Ui_Dialog(object):
def setupUi(self, Dialog):

View File

@@ -1,27 +1,14 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options_about.ui'
#
# Created: Fri Nov 8 17:04:27 2013
# by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
_fromUtf8 = lambda s: s
class Ui_AboutOptionsPage(object):
def setupUi(self, AboutOptionsPage):

View File

@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options_advanced.ui'
#
# Created: Wed Dec 25 02:35:20 2013
# by: PyQt4 UI code generator 4.9.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui

View File

@@ -1,27 +1,14 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options_cdlookup.ui'
#
# Created: Fri Nov 8 17:04:27 2013
# by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
_fromUtf8 = lambda s: s
class Ui_CDLookupOptionsPage(object):
def setupUi(self, CDLookupOptionsPage):

View File

@@ -1,27 +1,14 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options_cdlookup_select.ui'
#
# Created: Fri Nov 8 17:04:27 2013
# by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
_fromUtf8 = lambda s: s
class Ui_CDLookupOptionsPage(object):
def setupUi(self, CDLookupOptionsPage):

View File

@@ -1,27 +1,14 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options_cover.ui'
#
# Created: Tue Mar 18 21:18:52 2014
# by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
_fromUtf8 = lambda s: s
class Ui_CoverOptionsPage(object):
def setupUi(self, CoverOptionsPage):

View File

@@ -1,27 +1,14 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options_fingerprinting.ui'
#
# Created: Fri Nov 8 17:04:27 2013
# by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
_fromUtf8 = lambda s: s
class Ui_FingerprintingOptionsPage(object):
def setupUi(self, FingerprintingOptionsPage):

View File

@@ -1,27 +1,14 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options_folksonomy.ui'
#
# Created: Fri Nov 8 17:04:27 2013
# by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
_fromUtf8 = lambda s: s
class Ui_FolksonomyOptionsPage(object):
def setupUi(self, FolksonomyOptionsPage):

View File

@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options_general.ui'
#
# Created: Mon Aug 5 21:56:23 2013
# by: PyQt4 UI code generator 4.9.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui

View File

@@ -1,27 +1,14 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options_interface.ui'
#
# Created: Fri Nov 8 17:04:27 2013
# by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
_fromUtf8 = lambda s: s
class Ui_InterfaceOptionsPage(object):
def setupUi(self, InterfaceOptionsPage):

View File

@@ -1,27 +1,14 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options_matching.ui'
#
# Created: Fri Nov 8 17:04:27 2013
# by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
_fromUtf8 = lambda s: s
class Ui_MatchingOptionsPage(object):
def setupUi(self, MatchingOptionsPage):

View File

@@ -1,27 +1,14 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options_metadata.ui'
#
# Created: Fri May 24 09:20:07 2013
# by: PyQt4 UI code generator 4.10.1
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
_fromUtf8 = lambda s: s
class Ui_MetadataOptionsPage(object):
def setupUi(self, MetadataOptionsPage):

View File

@@ -1,27 +1,14 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options_network.ui'
#
# Created: Tue Oct 22 09:34:33 2013
# by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
_fromUtf8 = lambda s: s
class Ui_NetworkOptionsPage(object):
def setupUi(self, NetworkOptionsPage):

View File

@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options_plugins.ui'
#
# Created: Tue May 29 19:44:15 2012
# by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui

View File

@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options_ratings.ui'
#
# Created: Tue May 29 19:44:15 2012
# by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui

View File

@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options_releases.ui'
#
# Created: Fri Jul 13 15:18:48 2012
# by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui
@@ -30,7 +26,7 @@ class Ui_ReleasesOptionsPage(object):
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
self.prefer_album_score = QtGui.QSlider(self.type_group)
self.prefer_album_score.setMaximum(100)
self.prefer_album_score.setProperty(_fromUtf8("value"), 50)
self.prefer_album_score.setProperty("value", 50)
self.prefer_album_score.setOrientation(QtCore.Qt.Horizontal)
self.prefer_album_score.setObjectName(_fromUtf8("prefer_album_score"))
self.gridLayout.addWidget(self.prefer_album_score, 0, 1, 1, 1)
@@ -39,7 +35,7 @@ class Ui_ReleasesOptionsPage(object):
self.gridLayout.addWidget(self.label_2, 0, 2, 1, 1)
self.prefer_single_score = QtGui.QSlider(self.type_group)
self.prefer_single_score.setMaximum(100)
self.prefer_single_score.setProperty(_fromUtf8("value"), 50)
self.prefer_single_score.setProperty("value", 50)
self.prefer_single_score.setOrientation(QtCore.Qt.Horizontal)
self.prefer_single_score.setObjectName(_fromUtf8("prefer_single_score"))
self.gridLayout.addWidget(self.prefer_single_score, 0, 3, 1, 1)
@@ -48,7 +44,7 @@ class Ui_ReleasesOptionsPage(object):
self.gridLayout.addWidget(self.label_3, 0, 4, 1, 1)
self.prefer_ep_score = QtGui.QSlider(self.type_group)
self.prefer_ep_score.setMaximum(100)
self.prefer_ep_score.setProperty(_fromUtf8("value"), 50)
self.prefer_ep_score.setProperty("value", 50)
self.prefer_ep_score.setOrientation(QtCore.Qt.Horizontal)
self.prefer_ep_score.setObjectName(_fromUtf8("prefer_ep_score"))
self.gridLayout.addWidget(self.prefer_ep_score, 0, 5, 1, 1)
@@ -57,7 +53,7 @@ class Ui_ReleasesOptionsPage(object):
self.gridLayout.addWidget(self.label_7, 1, 0, 1, 1)
self.prefer_compilation_score = QtGui.QSlider(self.type_group)
self.prefer_compilation_score.setMaximum(100)
self.prefer_compilation_score.setProperty(_fromUtf8("value"), 50)
self.prefer_compilation_score.setProperty("value", 50)
self.prefer_compilation_score.setOrientation(QtCore.Qt.Horizontal)
self.prefer_compilation_score.setObjectName(_fromUtf8("prefer_compilation_score"))
self.gridLayout.addWidget(self.prefer_compilation_score, 1, 1, 1, 1)
@@ -66,7 +62,7 @@ class Ui_ReleasesOptionsPage(object):
self.gridLayout.addWidget(self.label_8, 1, 2, 1, 1)
self.prefer_soundtrack_score = QtGui.QSlider(self.type_group)
self.prefer_soundtrack_score.setMaximum(100)
self.prefer_soundtrack_score.setProperty(_fromUtf8("value"), 50)
self.prefer_soundtrack_score.setProperty("value", 50)
self.prefer_soundtrack_score.setOrientation(QtCore.Qt.Horizontal)
self.prefer_soundtrack_score.setObjectName(_fromUtf8("prefer_soundtrack_score"))
self.gridLayout.addWidget(self.prefer_soundtrack_score, 1, 3, 1, 1)
@@ -75,7 +71,7 @@ class Ui_ReleasesOptionsPage(object):
self.gridLayout.addWidget(self.label_9, 1, 4, 1, 1)
self.prefer_spokenword_score = QtGui.QSlider(self.type_group)
self.prefer_spokenword_score.setMaximum(100)
self.prefer_spokenword_score.setProperty(_fromUtf8("value"), 50)
self.prefer_spokenword_score.setProperty("value", 50)
self.prefer_spokenword_score.setOrientation(QtCore.Qt.Horizontal)
self.prefer_spokenword_score.setObjectName(_fromUtf8("prefer_spokenword_score"))
self.gridLayout.addWidget(self.prefer_spokenword_score, 1, 5, 1, 1)
@@ -84,7 +80,7 @@ class Ui_ReleasesOptionsPage(object):
self.gridLayout.addWidget(self.label_10, 2, 0, 1, 1)
self.prefer_interview_score = QtGui.QSlider(self.type_group)
self.prefer_interview_score.setMaximum(100)
self.prefer_interview_score.setProperty(_fromUtf8("value"), 50)
self.prefer_interview_score.setProperty("value", 50)
self.prefer_interview_score.setOrientation(QtCore.Qt.Horizontal)
self.prefer_interview_score.setObjectName(_fromUtf8("prefer_interview_score"))
self.gridLayout.addWidget(self.prefer_interview_score, 2, 1, 1, 1)
@@ -93,7 +89,7 @@ class Ui_ReleasesOptionsPage(object):
self.gridLayout.addWidget(self.label_11, 2, 2, 1, 1)
self.prefer_audiobook_score = QtGui.QSlider(self.type_group)
self.prefer_audiobook_score.setMaximum(100)
self.prefer_audiobook_score.setProperty(_fromUtf8("value"), 50)
self.prefer_audiobook_score.setProperty("value", 50)
self.prefer_audiobook_score.setOrientation(QtCore.Qt.Horizontal)
self.prefer_audiobook_score.setObjectName(_fromUtf8("prefer_audiobook_score"))
self.gridLayout.addWidget(self.prefer_audiobook_score, 2, 3, 1, 1)
@@ -102,7 +98,7 @@ class Ui_ReleasesOptionsPage(object):
self.gridLayout.addWidget(self.label_12, 2, 4, 1, 1)
self.prefer_live_score = QtGui.QSlider(self.type_group)
self.prefer_live_score.setMaximum(100)
self.prefer_live_score.setProperty(_fromUtf8("value"), 50)
self.prefer_live_score.setProperty("value", 50)
self.prefer_live_score.setOrientation(QtCore.Qt.Horizontal)
self.prefer_live_score.setObjectName(_fromUtf8("prefer_live_score"))
self.gridLayout.addWidget(self.prefer_live_score, 2, 5, 1, 1)
@@ -111,7 +107,7 @@ class Ui_ReleasesOptionsPage(object):
self.gridLayout.addWidget(self.label_13, 3, 0, 1, 1)
self.prefer_remix_score = QtGui.QSlider(self.type_group)
self.prefer_remix_score.setMaximum(100)
self.prefer_remix_score.setProperty(_fromUtf8("value"), 50)
self.prefer_remix_score.setProperty("value", 50)
self.prefer_remix_score.setOrientation(QtCore.Qt.Horizontal)
self.prefer_remix_score.setObjectName(_fromUtf8("prefer_remix_score"))
self.gridLayout.addWidget(self.prefer_remix_score, 3, 1, 1, 1)

View File

@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options_renaming.ui'
#
# Created: Fri Jul 13 15:18:48 2012
# by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui
@@ -77,7 +73,7 @@ class Ui_RenamingOptionsPage(object):
font = QtGui.QFont()
font.setFamily(_fromUtf8("Monospace"))
self.file_naming_format.setFont(font)
self.file_naming_format.setProperty(_fromUtf8("cursor"), QtCore.Qt.IBeamCursor)
self.file_naming_format.viewport().setProperty("cursor", QtGui.QCursor(QtCore.Qt.IBeamCursor))
self.file_naming_format.setTabChangesFocus(False)
self.file_naming_format.setLineWrapMode(QtGui.QTextEdit.NoWrap)
self.file_naming_format.setTabStopWidth(20)

View File

@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/options_script.ui'
#
# Created: Tue May 29 19:44:14 2012
# by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui

View File

@@ -1,27 +1,14 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui\options_tags.ui'
#
# Created: Mon Jun 03 12:50:08 2013
# by: PyQt4 UI code generator 4.10.1
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
_fromUtf8 = lambda s: s
class Ui_TagsOptionsPage(object):
def setupUi(self, TagsOptionsPage):

View File

@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/passworddialog.ui'
#
# Created: Tue May 29 19:44:14 2012
# by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui

View File

@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/tagsfromfilenames.ui'
#
# Created: Tue May 29 19:44:15 2012
# by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt4 import QtCore, QtGui