src/eric7/Preferences/ConfigurationPages/NotificationsPage.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
98 """ 98 """
99 Private slot to select the position visually. 99 Private slot to select the position visually.
100 100
101 @param checked state of the button (boolean) 101 @param checked state of the button (boolean)
102 """ 102 """
103 from eric7.UI.NotificationWidget import NotificationWidget
104
103 if checked: 105 if checked:
104 from eric7.UI.NotificationWidget import NotificationWidget
105
106 self.__notification = NotificationWidget(parent=self, setPosition=True) 106 self.__notification = NotificationWidget(parent=self, setPosition=True)
107 self.__notification.showNotification( 107 self.__notification.showNotification(
108 NotificationFrame.getIcon(NotificationTypes.OTHER), 108 NotificationFrame.getIcon(NotificationTypes.OTHER),
109 self.tr("Visual Selection"), 109 self.tr("Visual Selection"),
110 self.tr( 110 self.tr(

eric ide

mercurial