SUMMARY Replace UI creation code by ".ui" files for most widgets. As it will create simpler code to read and edit. The cpp code will be mainly dedicated on what to do instead of how elements must appear. It can definitely improve the way to add new features. Anybody who doesn't like Qt Designer are free to make/edit ".ui" files by hand if they really want to work like in the 90's. Of course, the change can be done one by one. No need to rush and make an all at once change. OBSERVED RESULT It gives headache to find the right place to add a poor QLineEdit or QLabel into dialog boxes. EXPECTED RESULT Just drag and drop, set a proper name and that should be all. SOFTWARE/OS VERSIONS: All KDE Plasma Version: All KDE Frameworks Version: All Qt Version: 5 or 6 ADDITIONAL INFORMATION
This is a Qt Quick application, what you have described applies to Qt Widgets applications.
No, ghostwriter is a Qt widgets application.