Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.4k Posts
  • RangeSlider stepSize and wheel doesn't work

    Solved
    10
    0 Votes
    10 Posts
    984 Views
    raven-worxR
    @raga seems that this is a bug in QtCretaor's designer inserting the chosen value o nthe orientation property. change it manually to snapMode: RangeSlider.SnapAlways and it works as i tested it.
  • TableView and TableViewColumn with 6.1.0

    Unsolved
    1
    0 Votes
    1 Posts
    175 Views
    No one has replied
  • How to write customQML Text shader using distance field?

    Unsolved
    1
    0 Votes
    1 Posts
    225 Views
    No one has replied
  • How to make a TableView static

    Solved
    9
    0 Votes
    9 Posts
    764 Views
    C
    Not sure why but setting the TableView: width: contentItem.childrenRect.width works just fine with no binding loop errors. This will work for me. I will close this topic.
  • 0 Votes
    1 Posts
    146 Views
    No one has replied
  • How do I use the QML 3D Model type?

    Unsolved
    1
    0 Votes
    1 Posts
    217 Views
    No one has replied
  • TableView Multiple rows selection

    Unsolved
    1
    0 Votes
    1 Posts
    397 Views
    No one has replied
  • QML reference to number in Loader

    Unsolved
    1
    0 Votes
    1 Posts
    144 Views
    No one has replied
  • 0 Votes
    8 Posts
    760 Views
    A
    the event modifiers works but the WasdControler does not work.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Set global component by ID. How?

    Unsolved
    1
    0 Votes
    1 Posts
    181 Views
    No one has replied
  • Help with making circular activity indicator

    Unsolved
    2
    0 Votes
    2 Posts
    235 Views
    J.HilkJ
    @RadiumBall are you sure, you don‘t want to just use the premade busy indicator ? https://doc.qt.io/qt-5/qml-qtquick-controls2-busyindicator.html it can be customized too!
  • Inner component like property. How?

    Solved
    2
    0 Votes
    2 Posts
    192 Views
    B
    Solution found. Issue closed. The example published here
  • using properties in calculations

    Solved
    3
    0 Votes
    3 Posts
    334 Views
    mzimmersM
    @fcarney your suggestion of making wellSizeRatio readonly led me to find the problem, which was that it was getting overridden in a calling file: WellPlate { id: theWells wellSizeRatio: 0.8 // circle height is smaller than grid square That's a pretty good debugging tip to keep in mind: if a property seems to be changing out from under you, check the callers for possible "overrides." Thanks for the help!
  • How to instantiate recursive component with QML Instantiator?

    Unsolved
    1
    0 Votes
    1 Posts
    518 Views
    No one has replied
  • REST API client

    Solved rest api restful qml restful api
    12
    0 Votes
    12 Posts
    20k Views
    S
    @tansgumus said in REST API client: RESTful API Hello, how did you solve it, I also want to use RESTful API in QT.
  • QtQuick animation types are not accessible from C++

    Unsolved
    3
    0 Votes
    3 Posts
    278 Views
    raven-worxR
    @gustorse most QML types are implemented in C++ - in the private part of the library (note the Q_QUICK_PRIVATE_EXPORT specifier of the classes). With qmake you can add the following line in your .pro file and access those types: QT += quick-private But note that this implies it will only work with exactly this Qt version you built your binary against and will most probably crash when running it against a different version. Just to keep in mind you will loose binary compatibility.
  • Regarding Z-order in QML

    5
    0 Votes
    5 Posts
    31k Views
    pieterbekaertP
    Old topic, but not answered... The z property of Item determines stacking order of sibling items, i.e. elements belonging to the same item. Hence you cannot use the z property to move a child of parent A on top of (a child of parent) B if B is on top of A. (Which is a pity/pain :-)) https://doc.qt.io/qt-5/qml-qtquick-item.html#z-prop
  • Decompile FILENAME_qml.cpp

    Unsolved
    15
    0 Votes
    15 Posts
    2k Views
    W
    @KH-219Design Hi and thank you for your long message! Well I think I will have to live with the fact that I have to rewrite the components. I'm already at the point where I have spent too much time trying to recover, so I better start rewriting... :) Thanks a lot for your help! best wishes Wink!
  • Create a custom QBrush object from qml for custom chart

    Unsolved
    2
    0 Votes
    2 Posts
    545 Views
    T
    Although this topic is too old , i will still mention that it's not possible to do this. Since QBrush may be not a subclass of qtobject. I would say that because i try to use qmlRegisterType() to register QBrush to qml engine. But when i create a instance i will get error below C:\Qt\5.15.2\mingw81_64\include\QtQml\qqmlprivate.h:71: error: 'staticMetaObject' is not a member of 'QBrush' You can modify the source code of chartview by adding color or other properties you need...