Results 1 to 4 of 4

Thread: How to stucture fullscreen Raspberry Pi application with screen transitions?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to stucture fullscreen Raspberry Pi application with screen transitions?

    My overall suggestion would be to go for QtQuick (QML) for this type of interface.

    Transitions like that are easy to do with QtQuick animations but a lot of work with widgets.

    Each screen can then be done as a separate QML obejct/file, transitions could potenially be delegated to a StackView.

    Cheers,
    _

  2. #2
    Join Date
    Nov 2016
    Posts
    3
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to stucture fullscreen Raspberry Pi application with screen transitions?

    @anda_skoa Thank you. Following your advice, I looked into Qml and I admit it that, using StackView, one might achieve transitions easily. However, I originally forgot to add that the application will neither have a touch screen nor a mouse. In fact, it will be controlled by several hardware buttons, such as keyUP, keyDown, keyRight, keyLeft, btnAccept, etc... It seems to me that QtQuick is perfect for the scenario in which there is a touch screen or a mouse available - scrollable Views, drawers, check boxes etc. fit perfectly then. However, due to the control limitations I am facing, the flow will be the following:

    the user will navigate between buttons on the screen by pressing left, right, up and down to hover over a given button and then press the accept button to simulate the button press. In that scenario, it seems to me that many of the functionalities that QML provides are not used. For instance, a scrollable list view cannot be incorporated since it depends on scrolling motion, which cannot be done using the hardware buttons that I will implement.

    Do you think that my concerns are legitimate or would you still continue with QML? Thank you!

  3. #3
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to stucture fullscreen Raspberry Pi application with screen transitions?

    While the components are touch aware, I don't see any problem when not using that.

    E.g. you can scroll the listview programmatically, on press of a button, keyboard key, hardware button or dial.

    A lot of the QtQuick based HMIs for cars, machine control interfaces, etc., use hardware controls as input devices, some exclusively, some in addition to touch screen capability.

    Cheers,
    _

  4. The following user says thank you to anda_skoa for this useful post:

    dgb589 (29th January 2017)

Similar Threads

  1. Qt5 on Raspberry Pi EGLFS wrong screen resolution
    By 1994rstefan in forum Qt Programming
    Replies: 3
    Last Post: 21st June 2017, 15:06
  2. QML application on read only raspberry pi
    By mefi100 in forum Qt for Embedded and Mobile
    Replies: 6
    Last Post: 25th October 2016, 04:39
  3. QML application slow on raspberry pi
    By ironexmaiden in forum Qt Quick
    Replies: 1
    Last Post: 14th October 2014, 13:33
  4. Replies: 5
    Last Post: 7th February 2014, 00:08
  5. Replies: 0
    Last Post: 19th January 2011, 03:29

Tags for this Thread

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.