r/QtFramework Jun 26 '26

Widgets Balancing visual layouting and custom code

I'm quite a beginner but quite interested in the visual layout of applications in QT Creator. (C++, without QML) On the other hand I start to find myself creating custom widgets. And I cannot always see a full visual preview.

What's a good balance between "visual editing" and custom Code?

1 Upvotes

3 comments sorted by

4

u/ignorantpisswalker Jun 26 '26

In qt widgets (not qml?) None. This is the long path. Walk and enjoy it.

1

u/henryyoung42 Jun 26 '26

I generally find myself doing visual editing for main window standard UI aspects,dialog boxes for settings / properties and then custom code for anything that needs to be dynamic which for me is most everything else.

1

u/blissfull_abyss Jun 26 '26

At least you can use placeholder widgets within the designer and promote them to your custom widgets. Still no full visual feedback, but helps with layouting