×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Regular Contributor
    Join Date
    Mar 2010
    Posts
    78

    Post Screen navigation in Qt for symbian

    Hi,


    Using QStackedWidgetItem application in Qt for symbian,the 2nd page is being displayed by overlapping the 1 st page ,wher i dont want that to happen .when i click a button of the 1st page it just have to display to the 2nd page ,where the 2nd page is to be displayed not by overlapping the 1 st page .

    Thanks and Regards
    Anamika

  2. #2
    Registered User
    Join Date
    Apr 2011
    Posts
    25

    Re: Screen navigation in Qt for symbian

    Do you have any screenshots?

  3. #3
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: Screen navigation in Qt for symbian

    Quote Originally Posted by Anamika View Post
    Hi,


    Using QStackedWidgetItem application in Qt for symbian,the 2nd page is being displayed by overlapping the 1 st page ,wher i dont want that to happen .when i click a button of the 1st page it just have to display to the 2nd page ,where the 2nd page is to be displayed not by overlapping the 1 st page .

    Thanks and Regards
    Anamika
    If you dont want to place one widget above the another why use QStackedWidget then

  4. #4
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Screen navigation in Qt for symbian

    ,wher i dont want that to happen .when i click a button of the 1st page it just have to display to the 2nd page ,where the 2nd page is to be displayed not by overlapping the 1 st page .
    can you explain what your exact requirement.

  5. #5
    Regular Contributor
    Join Date
    Mar 2010
    Posts
    78

    Re: Screen navigation in Qt for symbian

    I am unable to attach the screen shot of emulator in the forum.please tell me how to do this

  6. #6
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: Screen navigation in Qt for symbian

    How about uploading the pic to some service, like TinyPic.com and then share the link here?

    Also, if you have two forms, say View1 and View2, what stops you from instantiating View2 and showing it on the screen while hiding or even deleting the other one?
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  7. #7
    Regular Contributor
    Join Date
    Mar 2010
    Posts
    78

    Re: Screen navigation in Qt for symbian

    When i click the button of the first page ,it just have to navigate to the second page.

    In my case when i click the button of the first page ,the second page is being displayed by overlapping the first page

  8. #8
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Screen navigation in Qt for symbian

    Quote Originally Posted by Anamika View Post
    When i click the button of the first page ,it just have to navigate to the second page.

    In my case when i click the button of the first page ,the second page is being displayed by overlapping the first page
    sorry but still not clear what is your required . is that you want the 2nd view to partially show on top of view 1 like a prompt dialog ?

  9. #9
    Regular Contributor
    Join Date
    Mar 2010
    Posts
    78

    Re: Screen navigation in Qt for symbian




    When i click the button of the first page ,it just have to navigate to the second page.

    In my case when i click the button of the first page ,the second page is being displayed by overlapping the first page
    Last edited by Anamika; 2011-04-19 at 07:18.

  10. #10
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Screen navigation in Qt for symbian

    Quote Originally Posted by Anamika View Post



    When i click the button of the first page ,it just have to navigate to the second page.

    In my case when i click the button of the first page ,the second page is being displayed by overlapping the first page
    it is more clearer now. for your requirement one way of your doing is just resize your widgets to your requirement.

  11. #11
    Regular Contributor
    Join Date
    Mar 2010
    Posts
    78

    Re: Screen navigation in Qt for symbian

    ok when i call second view .the first view is still there.....my requirement is to view the navigation without overlapping. shall i use QStackedWidget.
    Last edited by Anamika; 2011-04-19 at 07:52.

  12. #12
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Screen navigation in Qt for symbian

    note: QStackedWidget is used to show multiple widgets on same parent widget so might not fit for your requirement.

  13. #13
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: Screen navigation in Qt for symbian

    Quote Originally Posted by Anamika View Post
    ok when i call second view .the first view is still there.....my requirement is to view the navigation without overlapping. shall i use QStackedWidget.
    As stated above QStackedWidget doesn't seem fit for use in this scenario.

  14. #14
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: Screen navigation in Qt for symbian

    Seriously Anamika, is that the best you can do in terms of screen capture? You could make the simulator image a lot smaller and then put it in a 4000x4000 white background, see how that looks ... Don't you thing that what we needed to see is inside the emulator and not in the huge white background you provide?

    Have you read my earlier comment? What is wrong with the concept of hiding one view while showing the other? What is wrong with the concept of deleting one view while showing the other, newly instantiated? Or what is wrong with the QStackedWidget? Or what is wrong with explicitly hiding the widgets you don't want to see anymore?
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  15. #15
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Screen navigation in Qt for symbian

    Yes, as said by ltomuta, showing current widget (call show() method for this) and hiding other widgets (call hide() method for this) is the easiest way for you to implement. Also putting a multiple widgets in QStackedWidget and then activating the current one using setCurrentIndex() method is also a state forward method.

Similar Threads

  1. How to create Multiple screen app in Qt for Symbian/Maemo?
    By narendar_discover in forum [Archived] Beginning Qt
    Replies: 7
    Last Post: 2011-04-25, 15:41
  2. Replies: 35
    Last Post: 2010-09-13, 12:05

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×