跳到內容

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k 主題 77.4k 貼文
  • List entries

    Unsolved
    2
    0 評價
    2 貼文
    189 瀏覽
    mrjjM
    Hi Well for QWidgets/QListWidget , you can via right-click it and select Edit items but i have no idea if it works the same for a QML project.
  • Restored window after minimizing is not maximized

    Solved minimize visibility button window qml
    3
    0 評價
    3 貼文
    2k 瀏覽
    K
    Omg, I've just ORed the flags, and now it works as intended. In QtWidgets it should be: // To set the window minimized setWindowState(windowState() & ~Qt::WindowActive | Qt::WindowMinimized); // To restore the window from minimized state setWindowState(windowState() & ~Qt::WindowMinimized | Qt::WindowActive); So in QML it should work in the same way.
  • How to install module "QtMultimedia" on Windows

    Solved
    26
    0 評價
    26 貼文
    13k 瀏覽
    JKSHJ
    @qcoderpro said in How to install module "QtMultimedia" on Windows: Probably still can't be done using 5.15.2! I just realized that you're trying to use Instanced Rendering. This feature is only available from Qt 6.1 onwards: https://www.qt.io/blog/qtquick3d-instanced-rendering Qt 6.1 is not yet released. Have a look at the link I posted before; it contains examples that work with Qt 5.15.2.
  • Can i make a button in qml trigger a function in c++?

    Unsolved
    4
    0 評價
    4 貼文
    233 瀏覽
    SGaistS
    Hi, By reading this dedicated chapter in Qt's documentation.
  • Connecting C++ signal to QML slot

    Solved
    10
    0 評價
    10 貼文
    1k 瀏覽
    Pablo J. RoginaP
    @Mary_M If your issue is solved please don't forget to mark the post as such!
  • Drag and Drop Shape Objects

    Unsolved
    2
    0 評價
    2 貼文
    250 瀏覽
    JKSHJ
    @TSqueak said in Drag and Drop Shape Objects: all attempts at assigning a MouseArea to Shapes, ShapePaths, or PathLines haven't worked. Can you please post the code for one (or more) of your attempts?
  • QML Canvas calculating area

    Unsolved
    2
    0 評價
    2 貼文
    338 瀏覽
    fcarneyF
    Does Qt have any type of floodfill? Then you could count the pixels set and those not set as your area.
  • 此主題已被刪除!

    Unsolved
    1
    0 評價
    1 貼文
    13 瀏覽
    尚無回覆
  • QML SwipeView two-finger swipe

    Unsolved
    1
    0 評價
    1 貼文
    349 瀏覽
    尚無回覆
  • How can I binding function when press hide button of virtual keyboard?

    Unsolved
    2
    0 評價
    2 貼文
    412 瀏覽
    raven-worxR
    @olekhanchai what exactly do you want to achieve? You can check if the keyboard gets hidden with "Qt.inputMethod.visible" property if thats you are after
  • Qt Quick Application crashing on updating the ListView using QAbstractListModel class

    Solved
    12
    0 評價
    12 貼文
    1k 瀏覽
    J
    @dheerendra Thanks for pointing it out. Yes it was due to index() and parent() . I removed it completely Now the application is running [image: 0ece1df4-8957-419a-b58e-5623f28fb791.png]
  • Property changes

    Unsolved
    1
    0 評價
    1 貼文
    132 瀏覽
    尚無回覆
  • ScrollBar QML crash

    Unsolved
    1
    0 評價
    1 貼文
    233 瀏覽
    尚無回覆
  • 此主題已被刪除!

    Unsolved
    1
    0 評價
    1 貼文
    15 瀏覽
    尚無回覆
  • QML autocomplete / intellisense doesn't work for namespace enums

    Unsolved
    4
    0 評價
    4 貼文
    1k 瀏覽
    J.HilkJ
    @aatwo I have my QML enums in a basic c++ class with Q_GADGET macro as a lightweight alternative to Q_OBJECT (it does not require the class to be derived from QObject, too) If thats an alternative for you?
  • Custom image linear gauge possible?

    Unsolved linear gauge rpm qml image
    1
    0 評價
    1 貼文
    688 瀏覽
    尚無回覆
  • QSG Node and QQuickItem batches

    Unsolved qsgnode batches qquickitem scene graph
    1
    0 評價
    1 貼文
    325 瀏覽
    尚無回覆
  • Unable to update Listview using QAbstractItemModel class

    Solved
    9
    0 評價
    9 貼文
    591 瀏覽
    J
    @raven-worx Thanks for the Update
  • How to resize Slider touching ball ?

    Solved
    3
    0 評價
    3 貼文
    440 瀏覽
    YunusY
    @J-Hilk Ahhh exactly, thanks for reply
  • how to connect C++ signal to QML handler

    Solved
    18
    0 評價
    18 貼文
    2k 瀏覽
    GrecKoG
    @LeLev said in how to connect C++ signal to QML handler: Also because one solution will update/refresh dynamically but the other will not visible: issViewModel.synthName != "" // this will update dinamially visible: Utils.getSynthName() !== Utils.getNoSynthName() // this will not update dinamially.Only evaluated 1 time on component creation That's incorrect. Both will updated dynamically since the functions are evaluated in QML. Were the functions implemented in C++, the QML would have no way to figure out the properties dependencies but that that's not the case here.