PluginTimeTracker.py

branch
eric7
changeset 115
859d59103f9f
parent 114
f58b64382e67
child 116
e8b0641eba15
equal deleted inserted replaced
114:f58b64382e67 115:859d59103f9f
36 error = "" 36 error = ""
37 37
38 timeTrackerPluginObject = None 38 timeTrackerPluginObject = None
39 39
40 40
41 def createTimeTrackerPage(configDlg): 41 def createTimeTrackerPage(configDlg): # noqa: U100
42 """ 42 """
43 Module function to create the Time Tracker configuration page. 43 Module function to create the Time Tracker configuration page.
44 44
45 @param configDlg reference to the configuration dialog 45 @param configDlg reference to the configuration dialog
46 @type ConfigurationWidget 46 @type ConfigurationWidget
47 @return reference to the configuration page 47 @return reference to the configuration page
48 @rtype TimeTrackerPage 48 @rtype TimeTrackerPage
49 """ 49 """
50 from TimeTracker.ConfigurationPage.TimeTrackerPage import TimeTrackerPage
51
50 global timeTrackerPluginObject 52 global timeTrackerPluginObject
51 from TimeTracker.ConfigurationPage.TimeTrackerPage import TimeTrackerPage
52 53
53 return TimeTrackerPage(timeTrackerPluginObject) 54 return TimeTrackerPage(timeTrackerPluginObject)
54 55
55 56
56 def getConfigData(): 57 def getConfigData():
220 """ 221 """
221 Preferences.Prefs.settings.setValue(self.PreferencesKey + "/" + key, value) 222 Preferences.Prefs.settings.setValue(self.PreferencesKey + "/" + key, value)
222 223
223 224
224 # 225 #
225 # eflag: noqa = M801 226 # eflag: noqa = M801, U200

eric ide

mercurial