Preferences/ConfigurationPages/NotificationsPage.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3190
a9a94491c4fd
child 3656
441956d8fce5
equal deleted inserted replaced
3456:96232974dcdb 3484:645c12de6b0c
76 from UI.NotificationWidget import NotificationWidget 76 from UI.NotificationWidget import NotificationWidget
77 self.__notification = NotificationWidget( 77 self.__notification = NotificationWidget(
78 parent=self, setPosition=True) 78 parent=self, setPosition=True)
79 self.__notification.setPixmap( 79 self.__notification.setPixmap(
80 UI.PixmapCache.getPixmap("notification48.png")) 80 UI.PixmapCache.getPixmap("notification48.png"))
81 self.__notification.setHeading(self.trUtf8("Visual Selection")) 81 self.__notification.setHeading(self.tr("Visual Selection"))
82 self.__notification.setText( 82 self.__notification.setText(
83 self.trUtf8("Drag the notification window to" 83 self.tr("Drag the notification window to"
84 " the desired place and release the button.")) 84 " the desired place and release the button."))
85 self.__notification.move( 85 self.__notification.move(
86 QPoint(self.xSpinBox.value(), self.ySpinBox.value())) 86 QPoint(self.xSpinBox.value(), self.ySpinBox.value()))
87 self.__notification.show() 87 self.__notification.show()
88 else: 88 else:
89 # retrieve the position 89 # retrieve the position

eric ide

mercurial