Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Developer getting started!

    Reply
    thundercat600 | # 1 | 2010-02-22, 19:05 | Report

    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????

    Edit | Forward | Quote | Quick Reply | Thanks

     
    tgalal | # 2 | 2010-02-22, 20:45 | Report

    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/

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to tgalal For This Useful Post:
    Fargus

     
    danielwilms | # 3 | 2010-02-23, 08:49 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to danielwilms For This Useful Post:
    Fargus

     
    thundercat600 | # 4 | 2010-02-24, 17:33 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout