Active Topics

 


Reply
Thread Tools
Posts: 287 | Thanked: 165 times | Joined on Oct 2009 @ The Netherlands
#1
I'm trying to port an application to Maemo (keepassx). I manage to get it running with the latest 4.6 environment but some screens need some rework.

Are there any docs/tutorials with best practices?

For example, the keepassx screens are designed so that a user can resize them. That makes no sense on the N900 because all windows are fixed (the width anyway). Are there guidelines/tips for screensizes?

The input fields are too small when using the default (see image below). If i make them 41 pixels high, it's usable. Are there any guidelines/tips for object sizes?

Are there any good/simple examples that shows usage of qt objects?

Maemo version:


Qt Creator version:

Last edited by robbie; 2009-11-21 at 17:05.
 

The Following 2 Users Say Thank You to robbie For This Useful Post:
Fargus's Avatar
Posts: 1,217 | Thanked: 446 times | Joined on Oct 2009 @ Bedfordshire, UK
#2
Originally Posted by robbie View Post
I'm trying to port an application to Maemo (keepassx). I manage to get it running with the latest 4.6 environment but some screens need some rework.

Are there any docs/tutorials with best practices?

For example, the keepassx screens are designed so that a user can resize them. That makes no sense on the N900 because all windows are fixed (the width anyway). Are there guidelines/tips for screensizes?

The input fields are too small when using the default (see image below). If i make them 41 pixels high, it's usable. Are there any guidelines/tips for object sizes?

Are there any good/simple examples that shows usage of qt objects? ....
Have you tried the GUI Guidelines ? http://www.forum.nokia.com/info/sw.n...yle_Guide.html

Last edited by Fargus; 2009-11-21 at 17:22. Reason: Loose the grpahics
 
pH5's Avatar
Posts: 138 | Thanked: 375 times | Joined on Aug 2009 @ Berlin
#3
Originally Posted by robbie View Post
For example, the keepassx screens are designed so that a user can resize them. That makes no sense on the N900 because all windows are fixed (the width anyway). Are there guidelines/tips for screensizes?

The input fields are too small when using the default (see image below). If i make them 41 pixels high, it's usable. Are there any guidelines/tips for object sizes?
I'm not sure about Qt specifics, but to all layout questions you should be able to find an answer in the Fremantle Master Layout Guide.
 
Posts: 287 | Thanked: 165 times | Joined on Oct 2009 @ The Netherlands
#4
Thanks!

The master layout guide provides at least some sizes. Now see if i can translate that to the gui designer of Qt Designer..

Last edited by robbie; 2009-11-21 at 17:54.
 
qgil's Avatar
Posts: 3,105 | Thanked: 11,088 times | Joined on Jul 2007 @ Mountain View (CA, USA)
#5
 

The Following 2 Users Say Thank You to qgil For This Useful Post:
Posts: 287 | Thanked: 165 times | Joined on Oct 2009 @ The Netherlands
#6
qgil, Thanks for the links. I think the first link would be helpfull on the page of the second link as well. The second link unfortunatly doesn't have an application that is created with the gui designer of Qt creator.

My problem is that i'm trying to port an existing application to Maemo. Most of the code runs fine but the gui is all messed up because keepassx normally is used on screens larger than 800x400 (aprox availible size without menubar).

What i'm looking for is a guide that tells how big you have to make the objects so that you can see what you get on the device. Here's what i found out so far:
  • You should create a gui specially for Maemo. Standard gui's won't work well (see screenshot).
  • Menu's look nice. Probably need a stylus to use them (but thats alright)
  • The labels are Nokia Sans 18
  • The textfields should be at least 40 pixels high so that the text fits in
  • You must disable code for handling the systray because the N900 doesn't have a systray and the application won't compile

Some anoyances:
  • Creation a gui with Qt creator designer is not wysiwyg. It's trial and error.
  • I can't seem to get the scrollarea working. That would probably make life easier on a limited screen height.
 
Posts: 42 | Thanked: 27 times | Joined on Dec 2009 @ Espoo, Finland
#7
Is this still under development?

http://maemo.org/packages/view/keepassx/
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:42.