-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathui_options.py
More file actions
159 lines (153 loc) · 8.83 KB
/
Copy pathui_options.py
File metadata and controls
159 lines (153 loc) · 8.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# Form implementation generated from reading ui file 'ui_options.ui'
#
# Created by: PyQt6 UI code generator 6.9.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt6 import QtCore, QtGui, QtWidgets
class Ui_ReplayGain2OptionsPage(object):
def setupUi(self, ReplayGain2OptionsPage):
ReplayGain2OptionsPage.setObjectName("ReplayGain2OptionsPage")
ReplayGain2OptionsPage.resize(482, 577)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(ReplayGain2OptionsPage.sizePolicy().hasHeightForWidth())
ReplayGain2OptionsPage.setSizePolicy(sizePolicy)
self.vboxlayout = QtWidgets.QVBoxLayout(ReplayGain2OptionsPage)
self.vboxlayout.setContentsMargins(9, 9, 9, 9)
self.vboxlayout.setSpacing(6)
self.vboxlayout.setObjectName("vboxlayout")
self.replay_gain = QtWidgets.QGroupBox(parent=ReplayGain2OptionsPage)
self.replay_gain.setObjectName("replay_gain")
self.vboxlayout1 = QtWidgets.QVBoxLayout(self.replay_gain)
self.vboxlayout1.setContentsMargins(9, 9, 9, 9)
self.vboxlayout1.setSpacing(2)
self.vboxlayout1.setObjectName("vboxlayout1")
self.label = QtWidgets.QLabel(parent=self.replay_gain)
font = QtGui.QFont()
font.setBold(True)
self.label.setFont(font)
self.label.setObjectName("label")
self.vboxlayout1.addWidget(self.label)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.rsgain_command = QtWidgets.QLineEdit(parent=self.replay_gain)
self.rsgain_command.setText("rsgain")
self.rsgain_command.setObjectName("rsgain_command")
self.horizontalLayout.addWidget(self.rsgain_command)
self.rsgain_command_browse = QtWidgets.QToolButton(parent=self.replay_gain)
self.rsgain_command_browse.setObjectName("rsgain_command_browse")
self.horizontalLayout.addWidget(self.rsgain_command_browse)
self.vboxlayout1.addLayout(self.horizontalLayout)
self.label_6 = QtWidgets.QLabel(parent=self.replay_gain)
self.label_6.setOpenExternalLinks(True)
self.label_6.setTextInteractionFlags(QtCore.Qt.TextInteractionFlag.TextBrowserInteraction)
self.label_6.setObjectName("label_6")
self.vboxlayout1.addWidget(self.label_6)
self.album_tags = QtWidgets.QCheckBox(parent=self.replay_gain)
self.album_tags.setChecked(True)
self.album_tags.setObjectName("album_tags")
self.vboxlayout1.addWidget(self.album_tags)
self.album_aes77 = QtWidgets.QCheckBox(parent=self.replay_gain)
self.album_aes77.setObjectName("album_aes77")
self.vboxlayout1.addWidget(self.album_aes77)
self.true_peak = QtWidgets.QCheckBox(parent=self.replay_gain)
self.true_peak.setObjectName("true_peak")
self.vboxlayout1.addWidget(self.true_peak)
self.reference_loudness = QtWidgets.QCheckBox(parent=self.replay_gain)
self.reference_loudness.setObjectName("reference_loudness")
self.vboxlayout1.addWidget(self.reference_loudness)
self.label_5 = QtWidgets.QLabel(parent=self.replay_gain)
font = QtGui.QFont()
font.setBold(True)
self.label_5.setFont(font)
self.label_5.setObjectName("label_5")
self.vboxlayout1.addWidget(self.label_5)
self.target_loudness = QtWidgets.QSpinBox(parent=self.replay_gain)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.target_loudness.sizePolicy().hasHeightForWidth())
self.target_loudness.setSizePolicy(sizePolicy)
self.target_loudness.setMinimum(-30)
self.target_loudness.setMaximum(-5)
self.target_loudness.setProperty("value", -18)
self.target_loudness.setObjectName("target_loudness")
self.vboxlayout1.addWidget(self.target_loudness)
self.label_2 = QtWidgets.QLabel(parent=self.replay_gain)
font = QtGui.QFont()
font.setBold(True)
self.label_2.setFont(font)
self.label_2.setObjectName("label_2")
self.vboxlayout1.addWidget(self.label_2)
self.clip_mode = QtWidgets.QComboBox(parent=self.replay_gain)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.clip_mode.sizePolicy().hasHeightForWidth())
self.clip_mode.setSizePolicy(sizePolicy)
self.clip_mode.setMaxCount(3)
self.clip_mode.setObjectName("clip_mode")
self.vboxlayout1.addWidget(self.clip_mode)
self.label_3 = QtWidgets.QLabel(parent=self.replay_gain)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Maximum, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
self.label_3.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setBold(True)
self.label_3.setFont(font)
self.label_3.setObjectName("label_3")
self.vboxlayout1.addWidget(self.label_3)
self.max_peak = QtWidgets.QSpinBox(parent=self.replay_gain)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.max_peak.sizePolicy().hasHeightForWidth())
self.max_peak.setSizePolicy(sizePolicy)
self.max_peak.setMinimum(-5)
self.max_peak.setMaximum(0)
self.max_peak.setObjectName("max_peak")
self.vboxlayout1.addWidget(self.max_peak)
self.label_4 = QtWidgets.QLabel(parent=self.replay_gain)
font = QtGui.QFont()
font.setBold(True)
self.label_4.setFont(font)
self.label_4.setObjectName("label_4")
self.vboxlayout1.addWidget(self.label_4)
self.opus_mode = QtWidgets.QComboBox(parent=self.replay_gain)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.opus_mode.sizePolicy().hasHeightForWidth())
self.opus_mode.setSizePolicy(sizePolicy)
self.opus_mode.setMaxCount(3)
self.opus_mode.setObjectName("opus_mode")
self.vboxlayout1.addWidget(self.opus_mode)
self.opus_m23 = QtWidgets.QCheckBox(parent=self.replay_gain)
self.opus_m23.setObjectName("opus_m23")
self.vboxlayout1.addWidget(self.opus_m23)
self.vboxlayout.addWidget(self.replay_gain)
spacerItem = QtWidgets.QSpacerItem(263, 21, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
self.vboxlayout.addItem(spacerItem)
self.retranslateUi(ReplayGain2OptionsPage)
self.opus_mode.setCurrentIndex(-1)
QtCore.QMetaObject.connectSlotsByName(ReplayGain2OptionsPage)
def retranslateUi(self, ReplayGain2OptionsPage):
_translate = QtCore.QCoreApplication.translate
self.replay_gain.setTitle(_translate("ReplayGain2OptionsPage", "title"))
self.label.setText(_translate("ReplayGain2OptionsPage", "rsgain_command.label"))
self.rsgain_command_browse.setText(_translate("ReplayGain2OptionsPage", "rsgain_command.button.browse"))
self.label_6.setText(_translate("ReplayGain2OptionsPage", "rsgain_command.download.label"))
self.album_tags.setText(_translate("ReplayGain2OptionsPage", "album_tags.label"))
self.album_aes77.setText(_translate("ReplayGain2OptionsPage", "album_aes77.label"))
self.true_peak.setWhatsThis(_translate("ReplayGain2OptionsPage", "true_peak.help"))
self.true_peak.setText(_translate("ReplayGain2OptionsPage", "true_peak.label"))
self.reference_loudness.setText(_translate("ReplayGain2OptionsPage", "reference_loudness.label"))
self.label_5.setText(_translate("ReplayGain2OptionsPage", "target_loudness.label"))
self.label_2.setText(_translate("ReplayGain2OptionsPage", "clip_mode.label"))
self.label_3.setText(_translate("ReplayGain2OptionsPage", "max_peak.label"))
self.label_4.setText(_translate("ReplayGain2OptionsPage", "opus_mode.label"))
self.opus_m23.setText(_translate("ReplayGain2OptionsPage", "opus_m23.label"))