Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.1k Topics 77.6k Posts
  • Defining Qt Quick Controls Styles as a seperate stylesheet

    7
    0 Votes
    7 Posts
    5k Views
    ?
    [quote author="mcosta" date="1385715893"]Hi, you can't use a single file for all styles; you need a file for Component (Style). Also you can read "here":http://qt-project.org/doc/qt-5.1/qtqml/qtqml-modules-topic.html to learn how to create a QML Module[/quote] Hi, I have checked the QML module technique. Its a good idea to use the qmldir to include all styles in a single module. Thank you for your help.. Best Regards Ansif
  • Qutick 2.0 Multimedia - setNotifierInterval

    1
    0 Votes
    1 Posts
    540 Views
    No one has replied
  • QMediaplayer

    3
    0 Votes
    3 Posts
    940 Views
    N
    Hi, I am not able to use setNotifierInterval in quick 2.0. I have to call positionChanged for every 100ms in qml. But I am not able to find setNotifierInterval in quick 2.0 multimedia. Thanks , Narayanan K
  • Loop or linear traverse to fill qml-objects

    3
    0 Votes
    3 Posts
    1k Views
    S
    Thanks Stefan. I will have a look into this.
  • Question about order of execution by property change.

    3
    0 Votes
    3 Posts
    880 Views
    sierdzioS
    I don't know the internal workings of the engine enough to answer with confidence. My opinion is you should not depend on the order being the same: those things are processed by meta object calls, it might happen - for example - that the order is different on another machine, or on a different operating system. There was a splendid series of blogs about QML engine on KDAB's blog. "A very interesting read":http://www.kdab.com/qml-engine-internals-part-1-qml-file-loading/.
  • <Solved> Is there any constructor function for Components ? Or Init ?

    4
    0 Votes
    4 Posts
    2k Views
    A
    Thanks for answering, Sergei that was what I've been looking for, but actually I have found a different way to do it.
  • 0 Votes
    1 Posts
    479 Views
    No one has replied
  • Access QQuickItem anchors from C++?

    1
    0 Votes
    1 Posts
    801 Views
    No one has replied
  • Support both mouse and touch events at the same time?

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

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

    1
    0 Votes
    1 Posts
    706 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
    498 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
    809 Views
    No one has replied
  • There are the difference between StackView of 5.1 and 5.2.0RC1?

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

    3
    0 Votes
    3 Posts
    905 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.