Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.1k Posts
  • Please help to choose component.

    2
    0 Votes
    2 Posts
    682 Views
    S
    Can you use a stylesheet on the TextEdit to supply the "background" (I'm assuming you mean a background image, if not please explain).
  • Render parts of a QML scene to offscreen buffer (FBO)

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    5 Posts
    3k Views
    O
    Glad it helps you. lol
  • Qt5.1 TextField - Keys attached property - capturing key-presses

    3
    0 Votes
    3 Posts
    2k Views
    N
    Hey @g1ennr Nope, Currently this does not seem to be possible with TextField. I have a bug submitted for this. Seems @Jens is currently assigned to it and he seems to prefer TextField having this functionality as well. Not sure if there is any progress on the issue. You can find the issue "Here":https://bugreports.qt-project.org/browse/QTBUG-34101
  • Delegates and Instantiator problem.

    1
    0 Votes
    1 Posts
    791 Views
    No one has replied
  • Wrong behavior with State's extend property

    5
    0 Votes
    5 Posts
    1k Views
    M
    well then if you have firstBool && secondBool you don't know which state you are in. It would be the first that you have in your array.
  • QML delegate slots and signals

    3
    0 Votes
    3 Posts
    2k Views
    S
    http://qt-project.org/doc/qt-5.1/qtqml/qtqml-syntax-signals.html or you mean bind it in C++ code?
  • Can't render image in TextEdit rich format

    2
    0 Votes
    2 Posts
    778 Views
    L
    Please surround your code in Code tags. Here's a working example: @import QtQuick 2.0 Rectangle { width: 200 height: 200 color: "grey" TextEdit { id: messageText text: "Hello <img ></img>" textFormat: Text.RichText readOnly: true } } @ EDIT: Apparently the forum doesn't like HTML tags, so here's what I've put inside the img tag: src="file:///E:/leaf.jpg" width="42" height="42"
  • GridView delegate z-ordering problem

    3
    0 Votes
    3 Posts
    1k Views
    K
    "SQEW":http://qt-project.org/member/139622, if your Question is solved, please add the "solved" tag and rename the title of your post, so it starts with "[solved]"
  • Scope of the "id:" with the TabView Control in Qt Quick?

    2
    1 Votes
    2 Posts
    2k Views
    S
    QML code of TabView (Qt/5.1.0/gcc_64/qml/QtQuick/Controls/TabView.qml) looks like all the tabs are added dynamically. I think the problem in this.
  • Smooth repaint

    1
    0 Votes
    1 Posts
    530 Views
    No one has replied
  • Why Rectangle.radius is so performance expensive?

    1
    0 Votes
    1 Posts
    535 Views
    No one has replied
  • 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
    534 Views
    No one has replied
  • QMediaplayer

    3
    0 Votes
    3 Posts
    921 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
    862 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
    472 Views
    No one has replied
  • Access QQuickItem anchors from C++?

    1
    0 Votes
    1 Posts
    798 Views
    No one has replied