some updates: ui - messages #2, test fix

This commit is contained in:
ingvar1995 2016-03-04 22:03:20 +03:00
parent 7282e20540
commit 374f474b14
4 changed files with 50 additions and 24 deletions

View file

@ -61,9 +61,9 @@ class ProfileSettings(QtGui.QWidget):
def initUI(self):
self.setObjectName("ProfileSettingsForm")
self.resize(600, 400)
self.setMinimumSize(QtCore.QSize(600, 400))
self.setMaximumSize(QtCore.QSize(600, 400))
self.setBaseSize(QtCore.QSize(600, 400))
self.setMinimumSize(QtCore.QSize(700, 400))
self.setMaximumSize(QtCore.QSize(700, 400))
self.setBaseSize(QtCore.QSize(700, 400))
self.nick = QtGui.QLineEdit(self)
self.nick.setGeometry(QtCore.QRect(30, 60, 351, 27))
self.nick.setObjectName("nick")
@ -253,10 +253,10 @@ class NotificationsSettings(QtGui.QWidget):
self.enableNotifications.setObjectName("enableNotifications")
self.soundNotifications = QtGui.QCheckBox(self)
self.soundNotifications.setGeometry(QtCore.QRect(30, 100, 231, 22))
self.soundNotifications.setObjectName("checkBox_2")
self.soundNotifications.setObjectName("sound_notifications")
self.callsSound = QtGui.QCheckBox(self)
self.callsSound.setGeometry(QtCore.QRect(30, 60, 231, 22))
self.callsSound.setObjectName("checkBox_3")
self.callsSound.setObjectName("calls_sound")
s = Settings.get_instance()
self.enableNotifications.setChecked(s['notifications'])
self.soundNotifications.setChecked(s['sound_notifications'])