QT Features vs. Delphi and Align

I admit that I am completely new to QT, so naked with me. I'm used to developing in Delphi, but I recently switched to Python development and with that PyQT (I'll switch to PySide later). Anyway, I'm trying to figure out if there is anything in QT that is equivalent to Delphi Align capabilities like alTop, alClient, alRight, etc.?

Regards, Brian

+2
properties alignment qt delphi


source to share


1 answer


There's something better than alignment: layouts ! You can create layouts from Qt Designer or from code. My approach is to start with the smallest grouping unit and add layouts and spacers as needed and finish with the window layout, which ensures that all widgets are resizable with the window.



+6


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics