src/eric7/Preferences/ConfigurationPages/NotificationsPage.py

branch
eric7
changeset 10428
a071d4065202
parent 10069
435cc5875135
child 10439
21c28b0f9e41
equal deleted inserted replaced
10427:3733e2b23cf7 10428:a071d4065202
96 @pyqtSlot(bool) 96 @pyqtSlot(bool)
97 def on_visualButton_clicked(self, checked): 97 def on_visualButton_clicked(self, checked):
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
102 @type bool
102 """ 103 """
103 from eric7.UI.NotificationWidget import NotificationWidget 104 from eric7.UI.NotificationWidget import NotificationWidget
104 105
105 if checked: 106 if checked:
106 self.__notification = NotificationWidget(parent=self, setPosition=True) 107 self.__notification = NotificationWidget(parent=self, setPosition=True)
297 def create(dlg): # noqa: U100 298 def create(dlg): # noqa: U100
298 """ 299 """
299 Module function to create the configuration page. 300 Module function to create the configuration page.
300 301
301 @param dlg reference to the configuration dialog 302 @param dlg reference to the configuration dialog
302 @return reference to the instantiated page (ConfigurationPageBase) 303 @type ConfigurationDialog
304 @return reference to the instantiated page
305 @rtype ConfigurationPageBase
303 """ 306 """
304 page = NotificationsPage() 307 page = NotificationsPage()
305 return page 308 return page

eric ide

mercurial