-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathkeysfromchords_ui.py
505 lines (498 loc) · 25.9 KB
/
keysfromchords_ui.py
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'keyfromchords.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(837, 371)
self.horizontalLayout_5 = QtWidgets.QHBoxLayout(Dialog)
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.verticalLayout_12 = QtWidgets.QVBoxLayout()
self.verticalLayout_12.setObjectName("verticalLayout_12")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.cButton = QtWidgets.QPushButton(Dialog)
self.cButton.setMinimumSize(QtCore.QSize(60, 50))
self.cButton.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.cButton.setFont(font)
self.cButton.setStyleSheet("QPushButton::checked{background-color : rgba(205, 253, 205, 80%)};")
self.cButton.setCheckable(True)
self.cButton.setObjectName("cButton")
self.horizontalLayout.addWidget(self.cButton)
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.csButton = QtWidgets.QPushButton(Dialog)
self.csButton.setMinimumSize(QtCore.QSize(60, 50))
self.csButton.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.csButton.setFont(font)
self.csButton.setStyleSheet("QPushButton::checked{background-color : rgba(205, 253, 205, 80%)};")
self.csButton.setCheckable(True)
self.csButton.setObjectName("csButton")
self.verticalLayout.addWidget(self.csButton)
self.dbButton = QtWidgets.QPushButton(Dialog)
self.dbButton.setMinimumSize(QtCore.QSize(60, 50))
self.dbButton.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.dbButton.setFont(font)
self.dbButton.setStyleSheet("QPushButton::checked{background-color : rgba(205, 253, 205, 80%)};")
self.dbButton.setCheckable(True)
self.dbButton.setObjectName("dbButton")
self.verticalLayout.addWidget(self.dbButton)
self.horizontalLayout.addLayout(self.verticalLayout)
self.dButton = QtWidgets.QPushButton(Dialog)
self.dButton.setMinimumSize(QtCore.QSize(60, 50))
self.dButton.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.dButton.setFont(font)
self.dButton.setStyleSheet("QPushButton::checked{background-color : rgba(205, 253, 205, 80%)};")
self.dButton.setCheckable(True)
self.dButton.setObjectName("dButton")
self.horizontalLayout.addWidget(self.dButton)
self.verticalLayout_2 = QtWidgets.QVBoxLayout()
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.dsButton = QtWidgets.QPushButton(Dialog)
self.dsButton.setMinimumSize(QtCore.QSize(60, 50))
self.dsButton.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.dsButton.setFont(font)
self.dsButton.setStyleSheet("QPushButton::checked{background-color : rgba(205, 253, 205, 80%)};")
self.dsButton.setCheckable(True)
self.dsButton.setObjectName("dsButton")
self.verticalLayout_2.addWidget(self.dsButton)
self.ebButton = QtWidgets.QPushButton(Dialog)
self.ebButton.setMinimumSize(QtCore.QSize(60, 50))
self.ebButton.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.ebButton.setFont(font)
self.ebButton.setStyleSheet("QPushButton::checked{background-color : rgba(205, 253, 205, 80%)};")
self.ebButton.setCheckable(True)
self.ebButton.setObjectName("ebButton")
self.verticalLayout_2.addWidget(self.ebButton)
self.horizontalLayout.addLayout(self.verticalLayout_2)
self.eButton = QtWidgets.QPushButton(Dialog)
self.eButton.setMinimumSize(QtCore.QSize(60, 50))
self.eButton.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.eButton.setFont(font)
self.eButton.setStyleSheet("QPushButton::checked{background-color : rgba(205, 253, 205, 80%)};")
self.eButton.setCheckable(True)
self.eButton.setObjectName("eButton")
self.horizontalLayout.addWidget(self.eButton)
self.fButton = QtWidgets.QPushButton(Dialog)
self.fButton.setMinimumSize(QtCore.QSize(60, 50))
self.fButton.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.fButton.setFont(font)
self.fButton.setStyleSheet("QPushButton::checked{background-color : rgba(205, 253, 205, 80%)};")
self.fButton.setCheckable(True)
self.fButton.setObjectName("fButton")
self.horizontalLayout.addWidget(self.fButton)
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.fsButton = QtWidgets.QPushButton(Dialog)
self.fsButton.setMinimumSize(QtCore.QSize(60, 50))
self.fsButton.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.fsButton.setFont(font)
self.fsButton.setStyleSheet("QPushButton::checked{background-color : rgba(205, 253, 205, 80%)};")
self.fsButton.setCheckable(True)
self.fsButton.setObjectName("fsButton")
self.verticalLayout_3.addWidget(self.fsButton)
self.gbButton = QtWidgets.QPushButton(Dialog)
self.gbButton.setMinimumSize(QtCore.QSize(60, 50))
self.gbButton.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.gbButton.setFont(font)
self.gbButton.setStyleSheet("QPushButton::checked{background-color : rgba(205, 253, 205, 80%)};")
self.gbButton.setCheckable(True)
self.gbButton.setObjectName("gbButton")
self.verticalLayout_3.addWidget(self.gbButton)
self.horizontalLayout.addLayout(self.verticalLayout_3)
self.gButton = QtWidgets.QPushButton(Dialog)
self.gButton.setMinimumSize(QtCore.QSize(60, 50))
self.gButton.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.gButton.setFont(font)
self.gButton.setStyleSheet("QPushButton::checked{background-color : rgba(205, 253, 205, 80%)};")
self.gButton.setCheckable(True)
self.gButton.setObjectName("gButton")
self.horizontalLayout.addWidget(self.gButton)
self.verticalLayout_4 = QtWidgets.QVBoxLayout()
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.gsButton = QtWidgets.QPushButton(Dialog)
self.gsButton.setMinimumSize(QtCore.QSize(60, 50))
self.gsButton.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.gsButton.setFont(font)
self.gsButton.setStyleSheet("QPushButton::checked{background-color : rgba(205, 253, 205, 80%)};")
self.gsButton.setCheckable(True)
self.gsButton.setObjectName("gsButton")
self.verticalLayout_4.addWidget(self.gsButton)
self.abButton = QtWidgets.QPushButton(Dialog)
self.abButton.setMinimumSize(QtCore.QSize(60, 50))
self.abButton.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.abButton.setFont(font)
self.abButton.setStyleSheet("QPushButton::checked{background-color : rgba(205, 253, 205, 80%)};")
self.abButton.setCheckable(True)
self.abButton.setObjectName("abButton")
self.verticalLayout_4.addWidget(self.abButton)
self.horizontalLayout.addLayout(self.verticalLayout_4)
self.aButton = QtWidgets.QPushButton(Dialog)
self.aButton.setMinimumSize(QtCore.QSize(60, 50))
self.aButton.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.aButton.setFont(font)
self.aButton.setStyleSheet("QPushButton::checked{background-color : rgba(205, 253, 205, 80%)};")
self.aButton.setCheckable(True)
self.aButton.setObjectName("aButton")
self.horizontalLayout.addWidget(self.aButton)
self.verticalLayout_5 = QtWidgets.QVBoxLayout()
self.verticalLayout_5.setObjectName("verticalLayout_5")
self.asButton = QtWidgets.QPushButton(Dialog)
self.asButton.setMinimumSize(QtCore.QSize(60, 50))
self.asButton.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.asButton.setFont(font)
self.asButton.setStyleSheet("QPushButton::checked{background-color : rgba(205, 253, 205, 80%)};")
self.asButton.setCheckable(True)
self.asButton.setObjectName("asButton")
self.verticalLayout_5.addWidget(self.asButton)
self.bbButton = QtWidgets.QPushButton(Dialog)
self.bbButton.setMinimumSize(QtCore.QSize(60, 50))
self.bbButton.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.bbButton.setFont(font)
self.bbButton.setStyleSheet("QPushButton::checked{background-color : rgba(205, 253, 205, 80%)};")
self.bbButton.setCheckable(True)
self.bbButton.setObjectName("bbButton")
self.verticalLayout_5.addWidget(self.bbButton)
self.horizontalLayout.addLayout(self.verticalLayout_5)
self.bButton = QtWidgets.QPushButton(Dialog)
self.bButton.setMinimumSize(QtCore.QSize(60, 50))
self.bButton.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.bButton.setFont(font)
self.bButton.setStyleSheet("QPushButton::checked{background-color : rgba(205, 253, 205, 80%)};")
self.bButton.setCheckable(True)
self.bButton.setObjectName("bButton")
self.horizontalLayout.addWidget(self.bButton)
self.verticalLayout_12.addLayout(self.horizontalLayout)
self.line = QtWidgets.QFrame(Dialog)
self.line.setFrameShape(QtWidgets.QFrame.HLine)
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line.setObjectName("line")
self.verticalLayout_12.addWidget(self.line)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.cButton_2 = QtWidgets.QPushButton(Dialog)
self.cButton_2.setMinimumSize(QtCore.QSize(60, 50))
self.cButton_2.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.cButton_2.setFont(font)
self.cButton_2.setStyleSheet("QPushButton::checked{background-color : rgba(173, 215, 229, 80%)};")
self.cButton_2.setCheckable(True)
self.cButton_2.setObjectName("cButton_2")
self.horizontalLayout_2.addWidget(self.cButton_2)
self.verticalLayout_6 = QtWidgets.QVBoxLayout()
self.verticalLayout_6.setObjectName("verticalLayout_6")
self.csButton_2 = QtWidgets.QPushButton(Dialog)
self.csButton_2.setMinimumSize(QtCore.QSize(60, 50))
self.csButton_2.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.csButton_2.setFont(font)
self.csButton_2.setStyleSheet("QPushButton::checked{background-color : rgba(173, 215, 229, 80%)};")
self.csButton_2.setCheckable(True)
self.csButton_2.setObjectName("csButton_2")
self.verticalLayout_6.addWidget(self.csButton_2)
self.dbButton_2 = QtWidgets.QPushButton(Dialog)
self.dbButton_2.setMinimumSize(QtCore.QSize(60, 50))
self.dbButton_2.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.dbButton_2.setFont(font)
self.dbButton_2.setStyleSheet("QPushButton::checked{background-color : rgba(173, 215, 229, 80%)};")
self.dbButton_2.setCheckable(True)
self.dbButton_2.setObjectName("dbButton_2")
self.verticalLayout_6.addWidget(self.dbButton_2)
self.horizontalLayout_2.addLayout(self.verticalLayout_6)
self.dButton_2 = QtWidgets.QPushButton(Dialog)
self.dButton_2.setMinimumSize(QtCore.QSize(60, 50))
self.dButton_2.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.dButton_2.setFont(font)
self.dButton_2.setStyleSheet("QPushButton::checked{background-color : rgba(173, 215, 229, 80%)};")
self.dButton_2.setCheckable(True)
self.dButton_2.setObjectName("dButton_2")
self.horizontalLayout_2.addWidget(self.dButton_2)
self.verticalLayout_7 = QtWidgets.QVBoxLayout()
self.verticalLayout_7.setObjectName("verticalLayout_7")
self.dsButton_2 = QtWidgets.QPushButton(Dialog)
self.dsButton_2.setMinimumSize(QtCore.QSize(60, 50))
self.dsButton_2.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.dsButton_2.setFont(font)
self.dsButton_2.setStyleSheet("QPushButton::checked{background-color : rgba(173, 215, 229, 80%)};")
self.dsButton_2.setCheckable(True)
self.dsButton_2.setObjectName("dsButton_2")
self.verticalLayout_7.addWidget(self.dsButton_2)
self.ebButton_2 = QtWidgets.QPushButton(Dialog)
self.ebButton_2.setMinimumSize(QtCore.QSize(60, 50))
self.ebButton_2.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.ebButton_2.setFont(font)
self.ebButton_2.setStyleSheet("QPushButton::checked{background-color : rgba(173, 215, 229, 80%)};")
self.ebButton_2.setCheckable(True)
self.ebButton_2.setObjectName("ebButton_2")
self.verticalLayout_7.addWidget(self.ebButton_2)
self.horizontalLayout_2.addLayout(self.verticalLayout_7)
self.eButton_2 = QtWidgets.QPushButton(Dialog)
self.eButton_2.setMinimumSize(QtCore.QSize(60, 50))
self.eButton_2.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.eButton_2.setFont(font)
self.eButton_2.setStyleSheet("QPushButton::checked{background-color : rgba(173, 215, 229, 80%)};")
self.eButton_2.setCheckable(True)
self.eButton_2.setObjectName("eButton_2")
self.horizontalLayout_2.addWidget(self.eButton_2)
self.fButton_2 = QtWidgets.QPushButton(Dialog)
self.fButton_2.setMinimumSize(QtCore.QSize(60, 50))
self.fButton_2.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.fButton_2.setFont(font)
self.fButton_2.setStyleSheet("QPushButton::checked{background-color : rgba(173, 215, 229, 80%)};")
self.fButton_2.setCheckable(True)
self.fButton_2.setObjectName("fButton_2")
self.horizontalLayout_2.addWidget(self.fButton_2)
self.verticalLayout_8 = QtWidgets.QVBoxLayout()
self.verticalLayout_8.setObjectName("verticalLayout_8")
self.fsButton_2 = QtWidgets.QPushButton(Dialog)
self.fsButton_2.setMinimumSize(QtCore.QSize(60, 50))
self.fsButton_2.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.fsButton_2.setFont(font)
self.fsButton_2.setStyleSheet("QPushButton::checked{background-color : rgba(173, 215, 229, 80%)};")
self.fsButton_2.setCheckable(True)
self.fsButton_2.setObjectName("fsButton_2")
self.verticalLayout_8.addWidget(self.fsButton_2)
self.gbButton_2 = QtWidgets.QPushButton(Dialog)
self.gbButton_2.setMinimumSize(QtCore.QSize(60, 50))
self.gbButton_2.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.gbButton_2.setFont(font)
self.gbButton_2.setStyleSheet("QPushButton::checked{background-color : rgba(173, 215, 229, 80%)};")
self.gbButton_2.setCheckable(True)
self.gbButton_2.setObjectName("gbButton_2")
self.verticalLayout_8.addWidget(self.gbButton_2)
self.horizontalLayout_2.addLayout(self.verticalLayout_8)
self.gButton_2 = QtWidgets.QPushButton(Dialog)
self.gButton_2.setMinimumSize(QtCore.QSize(60, 50))
self.gButton_2.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.gButton_2.setFont(font)
self.gButton_2.setStyleSheet("QPushButton::checked{background-color : rgba(173, 215, 229, 80%)};")
self.gButton_2.setCheckable(True)
self.gButton_2.setObjectName("gButton_2")
self.horizontalLayout_2.addWidget(self.gButton_2)
self.verticalLayout_9 = QtWidgets.QVBoxLayout()
self.verticalLayout_9.setObjectName("verticalLayout_9")
self.gsButton_2 = QtWidgets.QPushButton(Dialog)
self.gsButton_2.setMinimumSize(QtCore.QSize(60, 50))
self.gsButton_2.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.gsButton_2.setFont(font)
self.gsButton_2.setStyleSheet("QPushButton::checked{background-color : rgba(173, 215, 229, 80%)};")
self.gsButton_2.setCheckable(True)
self.gsButton_2.setObjectName("gsButton_2")
self.verticalLayout_9.addWidget(self.gsButton_2)
self.abButton_2 = QtWidgets.QPushButton(Dialog)
self.abButton_2.setMinimumSize(QtCore.QSize(60, 50))
self.abButton_2.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.abButton_2.setFont(font)
self.abButton_2.setStyleSheet("QPushButton::checked{background-color : rgba(173, 215, 229, 80%)};")
self.abButton_2.setCheckable(True)
self.abButton_2.setObjectName("abButton_2")
self.verticalLayout_9.addWidget(self.abButton_2)
self.horizontalLayout_2.addLayout(self.verticalLayout_9)
self.aButton_2 = QtWidgets.QPushButton(Dialog)
self.aButton_2.setMinimumSize(QtCore.QSize(60, 50))
self.aButton_2.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.aButton_2.setFont(font)
self.aButton_2.setStyleSheet("QPushButton::checked{background-color : rgba(173, 215, 229, 80%)};")
self.aButton_2.setCheckable(True)
self.aButton_2.setObjectName("aButton_2")
self.horizontalLayout_2.addWidget(self.aButton_2)
self.verticalLayout_10 = QtWidgets.QVBoxLayout()
self.verticalLayout_10.setObjectName("verticalLayout_10")
self.asButton_2 = QtWidgets.QPushButton(Dialog)
self.asButton_2.setMinimumSize(QtCore.QSize(60, 50))
self.asButton_2.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.asButton_2.setFont(font)
self.asButton_2.setStyleSheet("QPushButton::checked{background-color : rgba(173, 215, 229, 80%)};")
self.asButton_2.setCheckable(True)
self.asButton_2.setObjectName("asButton_2")
self.verticalLayout_10.addWidget(self.asButton_2)
self.bbButton_2 = QtWidgets.QPushButton(Dialog)
self.bbButton_2.setMinimumSize(QtCore.QSize(60, 50))
self.bbButton_2.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.bbButton_2.setFont(font)
self.bbButton_2.setStyleSheet("QPushButton::checked{background-color : rgba(173, 215, 229, 80%)};")
self.bbButton_2.setCheckable(True)
self.bbButton_2.setObjectName("bbButton_2")
self.verticalLayout_10.addWidget(self.bbButton_2)
self.horizontalLayout_2.addLayout(self.verticalLayout_10)
self.bButton_2 = QtWidgets.QPushButton(Dialog)
self.bButton_2.setMinimumSize(QtCore.QSize(60, 50))
self.bButton_2.setMaximumSize(QtCore.QSize(60, 50))
font = QtGui.QFont()
font.setPointSize(16)
self.bButton_2.setFont(font)
self.bButton_2.setStyleSheet("QPushButton::checked{background-color : rgba(173, 215, 229, 80%)};")
self.bButton_2.setCheckable(True)
self.bButton_2.setObjectName("bButton_2")
self.horizontalLayout_2.addWidget(self.bButton_2)
self.verticalLayout_12.addLayout(self.horizontalLayout_2)
self.line_2 = QtWidgets.QFrame(Dialog)
self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_2.setObjectName("line_2")
self.verticalLayout_12.addWidget(self.line_2)
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.verticalLayout_11 = QtWidgets.QVBoxLayout()
self.verticalLayout_11.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
self.verticalLayout_11.setObjectName("verticalLayout_11")
self.label_2 = QtWidgets.QLabel(Dialog)
self.label_2.setMinimumSize(QtCore.QSize(200, 0))
self.label_2.setMaximumSize(QtCore.QSize(200, 16777215))
font = QtGui.QFont()
font.setPointSize(16)
self.label_2.setFont(font)
self.label_2.setObjectName("label_2")
self.verticalLayout_11.addWidget(self.label_2)
self.majorMinorSlider = mySlider(Dialog)
self.majorMinorSlider.setMinimumSize(QtCore.QSize(200, 0))
self.majorMinorSlider.setMaximumSize(QtCore.QSize(200, 16777215))
self.majorMinorSlider.setMaximum(2)
self.majorMinorSlider.setPageStep(1)
self.majorMinorSlider.setSliderPosition(1)
self.majorMinorSlider.setOrientation(QtCore.Qt.Horizontal)
self.majorMinorSlider.setTickPosition(QtWidgets.QSlider.TicksBelow)
self.majorMinorSlider.setTickInterval(1)
self.majorMinorSlider.setObjectName("majorMinorSlider")
self.verticalLayout_11.addWidget(self.majorMinorSlider)
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.label = QtWidgets.QLabel(Dialog)
font = QtGui.QFont()
font.setPointSize(16)
self.label.setFont(font)
self.label.setObjectName("label")
self.horizontalLayout_3.addWidget(self.label)
self.label_3 = QtWidgets.QLabel(Dialog)
font = QtGui.QFont()
font.setPointSize(16)
self.label_3.setFont(font)
self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.label_3.setObjectName("label_3")
self.horizontalLayout_3.addWidget(self.label_3)
self.verticalLayout_11.addLayout(self.horizontalLayout_3)
self.horizontalLayout_4.addLayout(self.verticalLayout_11)
self.keyLayout = QtWidgets.QHBoxLayout()
self.keyLayout.setObjectName("keyLayout")
self.keyWidget = QtWidgets.QWidget(Dialog)
self.keyWidget.setMinimumSize(QtCore.QSize(0, 130))
self.keyWidget.setMaximumSize(QtCore.QSize(16777215, 130))
self.keyWidget.setObjectName("keyWidget")
self.keyLayout.addWidget(self.keyWidget)
self.horizontalLayout_4.addLayout(self.keyLayout)
self.horizontalLayout_4.setStretch(0, 1)
self.horizontalLayout_4.setStretch(1, 3)
self.verticalLayout_12.addLayout(self.horizontalLayout_4)
self.horizontalLayout_5.addLayout(self.verticalLayout_12)
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
self.cButton.setText(_translate("Dialog", "C"))
self.csButton.setText(_translate("Dialog", "C♯"))
self.dbButton.setText(_translate("Dialog", "D♭"))
self.dButton.setText(_translate("Dialog", "D"))
self.dsButton.setText(_translate("Dialog", "D♯"))
self.ebButton.setText(_translate("Dialog", "E♭"))
self.eButton.setText(_translate("Dialog", "E"))
self.fButton.setText(_translate("Dialog", "F"))
self.fsButton.setText(_translate("Dialog", "F♯"))
self.gbButton.setText(_translate("Dialog", "G♭"))
self.gButton.setText(_translate("Dialog", "G"))
self.gsButton.setText(_translate("Dialog", "G♯"))
self.abButton.setText(_translate("Dialog", "A♭"))
self.aButton.setText(_translate("Dialog", "A"))
self.asButton.setText(_translate("Dialog", "A♯"))
self.bbButton.setText(_translate("Dialog", "B♭"))
self.bButton.setText(_translate("Dialog", "B"))
self.cButton_2.setText(_translate("Dialog", "Cm"))
self.csButton_2.setText(_translate("Dialog", "C♯m"))
self.dbButton_2.setText(_translate("Dialog", "D♭m"))
self.dButton_2.setText(_translate("Dialog", "Dm"))
self.dsButton_2.setText(_translate("Dialog", "D♯m"))
self.ebButton_2.setText(_translate("Dialog", "E♭m"))
self.eButton_2.setText(_translate("Dialog", "Em"))
self.fButton_2.setText(_translate("Dialog", "Fm"))
self.fsButton_2.setText(_translate("Dialog", "F♯m"))
self.gbButton_2.setText(_translate("Dialog", "G♭m"))
self.gButton_2.setText(_translate("Dialog", "Gm"))
self.gsButton_2.setText(_translate("Dialog", "G♯m"))
self.abButton_2.setText(_translate("Dialog", "A♭m"))
self.aButton_2.setText(_translate("Dialog", "Am"))
self.asButton_2.setText(_translate("Dialog", "A♯m"))
self.bbButton_2.setText(_translate("Dialog", "B♭m"))
self.bButton_2.setText(_translate("Dialog", "Bm"))
self.label_2.setText(_translate("Dialog", "Feels:"))
self.label.setText(_translate("Dialog", "Major"))
self.label_3.setText(_translate("Dialog", "Minor"))
from myslider import mySlider