Active Topics

 


Reply
Thread Tools
Posts: 42 | Thanked: 67 times | Joined on Dec 2009 @ Leeds, United Kingdom
#1
Im just getting to grips with development on freemantle and the n900. Now I know this is gonna sound like a daft question to all you developers out there but please take into consideration Im just getting started on this platform.

How do you position controls in a window, such as multiple buttons, text entries etc. Ive read the sdk but cannot see any mention of a layout guide.

Also what is the recommended location for application data to be stored? Would this be in MyDoc's????
 
Posts: 246 | Thanked: 2,574 times | Joined on Jan 2010 @ Egypt, Cairo
#2
There are layout containers in Gtk and Qt the position elements according to the layout type. For example widgets added to a vertical layout (QVBoxLayout in Qt) are displayed vertically, much like a stack.

Here is a nice intro to layouts in Qt: http://thelins.se/learnqt/2009/05/qt...ts-the-basics/
 

The Following User Says Thank You to tgalal For This Useful Post:
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#3
Hi,

if you want to develop in Qt, have a look in the wiki for the instructions how to set up your environment, where to get examples and how to get started.

Daniel
 

The Following User Says Thank You to danielwilms For This Useful Post:
Posts: 42 | Thanked: 67 times | Joined on Dec 2009 @ Leeds, United Kingdom
#4
Thanks everyone, I appreciate you taking the time to point me in the right direction. It was slightly confusing that the dev docs were written using Gtk however since QT4.6 is going on the N900 and it already supports QT it seems better sense to write apps in that!

I will be progressing on to game development when Im ready but for that I aim to look at X11 and opengl ES.
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:49.