nrwilk
March 3rd, 2006, 01:30 AM
Heya, everyone!
I'm trying to teach myself qt by following this guide:
http://women.kde.org/articles/tutorials/kdevelop3/
I got to this step here:
http://women.kde.org/articles/tutorials/kdevelop3/spaced-out.html
And I'm pulling my hair out because Qt Designer is not acting as the author of this guide decribes. Specifically, I get to the part where I am placing the spacers on either side of the textlabel, and then I select the spacers and the textlabel and I select "Lay Out Horizontally." At this point, they get the red box around them like the guide says, but it resizes them to be like four lines high and only about 1/4 as wide as the window. If I grab one of the handles for the alignment box and drag it to resize it, it only affects the sizing of the spacers, and not the textlabel. It even goes so far as cutting the text off on the top and bottom if I make it smaller than four lines high.
I think the problem probably comes from me using a newer version of qt Designer than they are using for the tutorial.
Can anyone explain to me how this is done?
Also, can anyone suggest a better, possibly a small bit more advanced, guide? I'd really like to learn this stuff because I feel stagnant being able to write mediocre C++, but not being able to write a graphical program. It's time I learned.
Thanks so much for any help!
NRW
I'm trying to teach myself qt by following this guide:
http://women.kde.org/articles/tutorials/kdevelop3/
I got to this step here:
http://women.kde.org/articles/tutorials/kdevelop3/spaced-out.html
And I'm pulling my hair out because Qt Designer is not acting as the author of this guide decribes. Specifically, I get to the part where I am placing the spacers on either side of the textlabel, and then I select the spacers and the textlabel and I select "Lay Out Horizontally." At this point, they get the red box around them like the guide says, but it resizes them to be like four lines high and only about 1/4 as wide as the window. If I grab one of the handles for the alignment box and drag it to resize it, it only affects the sizing of the spacers, and not the textlabel. It even goes so far as cutting the text off on the top and bottom if I make it smaller than four lines high.
I think the problem probably comes from me using a newer version of qt Designer than they are using for the tutorial.
Can anyone explain to me how this is done?
Also, can anyone suggest a better, possibly a small bit more advanced, guide? I'd really like to learn this stuff because I feel stagnant being able to write mediocre C++, but not being able to write a graphical program. It's time I learned.
Thanks so much for any help!
NRW