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. Load qml-files inside a folder as tabs in a TabView

Load qml-files inside a folder as tabs in a TabView

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 2 Posters 1.3k 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.
  • H Offline
    H Offline
    Hedge
    wrote on last edited by
    #1

    I've got a Qt Quick (and C++ application) and would like to enable my users to write their own plugins in QML. Therefore I'd like to load all qml-files inside a folder as tabs in a TabView.

    What's the best way to achieve that?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dasRicardo
      wrote on last edited by
      #2

      What do you want to know, how you create objects dynamically or how to read a folder or both?

      **Sorry for my english :)

      PLEASE ADD [SOLVED] TO YOUR THREAD TITLE IF IT'S SOLVED.**

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Hedge
        wrote on last edited by
        #3

        Yeah, how to create objects dynamically and whether its possible to accomplish the folder-reading also in QML itself.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dasRicardo
          wrote on last edited by
          #4

          Both questions are answered here in the forum. Simply use search function or google. So here are your answers.

          "Here":http://qt-project.org/doc/qt-4.8/qdeclarativedynamicobjects.html

          "Here":http://qt-project.org/doc/qt-5/qml-qt-labs-folderlistmodel-folderlistmodel.html

          **Sorry for my english :)

          PLEASE ADD [SOLVED] TO YOUR THREAD TITLE IF IT'S SOLVED.**

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dasRicardo
            wrote on last edited by
            #5

            Please add [SOLVED] to all your solved threads because for other users it's a nice help to see if a thread is solved.

            **Sorry for my english :)

            PLEASE ADD [SOLVED] TO YOUR THREAD TITLE IF IT'S SOLVED.**

            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