Bug 468727 - Code less & create more with Qt
Summary: Code less & create more with Qt
Status: CONFIRMED
Alias: None
Product: ghostwriter
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: megan.conkle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-20 15:49 UTC by renaud.guezennec
Modified: 2023-05-16 07:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description renaud.guezennec 2023-04-20 15:49:38 UTC
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
Comment 1 Devin Lin 2023-04-20 16:00:38 UTC
This is a Qt Quick application, what you have described applies to Qt Widgets applications.
Comment 2 renaud.guezennec 2023-04-20 16:03:10 UTC
No, ghostwriter is a Qt widgets application.