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. [Solved] New .ui.qml template
Forum Update on Monday, May 27th 2025

[Solved] New .ui.qml template

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 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.
  • T Offline
    T Offline
    tmurison
    wrote on 13 Dec 2014, 07:47 last edited by
    #1

    Probably a bit of a n00b question, but with Qt Creator 3.3 and Qt 5.4, creating a new "QtQuick UI File" from a template results in a MyFile.qml/MyFile.ui.qml pair. Qt Creator suggests the .ui.qml file should only be edited in the design view.

    I did a quick search through the examples that comes with Qt 5.4 and none of them have use .ui.qml files. Is the idea to factor logic in the .qml and pure UI controls in .ui.qml? If so, are there some examples illustrating how to do this? I've looked at the examples that come with Qt 5.4 and none of them seem to use the .ui.qml convention.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tmurison
      wrote on 14 Dec 2014, 02:26 last edited by
      #2

      My mistake, when presented with the "MyFileForm" automatic name, I deleted "Form". Obviously the correct thing to do is keep that suffix, then the use of these files is obvious.

      1 Reply Last reply
      0

      1/2

      13 Dec 2014, 07:47

      • Login

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