About 511,000 results
Open links in new tab
  1. qt - How to access C++ enum from QML? - Stack Overflow

    Nov 20, 2013 · Qt also supports QML-defined enum types since Qt version 5.10. As an alternative to the C++-based answer by air-dex, you can now also use QML to create enum types:

  2. qml using Row to align components in the center - Stack Overflow

    Nov 1, 2017 · qml using Row to align components in the center Asked 7 years, 7 months ago Modified 4 years, 7 months ago Viewed 24k times

  3. qt - Detect press and hold of a Button in QML - Stack Overflow

    Nov 25, 2015 · Refer to QML MouseArea — propagateComposedEvents for more details. Another suggestion is to manually propagate the clicked signal in your mouseArea to the …

  4. How to use qrc in c++ and QML application? - Stack Overflow

    Feb 27, 2015 · Explains how to use qrc in C++ and QML applications with examples and solutions.

  5. c++ - Include another QML file from a QML file - Stack Overflow

    Oct 26, 2014 · The imported QML file defines a type whose name is the same as the filename (capitalized, less the .qml suffix). QML calls the type a reuseable component. You use that …

  6. How to do a "is_a", "typeof" or instanceof in QML?

    Dec 17, 2012 · Since Qt 5.10, you can finally use instanceOf to check whether a variable is of a certain QML type, see "QML Support for Enum and InstanceOf Type Checks". import …

  7. Difference between width/height and implicitWidth/Height

    Aug 30, 2017 · What is the difference between width / height and implicitWidth / Height in QML? When should one set the implicit dimensions instead of the regular? When should one ask the …

  8. How to pass properties to a Loader created object?

    I have a QML Loader which loads another qml Loader { id: gaugeLoader } PieMenu { id: pieMenu MenuItem { text: "Add Bar Gauge" onTriggered: gaugeLoader.source = "qrc:/Gauges/

  9. Declare a global property in QML for other QML files

    So if you need type checking and binding/change notify, simply declare your property as a member of the root object in your main.qml, and it will be accessible from everywhere in the …

  10. QML - Control border width and color on any one side of …

    May 14, 2013 · QML - Control border width and color on any one side of Rectangle element Asked 12 years, 1 month ago Modified 2 years, 2 months ago Viewed 48k times