@@ -39,6 +39,8 @@ def setupUi(self, MainWindow):
39
39
self .menuFile .setObjectName ("menuFile" )
40
40
self .menuHelp = QtWidgets .QMenu (self .menubar )
41
41
self .menuHelp .setObjectName ("menuHelp" )
42
+ self .menuReport = QtWidgets .QMenu (self .menubar )
43
+ self .menuReport .setObjectName ("menuReport" )
42
44
MainWindow .setMenuBar (self .menubar )
43
45
self .action_about = QtWidgets .QAction (MainWindow )
44
46
icon = QtGui .QIcon .fromTheme ("help" )
@@ -61,13 +63,20 @@ def setupUi(self, MainWindow):
61
63
icon = QtGui .QIcon .fromTheme ("application-exit" )
62
64
self .action_exit .setIcon (icon )
63
65
self .action_exit .setObjectName ("action_exit" )
66
+ self .actionProjects_Chart = QtWidgets .QAction (MainWindow )
67
+ self .actionProjects_Chart .setObjectName ("actionProjects_Chart" )
68
+ self .actionTime_Series_Chart = QtWidgets .QAction (MainWindow )
69
+ self .actionTime_Series_Chart .setObjectName ("actionTime_Series_Chart" )
64
70
self .menuFile .addAction (self .action_new )
65
71
self .menuFile .addAction (self .action_open )
66
72
self .menuFile .addAction (self .action_close )
67
73
self .menuFile .addAction (self .action_exit )
68
74
self .menuHelp .addAction (self .action_about )
75
+ self .menuReport .addAction (self .actionProjects_Chart )
76
+ self .menuReport .addAction (self .actionTime_Series_Chart )
69
77
self .menubar .addAction (self .menuFile .menuAction ())
70
78
self .menubar .addAction (self .menuHelp .menuAction ())
79
+ self .menubar .addAction (self .menuReport .menuAction ())
71
80
72
81
self .retranslateUi (MainWindow )
73
82
QtCore .QMetaObject .connectSlotsByName (MainWindow )
@@ -77,6 +86,7 @@ def retranslateUi(self, MainWindow):
77
86
MainWindow .setWindowTitle (_translate ("MainWindow" , "Time Tracker" ))
78
87
self .menuFile .setTitle (_translate ("MainWindow" , "File" ))
79
88
self .menuHelp .setTitle (_translate ("MainWindow" , "Help" ))
89
+ self .menuReport .setTitle (_translate ("MainWindow" , "Report" ))
80
90
self .action_about .setText (_translate ("MainWindow" , "About" ))
81
91
self .action_new .setText (_translate ("MainWindow" , "New" ))
82
92
self .action_new .setShortcut (_translate ("MainWindow" , "Ctrl+N" ))
@@ -86,6 +96,8 @@ def retranslateUi(self, MainWindow):
86
96
self .action_close .setShortcut (_translate ("MainWindow" , "Ctrl+W" ))
87
97
self .action_exit .setText (_translate ("MainWindow" , "Exit" ))
88
98
self .action_exit .setShortcut (_translate ("MainWindow" , "Ctrl+Q" ))
99
+ self .actionProjects_Chart .setText (_translate ("MainWindow" , "Projects Chart" ))
100
+ self .actionTime_Series_Chart .setText (_translate ("MainWindow" , "Time-Series Chart" ))
89
101
import resources_rc
90
102
91
103
0 commit comments