Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Page by Page Display [Android]
QtWS25 Last Chance

Page by Page Display [Android]

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 4 Posters 1.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kingsta
    wrote on last edited by
    #1

    Hi friends.

    I wonder something that how can I make a page by page display on my android app?

    Generally, when I make a program on Windows, I have a MainWindow class and a main window. Sometimes I show widget windows. For example settings window, about window etc. You know, this method is not useful for android. Generally, mobile apps run on full screen. I used to make a program on QML (on Windows) and its good for my wish. But I dont like QML. How can I do that on Qt?

    I hope I can clearly tell my wish.

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vladstelmahovsky
      wrote on last edited by
      #2

      Check StackView of QtQuick controls

      1 Reply Last reply
      0
      • S Offline
        S Offline
        stereomatching
        wrote on last edited by
        #3

        1 : you can hide the other "pages" when the major page is on
        2 : use StackView of QtQuick controls
        3 : if there are too many pages to handle, you can generate those pages dynamically

        This link should be able to help you

        "tutorial":http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=20&ved=0CHEQFjAJOAo&url=ftp://ftp.informatik.hu-berlin.de/pub3/Linux/Qt/QT/developerguides/desktopguide/QtQuickApplicationGuide4Desktop.pdf&ei=2MaUUs2bN--ViAfF54HoCQ&usg=AFQjCNGBTZbmowl8Y1rf9wfooPKnJlWFDA&sig2=8N_wjcmFq3GuP94t2h_f3A&bvm=bv.57155469,d.bmk&cad=rja

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kingsta
          wrote on last edited by
          #4

          What do android developers do? Which methods are useful to do that?

          @stereomatchi
          Lets take a look what I see.

          1: I should use Qt to do that. All windows are full screen. Only a window that is necessary to seem is show, rest of windows are hide. (I guess the sentence is weird. I hope you understand)
          2: I got the point. There is a good article in "here":http://qt-project.org/doc/qt-5.1/qtquickcontrols/qml-qtquick-controls1-stackview.html.
          3: How can i do that?

          1 Reply Last reply
          0
          • J Offline
            J Offline
            julienw
            wrote on last edited by
            #5
            1. I think that you just need to set the property visible for the pages, but that's need to confirm.
            2. Loader? See "Controlling Element Lifetime":http://qt-project.org/doc/qt-5.1/qtdoc/qtquick-performance.html part
            1 Reply Last reply
            0
            • K Offline
              K Offline
              kingsta
              wrote on last edited by
              #6

              I will read the articles. When I can make a something, I will write post.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved