From 2c0d3ee115065a2908aa36e8906a707b7e05b7dc Mon Sep 17 00:00:00 2001 From: Andre Wohnsland Date: Sun, 2 Aug 2020 20:39:37 +0200 Subject: [PATCH] Adjusted readme for differnt generation options --- README.md | 2 +- src/ui_controler.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1f25952..74df199 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ On first startup, the application will create the needed configuration and the d # Reports -An overview can be seen when clicking `Options > Summary`. Over a datepicker, a day can be chosen to display a summary of the data in either the according month or all events of this day. The day / month view can be changed over the view togglebutton. To generate the report of your overtime, click the `Export` button. By default settings, the report will be saved into the reports folder of this application. As soon as the savefolder was changed over the option setting, the app will use this location instead. Only overtime is displayed. Time less than eight hours is displayed as zero. The overtime is rounded to the closest quarter hour. +An overview can be seen when clicking `Options > Summary`. With a datepicker, a day can be chosen to display a summary of the data in either the according month or all events of this day. The day / month view can be changed over the view togglebutton. To generate the report of your overtime or worktime, click the `Export` button. By default settings, the report will be saved into the reports folder of this application. As soon as the savefolder was changed over the option setting, the app will use this location instead. The default worktime for overtime is eight hours, time worked less than eight will displayed as zero overtime. The overtime/worktime is rounded to the closest quarter hour. Breaks are already subtracted in the calculation, adherence to the regular break times is not observed. # Adjust Past Values diff --git a/src/ui_controler.py b/src/ui_controler.py index 6c5b7fb..6874a43 100644 --- a/src/ui_controler.py +++ b/src/ui_controler.py @@ -32,6 +32,7 @@ def report_choice(self): msgBox = QMessageBox() msgBox.setText("Would you like the report of the overtime (0 if none or the amount) or of the regular hours?") msgBox.setWindowTitle("Report Generation") + msgBox.setWindowIcon(QIcon(self.ui.clock_picture)) overtime_button = msgBox.addButton("Overtime", QMessageBox.YesRole) time_button = msgBox.addButton("Time", QMessageBox.NoRole) cancelBtn = msgBox.addButton("Cancel", QMessageBox.RejectRole)