projects
/
forks
/
peks-announcer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9579cef
)
fixed range not going to 100%, set init value to 50%
author
Shane Pepperell
<shane.pepperell@me.com>
Sun, 15 Jan 2023 02:44:50 +0000
(
02:44
+0000)
committer
Shane Pepperell
<shane.pepperell@me.com>
Sun, 15 Jan 2023 02:44:50 +0000
(
02:44
+0000)
announcer/window.py
patch
|
blob
|
history
diff --git
a/announcer/window.py
b/announcer/window.py
index ac252db85ec23d673116545019a4bd16c3fa8fc6..1ebe1a5f865fa3ab92b5095daa73b66572bc33bb 100644
(file)
--- a/
announcer/window.py
+++ b/
announcer/window.py
@@
-32,6
+32,8
@@
class MainWindow(QtWidgets.QMainWindow):
self.setFixedSize(250, 150)
self.volume_slider = QtWidgets.QSlider(Qt.Horizontal)
+ self.volume_slider.setRange(0, 100)
+ self.volume_slider.setValue(50)
self.mute_button = QtWidgets.QPushButton("Mute")
self.test_volume_button = QtWidgets.QPushButton("Test sound")
self.headerlabel = QtWidgets.QLabel("Hello World")