Preferences/ConfigurationPages/NotificationsPage.py

changeset 2964
84b65fb9e780
parent 2408
dc3a7c9d8f6e
child 3010
befeff46ec0f
equal deleted inserted replaced
2963:745d38097b7f 2964:84b65fb9e780
22 Class implementing the Notifications configuration page. 22 Class implementing the Notifications configuration page.
23 """ 23 """
24 def __init__(self): 24 def __init__(self):
25 """ 25 """
26 Constructor 26 Constructor
27
28 @param parent reference to the parent widget (QWidget)
29 """ 27 """
30 super().__init__() 28 super().__init__()
31 self.setupUi(self) 29 self.setupUi(self)
32 self.setObjectName("NotificationsPage") 30 self.setObjectName("NotificationsPage")
33 31
91 def create(dlg): 89 def create(dlg):
92 """ 90 """
93 Module function to create the configuration page. 91 Module function to create the configuration page.
94 92
95 @param dlg reference to the configuration dialog 93 @param dlg reference to the configuration dialog
94 @return reference to the instantiated page (ConfigurationPageBase)
96 """ 95 """
97 page = NotificationsPage() 96 page = NotificationsPage()
98 return page 97 return page

eric ide

mercurial