Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt & Dynamic screen with QuiLoader
Forum Updated to NodeBB v4.3 + New Features

Qt & Dynamic screen with QuiLoader

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 1.3k 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.
  • M Offline
    M Offline
    mickae1
    wrote on 16 Apr 2013, 14:23 last edited by
    #1

    Hi,

    I've a question about QuiLoader. Is it possible to load ui file from a specified directory in my drive ? Or the file has to be inside a plugin or compiled with the program ?

    Thx you for your help,

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 16 Apr 2013, 14:42 last edited by
      #2

      Hi and welcome to DevNet,

      Nothing forbids you to load files from a directory. The example and documentation suggest to have the ui files in a resource only to ensure that your program will have them at run time (especially useful if all your interface is made with designer)

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sierdzio
        Moderators
        wrote on 16 Apr 2013, 14:43 last edited by
        #3

        Yes, just take a look at the snippet in the "docs":http://qt-project.org/doc/qt-4.8/quiloader.html.

        (Z(:^

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mickae1
          wrote on 16 Apr 2013, 14:51 last edited by
          #4

          Thx you for your quick answer.

          My goal is to load a dynamic xml file into the screen ( it's possible : good).
          My second goal is to receive all buttons events in one function.

          And once I get the events, I would like to get the values of each component like :

          Screen.combobox1.value
          Screen.fieldText1.value

          Is it possible ? I'm sorry, I'm a beginner. Thx,

          1 Reply Last reply
          0

          1/4

          16 Apr 2013, 14:23

          • Login

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