notifications fix - busy status
This commit is contained in:
parent
7d7efa6acd
commit
43a49ca570
3 changed files with 22 additions and 25 deletions
18
src/menu.py
18
src/menu.py
|
|
@ -337,19 +337,15 @@ class NotificationsSettings(CenteredWidget):
|
|||
|
||||
def initUI(self):
|
||||
self.setObjectName("notificationsForm")
|
||||
self.resize(300, 200)
|
||||
self.setMinimumSize(QtCore.QSize(300, 200))
|
||||
self.setMaximumSize(QtCore.QSize(300, 200))
|
||||
self.setBaseSize(QtCore.QSize(300, 200))
|
||||
self.resize(350, 200)
|
||||
self.setMinimumSize(QtCore.QSize(350, 200))
|
||||
self.setMaximumSize(QtCore.QSize(350, 200))
|
||||
self.enableNotifications = QtGui.QCheckBox(self)
|
||||
self.enableNotifications.setGeometry(QtCore.QRect(30, 20, 241, 22))
|
||||
self.enableNotifications.setObjectName("enableNotifications")
|
||||
self.soundNotifications = QtGui.QCheckBox(self)
|
||||
self.soundNotifications.setGeometry(QtCore.QRect(30, 100, 231, 22))
|
||||
self.soundNotifications.setObjectName("sound_notifications")
|
||||
self.enableNotifications.setGeometry(QtCore.QRect(10, 20, 270, 20))
|
||||
self.callsSound = QtGui.QCheckBox(self)
|
||||
self.callsSound.setGeometry(QtCore.QRect(30, 60, 231, 22))
|
||||
self.callsSound.setObjectName("calls_sound")
|
||||
self.callsSound.setGeometry(QtCore.QRect(10, 120, 270, 20))
|
||||
self.soundNotifications = QtGui.QCheckBox(self)
|
||||
self.soundNotifications.setGeometry(QtCore.QRect(10, 70, 270, 20))
|
||||
s = Settings.get_instance()
|
||||
self.enableNotifications.setChecked(s['notifications'])
|
||||
self.soundNotifications.setChecked(s['sound_notifications'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue