As the topic says, let's up this topic until the next version of QDesigner comes with the property Anchors for each visual QT control, so we don't need to waste days learning how to draw layouts by trying and testing until the thing becomes good. What an annoying task and waste of time, huh? Even coding the GUI is easier than using QDesigner in some cases.
What does Anchors property mean?
The purpose of an Anchors property is to set, as the name suggests, the anchors (Top/Bottom/Left/Right) of a given visual control. With Anchors you don't need to set any layouts because it will do the job automatically for you. It will resize the controls (eg: inside a QDialog) when you resize the dialog itself. It's a very easy way to design a GUI and it must be part of the next version of QDesigner. Things will become much more easier to design window applications.
The Anchors property idea is took from Borland IDEs (Delphi/C++Builder). If you already used one of them you know that the anchors property is very usefull when designing GUIs.
Note: The purpose of this topic is not to clean QT from using layouts, but just to add a new property that will let the developer to choose if he wanna suffer with layouts or to use the anchors property and be very happy!
Up!
Bookmarks