Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User VVNart's Avatar
    Join Date
    Mar 2011
    Posts
    19
    The app that I'm doing is to select range of items to decorate a "cake" and save it into an image. There are 3 parts that I'm trying to figure out:

    1. Create Object - after select items from a list, how to create the object after click the button?

    2. Remove Object - sometimes if want to do any changes, I need to remove the object to add new object on it. Is it possible to remove the previous object? This is to prevent from using up the RAM.

    3. Save object - After done customize, how am I save all the objects and link to another qml so that I can use it back?

  2. #2
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    For 1 and 2, read Dynamic Object Management in QML
    For 3 ... interesting question. Do you intend to save it as QML or as a binary representation of the composition, which can be later rendered back through your application using QML?

  3. #3
    Registered User VVNart's Avatar
    Join Date
    Mar 2011
    Posts
    19
    I'm not sure which is the best way. After done customize, I want to maintain object as it is and bring it to the next QML for "screenshot" it as image.

    So I would not save it. Just want to maintain it to use for the next QML.

  4. #4
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    Bring it to the next QML? There is only one object tree in your application, with a root item and all the other being its descendants of various degrees. Your "next QML" is therefore very likely just another branch of the tree, while your customized object is also living somewhere there, it the objects tree.

  5. #5
    Registered User VVNart's Avatar
    Join Date
    Mar 2011
    Posts
    19
    I see. So is more complicated or it just impossible to be done?

    I'll seek another alternative which is all in one QML perhaps? I'm just trying to avoid using a lot of states that using RAM a lot.

    Thanks for the advice. Nice to meet you

Similar Threads

  1. How to call/load another QML file from QML ?
    By cadlg in forum [Archived] Qt Quick
    Replies: 5
    Last Post: 2011-07-28, 09:15
  2. Replies: 5
    Last Post: 2010-09-28, 12:31
  3. How to create a message, and put it into inbox
    By zhoulala in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2007-04-24, 10:00
  4. How to create a text file and save it in the INBOX?
    By bakhtiarkamal in forum Symbian User Interface
    Replies: 5
    Last Post: 2006-11-09, 05:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved