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(): |