self.volume_slider.setRange(0, 100)
self.volume_slider.setValue(50)
self.mute_button = QtWidgets.QPushButton("Mute")
+ self.is_muted = False
+ self.previous_volume = self.volume_slider.value()
self.test_volume_button = QtWidgets.QPushButton("Test sound")
- self.headerlabel = QtWidgets.QLabel("Hello World")
self.volume_level_label = QtWidgets.QLabel("Volume: 50%")
+ self.volume_level_label.setAlignment(Qt.AlignCenter)
self.packlabel = QtWidgets.QLabel("Sound Pack:")
self.sound_pack = QtWidgets.QComboBox()
self.sound_pack.addItems(SOUND_PACKS)