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. Dynamically generating QML
Forum Updated to NodeBB v4.3 + New Features

Dynamically generating QML

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 948 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.
  • Q Offline
    Q Offline
    qttester5
    wrote on last edited by
    #1

    I am very attracted to QML for controlling the entirety of a UI but I am wondering how flexible it is for handling cases such as having the user decide how many rows or columns to split a window. It's easy to hard code this into the QML for one or two splits, but suppose you want the user be able to arbitrarily split a window on demand. You would need to have new QML splitting code generated or somehow available. Would this require instead using c++ to control the UI and the QML rather than have QML retain control on its own?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jagholin
      wrote on last edited by
      #2

      I find QtQuick alone to be powerful enough to implement this behavior without help from C++ side. I guess it also kinda depends on what exactly do you need, so why not share some code?

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qttester5
        wrote on last edited by
        #3

        Since posting my question, I learned of the native QML techniques for doing this and they have satisfied my interest on this. Happy not to include c++ for this task.

        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