4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing the Notifications configuration page. |
7 Module implementing the Notifications configuration page. |
8 """ |
8 """ |
|
9 |
|
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
9 |
11 |
10 from PyQt4.QtCore import pyqtSlot, QPoint |
12 from PyQt4.QtCore import pyqtSlot, QPoint |
11 from PyQt4.QtGui import QApplication |
13 from PyQt4.QtGui import QApplication |
12 |
14 |
13 from .ConfigurationPageBase import ConfigurationPageBase |
15 from .ConfigurationPageBase import ConfigurationPageBase |
25 """ |
27 """ |
26 Constructor |
28 Constructor |
27 |
29 |
28 @param parent reference to the parent widget (QWidget) |
30 @param parent reference to the parent widget (QWidget) |
29 """ |
31 """ |
30 super().__init__() |
32 super(NotificationsPage, self).__init__() |
31 self.setupUi(self) |
33 self.setupUi(self) |
32 self.setObjectName("NotificationsPage") |
34 self.setObjectName("NotificationsPage") |
33 |
35 |
34 minX, maxX = self.xSpinBox.maximum(), self.xSpinBox.minimum() |
36 minX, maxX = self.xSpinBox.maximum(), self.xSpinBox.minimum() |
35 minY, maxY = self.ySpinBox.maximum(), self.ySpinBox.minimum() |
37 minY, maxY = self.ySpinBox.maximum(), self.ySpinBox.minimum() |