[Qt-interest] How to make a dialogue box with scroll bars?
Robert Wood
robert.wood at apostrophe.co.uk
Fri Mar 25 11:40:27 CET 2011
I can only speak from my experience! ;~)
Around eighteen months ago I knocked a database front end for my little
company. I found accessing the mysql database and getting the data in
and out much more straightforward than getting the layouts right! Even
now I am not quite happy with the way it looks. I find it impossible to
get some of the boxes I want a fixed size (yet some I get right),
widgets in exactly the right place and I find spacers just impossible to
understand. I played for hours with all this stuff, looked at little
youtube videos and read my Qt book!
I will grant you I am poor at graphics and spacial awareness in general,
but intuitive is the last word I would use for Designer.
I think sometimes you (one) forget(s), once you've been using a system
for a long while, just how much knowledge you've picked up and how much
of a learning curve you had at the start. When you just dip in and out
of Designer (and Creator) like me, I think these difficult kinds of
things take even more learning.
Either that or I'm just thick! ;~)
Cheers,
Rob
On 25/03/11 10:19, Till Oliver Knoll wrote:
>
>
> Am 24.03.2011 um 13:07 schrieb Robert Wood<robert.wood at apostrophe.co.uk>:
>
>> Many thanks again. :~) Designer is actually pretty complex in its own
>> right, I find a lot of the layout stuff really hard to get right.
>>
>
> Au contraire! Layouts in Qt are very easy and intuitive! And Qt Designer makes them intuitive and even easier to apply: simply select the widgets you want to layout (or the container widget), choose a suitable layout (the intuitive "Grid layout" covers most of my needs), et voilà!
>
> Add "spacers" as needed and you get your desired layout in no time!
>
> If you have used "Card Layouts", "NorthEastSouthWest" layouts, "Gridbag" layouts and tried to figure out their proper parameters, you know what I am talking about! And I have yet to find a good GUI designer for Java which is free, performant, intuitive and most importantly, does not touch my OWN code in any way!
>
> Cheers, Oliver
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list