Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.1k Posts
  • Support both mouse and touch events at the same time?

    1
    0 Votes
    1 Posts
    650 Views
    No one has replied
  • QSpacerItem for QML?

    1
    0 Votes
    1 Posts
    674 Views
    No one has replied
  • Change order of objects in a column layout?

    1
    0 Votes
    1 Posts
    698 Views
    No one has replied
  • How to use requestAnimationFrame with QML Canvas

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [solved] How to hide functions and values in javasript module from qml?

    3
    0 Votes
    3 Posts
    1k Views
    K
    Yes, great. Thank you.
  • Expose ListModel role as property

    1
    1 Votes
    1 Posts
    493 Views
    No one has replied
  • How to upload images / files from Qt quick desktop application ??

    6
    0 Votes
    6 Posts
    4k Views
    V
    Sorry, I don't have. But you can refer to "Qt Qnetworkaccessmanager can't upload to local FTP server":http://stackoverflow.com/questions/17755498/qt-qnetworkaccessmanager-cant-upload-to-local-ftp-server "QNetworkAccessManager uploading files":http://qt-project.org/forums/viewthread/11361
  • [Solved] How to pass 'requestedSize' from QML to a QQuickImageProvider?

    2
    0 Votes
    2 Posts
    1k Views
    E
    The sourceSize property value in Image is sent as requestedSize to QQuickImageProvider. Thank you for attention :)
  • QML bindings and scope

    4
    0 Votes
    4 Posts
    1k Views
    C
    Hi, Actually, ids are unique within a component scope. In most cases, this means "within a file" (since a QML document is a QML type definition which can be instantiated via a component, and thus a given instantiation of the type has its own component scope), but there are some subtleties. See http://doc-snapshot.qt-project.org/qt5-stable/qtqml-syntax-objectattributes.html#the-id-attribute and http://doc-snapshot.qt-project.org/qt5-stable/qtqml-documents-scope.html for more information. Delegates are interesting, because they implicitly define a component scope. Cheers, Chris.
  • Audio metadata cannot read coverArtUrlSmall & coverArtUrlLarge

    1
    0 Votes
    1 Posts
    805 Views
    No one has replied
  • There are the difference between StackView of 5.1 and 5.2.0RC1?

    1
    0 Votes
    1 Posts
    763 Views
    No one has replied
  • Using an instantiated item as ListView delegate

    3
    0 Votes
    3 Posts
    899 Views
    H
    The problem is, that I want to resize the child item to the size of the delegate item and not the delegate to the child. I tried this by calling the following method after I changed the model: @ void QuickItemMngrServiceImpl::anchorItems() { QQmlContext *ctxt = m_viewer->rootContext(); Q_FOREACH(QObject *item, m_items) { QQmlExpression expr(ctxt, item, "parent"); QQmlProperty prop(item, "anchors.fill"); prop.write(expr.evaluate()); } } @ But this works only for the items, that are visible at the beginning.
  • [Solved] QML color TextArea Background

    10
    0 Votes
    10 Posts
    12k Views
    J
    There is another simpler way though. Just set the "backgroundVisible" property to false and place an image or a colored rectangle as the parent of the TextArea. That should work even in 5.2.
  • Connection C++ QML [SOLVED]

    9
    0 Votes
    9 Posts
    3k Views
    U
    Note that it is still possible to access and control QML from C++, again through the meta system, but consider this to be "last resort" and most certainly not recommended practice. QML will handle all data pretty well, provided of course you have registered those type to the meta system. I'd say it is even safe to use raw pointers through QML with properties and methods - something most people will probably advise against for being unsafe, but hey, pointers are unsafe in C++ too :) I actually work on a project that passes around C++ pointers between components instantiated in QML and it works flawlessly.
  • How to Validate username and password from postgreSQL database ?[SOLVED]

    8
    0 Votes
    8 Posts
    4k Views
    p3c0P
    You're Welcome :) You can mark it as solved by editing and prepending [solved] to the question.
  • Gridview highlight with different view and size

    1
    0 Votes
    1 Posts
    543 Views
    No one has replied
  • Change language on runtime in QML application

    7
    0 Votes
    7 Posts
    8k Views
    K
    thank you Rahul Das and SGaist. I have succeed. But I make a little change on example you gave. I used translation file with qm extension and included it to resource file. Otherwise it did not work on my example. I dont know why.
  • Qt 4.8.5 with PostgreSQL 9.1 !!

    12
    0 Votes
    12 Posts
    5k Views
    M
    Hi, to get 8.3 names you can type on Windows Command Prompt @ dir /X @
  • How to get int value from QPoint angleDelta() ?

    1
    0 Votes
    1 Posts
    890 Views
    No one has replied
  • Font Scaling issue with Quicksand

    3
    0 Votes
    3 Posts
    1k Views
    K
    Just tried this, it didn't change anything. My target is Embedded Linux at Qt 4.8.3. But I've also tried this on my desktop machine (Ubuntu 12.04 with Qt 5.1.1) too and there is no change. Do you think Font Formats might have something to do with this, I'm using TrueType in both cases. Appreciate the help. [quote author="Jens" date="1385392028"]It might be an artifact of distance field rendering relying on fixed resolution pixmaps. You can try setting renderType: Text.NativeRendering in Qt Quick 2 and see if that helps depending on what the use case is.[/quote]