Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Dynamically generating QML

    QML and Qt Quick
    2
    3
    726
    Loading More Posts
    • 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
      qttester5 last edited by

      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 Reply Quote 0
      • J
        Jagholin last edited by

        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 Reply Quote 0
        • Q
          qttester5 last edited by

          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 Reply Quote 0
          • First post
            Last post