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. How: QT4 Application on QVGA screen with multiple pages?
Forum Updated to NodeBB v4.3 + New Features

How: QT4 Application on QVGA screen with multiple pages?

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 758 Views 1 Watching
  • 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.
  • M Offline
    M Offline
    mspr
    wrote on last edited by
    #1

    Hey everyone,

    I'm currently making my way into QT and have already written a few small Desktop applications.
    However, I'm stuck with my current project:

    I have a raspberry Pi that has a QVGA screen attached to it.
    There's not much space for a toolbar or something, so I want to use the whole screen for my widgets.

    An example:

    1 Page: Mainscreen
    This widget has one button ("Load File")

    2 Page: Load File
    This screen is supposed to look for a USB drive.
    While it does so, it shall show a message telling the user that it is currently searching for the USB drive and giving him the chance to Cancel and return to the main screen.
    Once the USB drive has been found, there shall be a QListView that has all the files from the USB drive in it.
    Again, there's a cancel button that takes the user back to the mainscreen and a "Select" button that performs some actions to the file...

    How would I structure such an application?
    What kind of widgets do I use for the Mainscreen and the messages beeing displayed?

    Is QStackedWidget the way to go or would I simply create a few QDialogs and display them by calling showFullscreen?

    I'd so appreciate a hint that points me into the right direction of how to implement a fullscreen multipage application.

    Thanks a lot in advance,

    Michael

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Sounds almost like you are preparing a variant of QWizard.

      If this one doesn't fit, a QStackedWidget combined with a QStateMachine could also do the job pretty well.

      QStateMachine is not mandatory, however it might help structure your application.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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