KDAB / knut

Knut is an automation tool for code transformation using scripts.
Other
5 stars 14 forks source link

feat: add a way to display log in a ScriptDialog #157

Closed smnppKDAB closed 2 months ago

smnppKDAB commented 2 months ago

Added a QPlainTextEdit widget to allow real-time log display in the user interface. The actual code did not allow windows users to view logs when launching knut from the command line.

The QPlainTextEdit can be made visible using the qml setDisplayLogs method and taking as parameter the minimum log level that we want to have.

Fixes https://github.com/KDAB/knut/issues/26