Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Page layout like Windows UWP App
Forum Updated to NodeBB v4.3 + New Features

Page layout like Windows UWP App

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 551 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.
  • P Offline
    P Offline
    pradeg
    wrote on last edited by
    #1

    Good day,
    unfortunately my English is very bad, so I use deepl for the translation. Nevertheless, I hope that my request is well presented.
    I am a teacher and I don't know how to program yet. But I would like to learn. I would like to do this with a concrete project. But Qt and QML are so powerful that I don't know where and how to continue.
    I would like to develop a programme for the desktop with touch control. There is already a similar programme, but it was developed in Xamarin. Unfortunately, the programme is not developing any further. That's why I hope to start my own open source project and if I can already show something, that I can find more helpers.
    I would like to start with the layout in QML. For this purpose, I would like to have a GUI layout like the one found in many desktop programmes and websites. I would like to use the design of https://docs.microsoft.com/en-us/windows/apps/design/layout/page-layout
    in QML, but I don't know how to start.
    The programme should have the layout shown on the Microsoft website.
    How do I implement this in QML? I am grateful for any help.

    Kind regards
    Gerhard Prade

    alt text

    alt text

    alt text

    alt text

    ndiasN J.HilkJ 2 Replies Last reply
    0
    • P pradeg

      Good day,
      unfortunately my English is very bad, so I use deepl for the translation. Nevertheless, I hope that my request is well presented.
      I am a teacher and I don't know how to program yet. But I would like to learn. I would like to do this with a concrete project. But Qt and QML are so powerful that I don't know where and how to continue.
      I would like to develop a programme for the desktop with touch control. There is already a similar programme, but it was developed in Xamarin. Unfortunately, the programme is not developing any further. That's why I hope to start my own open source project and if I can already show something, that I can find more helpers.
      I would like to start with the layout in QML. For this purpose, I would like to have a GUI layout like the one found in many desktop programmes and websites. I would like to use the design of https://docs.microsoft.com/en-us/windows/apps/design/layout/page-layout
      in QML, but I don't know how to start.
      The programme should have the layout shown on the Microsoft website.
      How do I implement this in QML? I am grateful for any help.

      Kind regards
      Gerhard Prade

      alt text

      alt text

      alt text

      alt text

      ndiasN Offline
      ndiasN Offline
      ndias
      wrote on last edited by ndias
      #2

      Hi @pradeg,

      Take a look at: https://www.youtube.com/watch?v=P3DMJPCN5yg

      This tutorial uses Qt Quick Designer (QT creator) to create a QML navigation menu. Since your programming skills are basic, it should be a good starting point.

      Video playlist available on: link

      Regards

      1 Reply Last reply
      0
      • P pradeg

        Good day,
        unfortunately my English is very bad, so I use deepl for the translation. Nevertheless, I hope that my request is well presented.
        I am a teacher and I don't know how to program yet. But I would like to learn. I would like to do this with a concrete project. But Qt and QML are so powerful that I don't know where and how to continue.
        I would like to develop a programme for the desktop with touch control. There is already a similar programme, but it was developed in Xamarin. Unfortunately, the programme is not developing any further. That's why I hope to start my own open source project and if I can already show something, that I can find more helpers.
        I would like to start with the layout in QML. For this purpose, I would like to have a GUI layout like the one found in many desktop programmes and websites. I would like to use the design of https://docs.microsoft.com/en-us/windows/apps/design/layout/page-layout
        in QML, but I don't know how to start.
        The programme should have the layout shown on the Microsoft website.
        How do I implement this in QML? I am grateful for any help.

        Kind regards
        Gerhard Prade

        alt text

        alt text

        alt text

        alt text

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        @pradeg
        hi and welcome,

        not an easy task for a first app, but doable non the less.

        What you should investigate/read up on are the following (in my opinion)

        Thte menu on the left side:
        https://doc.qt.io/qt-5/qml-qtquick-controls2-drawer.html
        The menu bar on the top:
        https://doc.qt.io/qt-5/qml-qtquick-controls2-menubar.html
        The main selection in the middle:
        https://doc.qt.io/qt-5/qml-qtquick-gridview.html

        To align everything automatically:
        https://doc.qt.io/qt-5/qml-qtquick-layouts-layout.html

        Basics about models in Qt(to populate your grid view)
        https://doc.qt.io/qt-5/model-view-programming.html
        https://doc.qt.io/qt-5/qtquick-modelviewsdata-modelview.html

        I know, a lot to read, but the qt documentation is excellent, with examples and everything. You should be able to get startet. And feel free to ask more, when you have trouble :D


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply
        2
        • P Offline
          P Offline
          pradeg
          wrote on last edited by
          #4

          Thank you very much. Now i will read and look all the links. Thank you.

          1 Reply Last reply
          1

          • Login

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