Results 1 to 7 of 7

Thread: ListBox view

  1. #1
    Join Date
    Jan 2007
    Posts
    4
    Qt products
    Qt4 Qt/Embedded

    Default ListBox view

    Hi,

    Am using Qtopia GreenPhone : Qtopia 4.2 release...I want to know how to load different listbox views and how to switch between different listbox views...

    What are the various API's used for this...

    Can anybody help me with this?

    Regards,
    Mithra

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: ListBox view

    Could you explain what you mean by "load different listbox views and switch between listbox views"?

  3. #3
    Join Date
    Jan 2007
    Posts
    4
    Qt products
    Qt4 Qt/Embedded

    Default Re: ListBox view

    Hi,

    In my application, first view contains a listbox.I want to load a different view which is also a listbox view upon clicking of any of the listbox item in the first view.And moreover i should be able to go to the first view also.

    This is my question.Now, am i clear?

    Thanks,
    Mithra

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: ListBox view

    No, you're not clear, but I can try to guess what you need. I think you want to use QStackedWidget and place those two boxes on different pages of the widget so that you can exchange the two. A custom slot connected to appropriate signals should handle the switch.

  5. #5
    Join Date
    Jan 2007
    Posts
    4
    Qt products
    Qt4 Qt/Embedded

    Default Re: ListBox view

    Hi..

    Thanks for the info u have given.I am stating an example below.Hope this will clear the scenario.

    When application is launched,it shows a list that contains three items for e.g. credit card , debit card and misc card. if user wants to know the list of all the credit cards stored, it click credit card item and then list of credit card items is shown to the user and from that user can also come back to the main list items and so on..

    which APIs will help me to achieve this functionality?

    Hope things are more clear now..

    Thanks,
    Mithra

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: ListBox view

    The one I mentioned - QStackedWidget.

  7. #7
    Join Date
    Jan 2007
    Posts
    4
    Qt products
    Qt4 Qt/Embedded

    Default Re: ListBox view

    Thanks for the help!!!

    Mithra

Similar Threads

  1. Model, View and Proxy
    By No-Nonsense in forum Qt Programming
    Replies: 2
    Last Post: 21st November 2006, 08:50
  2. Should I develop my own model and view?
    By dandanch in forum Qt Programming
    Replies: 1
    Last Post: 20th November 2006, 06:09
  3. Model - View Programming doubt.
    By munna in forum Qt Programming
    Replies: 4
    Last Post: 28th April 2006, 13:01
  4. Replies: 6
    Last Post: 20th April 2006, 10:23
  5. Listbox Autoscroll is not happening?
    By mahe2310 in forum Qt Programming
    Replies: 4
    Last Post: 9th March 2006, 09:13

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.