Reply
Thread Tools
Posts: 190 | Thanked: 129 times | Joined on Mar 2010 @ Bavaria, Germany
#21
Originally Posted by saxen View Post
really nice code gri, i think i'm gonna try it :P
btw i've a question about ui...how to set window size?! i mean max res is 800*480 or 480*800 but what's about status bar?! :S
Why do you want to set the windows sizes? Dialogs have the size they need. Windows take the most space they can get. The layouting is done by Qt. Think of porting to another device: It may have completely different screen sizes. Let Qt do the work and don't care about them
 
Posts: 124 | Thanked: 10 times | Joined on Jan 2007 @ Italy
#22
mmm so what's about dialogs(or widget) size?! should i've to fix it?!
 
Posts: 190 | Thanked: 129 times | Joined on Mar 2010 @ Bavaria, Germany
#23
Originally Posted by saxen View Post
mmm so what's about dialogs(or widget) size?! should i've to fix it?!
You know how to use the layouts?
Just open the Qt Designer and play around with layouting (there are tool buttons for that). You will also need to understand the sizePolicy options.

That's all you need. No pixel coordinates or something else
 

The Following User Says Thank You to gri For This Useful Post:
Posts: 124 | Thanked: 10 times | Joined on Jan 2007 @ Italy
#24
i guess layout will do everything about screensize!
btw once app's core is done i'll start move around in order to create a "cute" ui

thanks again!
 
Posts: 124 | Thanked: 10 times | Joined on Jan 2007 @ Italy
#25
could you suggest me some guide about ui creation!? i've found a lot of documents but i'd like to found a good one to learn how to create ui
 
Posts: 190 | Thanked: 129 times | Joined on Mar 2010 @ Bavaria, Germany
#26
Originally Posted by saxen View Post
could you suggest me some guide about ui creation!? i've found a lot of documents but i'd like to found a good one to learn how to create ui
The best source is the Qt documentation itself. Take a look in your Qt Assistant.

http://doc.qt.nokia.com/qt-maemo-4.6...d-layouts.html
http://doc.qt.nokia.com/qt-maemo-4.6...s-layouts.html
 
Posts: 124 | Thanked: 10 times | Joined on Jan 2007 @ Italy
#27
thanks for these links! btw i still don't understand how set items size properly in order to fix them in main widget :O

where can i find a real example!? i mean a *.ui file from some app :O

EDIT. ok i've found a good one

Last edited by saxen; 2010-06-05 at 10:42.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:38.