self.central_widget = QtWidgets.QWidget(self)
self.setCentralWidget(self.central_widget)
self.layout = QtWidgets.QGridLayout(self.central_widget)
- self.layout.addWidget(self.headerlabel, 1,0)
- self.layout.addWidget(self.vollabel, 1,0)
- self.layout.addWidget(self.volume_slider, 1,1)
- self.layout.addWidget(self.mute_button, 0,0)
- self.layout.addWidget(self.test_volume_button, 0,2)
- self.layout.addWidget(self.packlabel, 1,0)
- self.layout.addWidget(self.sound_pack, 1,1)
+ self.layout.addWidget(self.headerlabel, 0,1)
+ self.layout.addWidget(self.vollabel, 1,1)
+ self.layout.addWidget(self.volume_slider, 2,1)
+ self.layout.addWidget(self.mute_button, 1,0)
+ self.layout.addWidget(self.test_volume_button, 1,2)
+ self.layout.addWidget(self.packlabel, 3,0)
+ self.layout.addWidget(self.sound_pack, 3,1)
def setup_connections(self):
self.volume_slider.valueChanged.connect(update_volume)
self.mute_button.clicked.connect(mute)