Commit Graph

41 Commits

Author SHA1 Message Date
GerhardHoffmann 8b6adb3ea7 Scrolldown text edit at end of whole update process to show
UPDATE_SUCCESS message.
2023-10-06 12:51:30 +02:00
GerhardHoffmann 2764ef4371 Output of current tool version at program startup 2023-10-04 14:33:52 +02:00
GerhardHoffmann 863d052a21 Removed debug info in appendText()/replcaeLst(). 2023-09-28 12:06:28 +02:00
GerhardHoffmann 61b3d29e31 Disable text-edit (showing update-status) ehen update procedure
finished.
2023-09-28 12:05:07 +02:00
GerhardHoffmann 9c213d0a97 Added some better debug output in the slots concerned with the text edit
of the main window ("update status").
Use insertPlainText() when adding to the text edit to simplify code.
2023-09-10 16:55:32 +02:00
GerhardHoffmann 18378afdc5 Did some testing with event filters on the main window. not used. 2023-09-10 16:54:54 +02:00
GerhardHoffmann 838efd3945 Show status message in the status bar of the GUI. 2023-09-09 15:06:58 +02:00
GerhardHoffmann 9a65cb4456 Add some debug message when adding content to the text edit of the GUI. 2023-09-09 15:06:21 +02:00
GerhardHoffmann df0951d671 Add the steps to prepare the bootloader for device-controller-firmware download
using cutom-events of type update-dc-event.
2023-09-09 15:04:41 +02:00
GerhardHoffmann 60cc752819 Add connect for showning a status message in status bar. 2023-09-09 15:03:52 +02:00
GerhardHoffmann 57b4716e2a Add emergency test function: if device stays in bootloader then use it to
make the device to leave the bootloader.
2023-09-09 15:02:45 +02:00
GerhardHoffmann 9531a08b4a Add a pointer to the device-controller-plugin. The main window will always be
owned by the GUI thread, and the GUI thread is loading the plugin. Hence the
worker-thread does not block itself when inside a QT slot.
2023-09-06 09:07:45 +02:00
GerhardHoffmann 0a28f0d82c Add message for current APISM version 2023-08-30 11:39:37 +02:00
GerhardHoffmann be28570d23 Minor change for output in status bar. 2023-08-23 16:27:47 +02:00
GerhardHoffmann 4ebdcf56a0 Clear message before showing a new one. 2023-08-22 12:21:17 +02:00
GerhardHoffmann 4307fb96a6 Add status bar instead of using an message box for displaying error messages. 2023-08-22 09:27:59 +02:00
GerhardHoffmann bea8242d6f Add some changes to the message box (to be chenged anyways later). 2023-08-18 11:50:14 +02:00
GerhardHoffmann 56daa84a14 Streamlined the connects (without any whitespace) to silence clang. 2023-08-18 11:49:34 +02:00
GerhardHoffmann 17ddfd0ddd Added slot onReplaceLast() to handle adding a QStringList to the text edit. 2023-08-18 11:48:29 +02:00
GerhardHoffmann 2ac8c4cfc6 Added scrollDownTextEdit() -> text edit is supposed to scroll down autmatically
in case too much info has to be displayed.
2023-08-18 11:46:57 +02:00
GerhardHoffmann 5263b7de0f Removed some DEBUG-output. 2023-08-16 12:42:10 +02:00
GerhardHoffmann a932ed5471 Hide button on error message box. 2023-08-11 11:07:16 +02:00
GerhardHoffmann c338884fc7 Use print-util in utils.h. 2023-08-11 11:06:38 +02:00
GerhardHoffmann ed6df98653 Set progress bar timer to 500ms.
Yield thread to give worker thread its share of CPU time.
2023-08-11 11:05:33 +02:00
GerhardHoffmann 9eb458c4c5 Start Application after 1 second delay. 2023-08-11 11:05:02 +02:00
GerhardHoffmann 5f1376cf1e Removed buttons reserved for future use.
Start application automatically, not via Start-Button.
2023-08-09 15:08:22 +02:00
GerhardHoffmann 329c770aa0 Use a message box with color red and a timer to click on ok after 5 secs. 2023-08-07 14:01:51 +02:00
GerhardHoffmann cdb045b72b Fixed onAppendText() and onReplaceLast():
Watch out for special suffixes.
2023-08-07 13:59:44 +02:00
GerhardHoffmann 4ff3b0efdf Advance the progress bar in the foreground when a long running task
in the background (e.g. git clone).
2023-08-06 20:44:26 +02:00
GerhardHoffmann 1fd2269753 onAppendText() only appends text.
onReplaceLast() replaces the last line in the text edit window.
2023-08-06 14:14:47 +02:00
GerhardHoffmann cf9033e898 Send custom event from worker(-thread) to MainWindow in order to update
progress bar.
2023-08-05 18:50:50 +02:00
GerhardHoffmann 44ad3caf2b Stop exit timer in onQuit.
Activate error message boxes.
2023-08-04 13:45:56 +02:00
GerhardHoffmann 427a272f8f Connect exit-button with clicked(). 2023-08-04 13:45:19 +02:00
GerhardHoffmann 96fb50e68d Moved init. of text-edit upwards.
Hide reserved buttons.
2023-08-04 13:44:16 +02:00
GerhardHoffmann c6e98f50c2 call onQuit() directly whem timer runs out 2023-08-03 10:14:09 +02:00
GerhardHoffmann 9b08420ac1 Use exit() instead of quit() to be able to add a returnCode in case of failure. 2023-08-03 09:06:50 +02:00
GerhardHoffmann 0ee92f0181 disbale exit-button as long as update process is running 2023-08-02 17:51:35 +02:00
GerhardHoffmann a995cae000 set exit timer to 10 secs 2023-08-02 16:54:47 +02:00
GerhardHoffmann 7293afd203 Minor change: include header 2023-08-02 15:44:16 +02:00
GerhardHoffmann b3f4a4086b Populate text-edit with run-time info from update-process. 2023-08-02 15:29:10 +02:00
GerhardHoffmann ab8acfc7d1 use gui-interface for ATBUpdateTool 2023-07-31 16:55:36 +02:00