Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.3k Posts
  • Where is the source code for this example?

    4
    0 Votes
    4 Posts
    4k Views
    D
    ;) Ainda estranho ver comentários em pt-br nesse mundo =) cheers,
  • Mirroring in Flipable

    5
    0 Votes
    5 Posts
    3k Views
    G
    Hmm... I see. It does make sense after all, although it isn't really intuitive. Thanks for your help
  • Qt Quick - design philosophy

    4
    0 Votes
    4 Posts
    4k Views
    A
    Qt Components is in an, let's say, alpha stage. If you get interested, in the repository pointed by danilocesar you'll find in the master branch a widget set for MeeGo (in progress). Also, check the branch mx, where you can see a widget set created in QML with the look and feel of the "MX toolkit":http://www.ohloh.net/p/mx-toolkit. In "this wiki page":http://developer.qt.nokia.com/wiki/Qt_Quick_Components you can find how to contact the developers and contribute with your opinions (and, maybe, with code =). Stay tuned when the Qt Developer Days videos and/or slides become available and check the "talk about the project":http://qt.nokia.com/qtdevdays2010/qt-technical-sessions#qtcomponents. A developer sprint happened last week in Oslo, so there will be new stuff soon. (Probably nothing appeared yet because of the Qt DevDays Munich =)
  • Qml as a vector source for printing.

    4
    0 Votes
    4 Posts
    4k Views
    M
    Hi, Ultimately almost all of the painting in the QML graphical elements is cached into pixmaps for performance reasons. This is done in the elements themselves (have a look at QDeclarativeRectangle::generateBorderedRect(), for example), so I can't think of an easy way to get around this without hacking all of the elements, or writing your own set of vector-based elements. Regards, Michael
  • ActiveQt Com and QEvents searching for help!

    3
    0 Votes
    3 Posts
    3k Views
    R
    Sure, I'm sorry about that: "Application Object Event":http://msdn.microsoft.com/en-us/library/bb839450(v=office.12).aspx
  • How to use QML animation in broadcasting?

    5
    0 Votes
    5 Posts
    4k Views
    2
    it's interesting. so you need an animations to be based on number of frames , not on time, and then you set the speed(framerate) in frames/second. I will vote for such a suggestion
  • Accessing Delegates from Outside the Delegate

    5
    0 Votes
    5 Posts
    3k Views
    A
    yes the value in myDelegate will be undefined.A solution to this problem is to reset the variable in myDelegate to NULL whenever the list starts moving( onMovementStarted: ) just to make sure it doesn't point to an invalid object/delegate
  • Newbie question - how to show QML Components in Creator QML Design Window

    5
    0 Votes
    5 Posts
    7k Views
    G
    Do you have a ".qmlproject" file in your project directory? It has a QmlFiles field where it instructs Qt Creator where to find qml files. If you don't have one, it's possible that it's causing the need to reopen the project in order to load the new files, because, like Schneidi said, normally reopening is not necessary.
  • How I can quickly save QML animation to file?

    2
    0 Votes
    2 Posts
    2k Views
    M
    "This answer":http://developer.qt.nokia.com/forums/viewthread/1181/#5150 might be useful here are well.
  • [solved] QML Linux performance issues

    3
    0 Votes
    3 Posts
    5k Views
    S
    Hey guys, your are so great this actually solves the problem at the first sight. I called @QApplication::setGraphicsSystem("raster");@ before calling the QApplication constructor. Now I get a pretty good performance on my Quad processor maybe I have validate this on a weaker system, but I guess this should solve the performance problems we had. Thanks mbrasser I already knew this page but I just forgot to consult this one ^^
  • Registering an Enumeration through a Plugin

    9
    0 Votes
    9 Posts
    5k Views
    T
    Hmm, you shouldn't do that change to qmlRegisterType though, and it's strange that it would fix your issue. Did you have a look at the value of "uri"?
  • Add an opengl component in qml

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • [solved] Ways to deliver the .qml source ?

    13
    0 Votes
    13 Posts
    6k Views
    A
    MTK358, I think, it's useful possibility.
  • XmlListModel on url with self signed cert, and QtWebKit OS X issue

    10
    0 Votes
    10 Posts
    7k Views
    M
    [quote author="JesseOnRails" date="1286006941"]>ls /Developer/Applications/Qt/imports/ >Qt org [/quote] Okay, it looks like this has "old" contents (there should be a QtWebKit rather than an org) -- I've added a note to "QTBUG-13888":http://bugreports.qt.nokia.com/browse/QTBUG-13888. Regards, Michael
  • Creating grouped menu with Qt Quick

    5
    0 Votes
    5 Posts
    5k Views
    L
    The method posted by Denis seems to be working well. Thank you very much!
  • [solved] - Embed OpenGl rendering

    9
    0 Votes
    9 Posts
    5k Views
    ?
    yes, you could also add [Solved] to the title, along with the tag :)
  • First impressions of Qt Quick on Symbian

    6
    0 Votes
    6 Posts
    5k Views
    A
    Thorbjørn Lindeijer, yes, but it's enough for testing.
  • Sources of the tutorial 'Getting Started Programming with QML' ?

    5
    0 Votes
    5 Posts
    8k Views
    Y
    Yes thanks for the sources, this is what I was looking for.
  • Stroking lines and custom shapes (polygons) in QML?

    3
    0 Votes
    3 Posts
    10k Views
    B
    [quote author="Thorbjørn Lindeijer" date="1285697851"]We've been reluctant to add additional primitives because of speed concerns. For example I wrote an Ellipse element, but it was not accepted since there is no way to make it fast. However, there is a project that will allow arbitrary things to be drawn into a QML scene, emulating the HTML5 canvas rendering API: "http://qt.gitorious.org/qt-labs/qmlcanvas":http://qt.gitorious.org/qt-labs/qmlcanvas You can do a lot of cool things with some imperative drawing code, but you should also be able to write a simple Line component in pure QML based on that.[/quote] Ah, thank you for the response. In that case I guess I'll just stick with the already imperative approach that I use with a custom QGraphicsItem. I was trying to get rid of all custom imperative drawing by using a QML approach and some internal JavaScript to make it cleaner, but I guess QML has a different focus - and that seems to be UIs for portable devices.
  • Qml + c++

    10
    0 Votes
    10 Posts
    8k Views
    A
    [quote author="nicola1" date="1285657479"]I added Q_OBJECT and now is working, Thanks. I should understand because i need Q_OBJECT when y class inherit from QSqlTableModel. [/quote] "http://doc.trolltech.com/4.7/qobject.html#Q_OBJECT":http://doc.trolltech.com/4.7/qobject.html#Q_OBJECT