Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.2k Topics 77.9k Posts
  • QML vs QGraphicsView - choosing the right level of abstraction

    4
    0 Votes
    4 Posts
    4k Views
    2
    Well I start to slowly change some of my applications to QML. For the moment only small objects, so the speed doesn't slow. Once the QML scene graph is done , I will probably move almost all the interface to QML. At least for me it works because I want to add more kinky-animated look to my applications. Depends what do you want.
  • Best way to draw graph axes in QML

    6
    0 Votes
    6 Posts
    5k Views
    T
    Without C++ this is going to be much slower. Make sure the UI is still fast enough on the slowest platform you are targeting.
  • QML DocumentGalleryModel in N900

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [solved] Accessing QML Component properties

    8
    0 Votes
    8 Posts
    8k Views
    K
    [quote author="mbrasser" date="1295830345"] The sub-elements within a component are considered private, so you'll need to define your own "public API" that exposes the properties you want to manipulate. http://doc.qt.nokia.com/4.7-snapshot/qml-extending-types.html gives a good overview of how you can go about this.[/quote] Perfect. I knew I had seen documentation about this but I couldn't find it. This explains everything.
  • 0 Votes
    5 Posts
    4k Views
    T
    When you build with remote compiler, it gets all files belonging to project. So if you want to add images etc to project you define them to OTHER_FILES or use qrc.
  • Setting width based on text

    2
    0 Votes
    2 Posts
    2k Views
    M
    Hi, You should be able to set the width of a TextInput back to its "implicit width" (the width of the text it contains), by assigning undefined to its width property, either in script: @textInput.width = undefined@ or in a PropertyChanges @ PropertyChanges { target: textInput width: undefined }@ Regards, Michael
  • Some interesting QML wikis on the meego web site

    2
    0 Votes
    2 Posts
    2k Views
    P
    The first link is broken (QML/Creating a transparent window) this is the correct "link":http://wiki.meego.com/QML/Creating_a_transparent_window [quote author="fcrochik" date="1295740000"]"This one ":http://wiki.meego.com/QML/Creating_a_transparent_windowis on how to make a transparent qml. "This one":http://wiki.meego.com/QML/Keyboard_navigation is on Keyboard navigation. "Click Here":http://wiki.meego.com/index.php?title=Special:Search&search=qml&fulltext=Search for more Maybe we should start a wiki document with links to interesting wikis in other web sites.... [/quote]
  • Determining focus

    3
    0 Votes
    3 Posts
    2k Views
    S
    That worked like a charm, thank you!
  • Drag and Drop failed in Parallax view

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • [Solved]Z-index of an item is only applied to siblings

    3
    0 Votes
    3 Posts
    5k Views
    A
    Yes. Z order is local to the parent; that is, it only works among siblings. Look at z order as a series of numbers, instead of a single one. The z order of an item that is the grandchild of some other item would look something like this: 2.4.2. If another item has s z order number of 2.6, it would be above the first item no matter the last (local) z order number. As you found out, parent to the top item if you must be sure to be on top globally.
  • Making Nested Components Visible

    4
    0 Votes
    4 Posts
    2k Views
    K
    So I got that working but now the design module in qt creator cannot see my images. How can I fix this?
  • [Solved] iOS Style Rearrange of Icons

    22
    0 Votes
    22 Posts
    17k Views
    C
    I used the code in the following path, but when i added more list modle element in the list , i can't scroll the list if i want to move the last element in the end, what should i do ? This has been made in to a Wiki Entry: http://developer.qt.nokia.com/wiki/Drag_and_Drop_within_a_GridView
  • ListView Highlight Question

    2
    0 Votes
    2 Posts
    2k Views
    M
    Hi, It's possible to put the highlight either above or below the delegate (by manipulating the z property), but unfortunately it isn't possible to put it "in the middle" (i.e. between layers within your delegate). This is due to the way z ordering currently works -- z is local between siblings, and the highlight is a sibling of the delegate. This use case is something we've discussed in the past, and hopefully we'll be able to provide a solution for a future release. Regards, Michael
  • Prevent RMB on top of WebView

    2
    0 Votes
    2 Posts
    2k Views
    M
    FWIW I posted a bug report here... http://bugreports.qt.nokia.com/browse/QTCOMPONENTS-399
  • [Solved] return QModelIndex from c++ to qml

    3
    0 Votes
    3 Posts
    7k Views
    M
    Hi, If you haven't already seen it, you might also be interested in checking out the FolderListModel element in the Qt.labs namespace (http://doc.qt.nokia.com/4.7-snapshot/qml-folderlistmodel.html). Regards, Michael
  • [solved] How does one use a model in C++ with the Qt Quick view?

    4
    0 Votes
    4 Posts
    3k Views
    D
    Don't forget to mark your thread as solved
  • Catching QML window close

    14
    0 Votes
    14 Posts
    22k Views
    J
    I just tried PySide 1.0 beta 3 but it behaves exactly as beta 1. So sometimes it crashes Python when i quit the application. So I subclassed QDeclarativeView and defined a closeEvent function. This seems to be working so far. The difference between the two approaches is that with closeEvent the application window isn't closed before the function finishes. But with the use of different signals, the window closed but other Python threads were still running, which probably caused the crashes I was experiencing.
  • Custom Audio/Video player Using QML

    5
    0 Votes
    5 Posts
    5k Views
    S
    thanks a lot for your reply.
  • Error: Empty property assignment?

    3
    0 Votes
    3 Posts
    2k Views
    M
    For reference, the documentation regarding component naming is at http://doc.qt.nokia.com/4.7-snapshot/qml-extending-types.html#defining-new-components. The error message isn't very helpful in this case; I'll try to see if it can be improved. Regards, Michael
  • No network connection

    6
    0 Votes
    6 Posts
    4k Views
    _
    I was also talking about phone capabilities ;-) I have added NetworkServices in the .pro file. Well most of the time the application is working, everything. But very sometimes there's no network connection, in the whole application. But when I open the web browser, I can browse on internet, so it can't be that the phone doesn't have network access.