Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.4k Posts
  • Incrementing object values

    6
    0 Votes
    6 Posts
    2k Views
    K
    Ahh sry :) My bad. You are right... Didnt read to the end :P
  • Add qml object to QGraphicsScene

    1
    0 Votes
    1 Posts
    627 Views
    No one has replied
  • QML application and high dpi images

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    2 Posts
    3k Views
    F
    I'm having the same issue: code from Qt 4 did not work because of that change. This bug should be fixed though with Qt 5.3 RC1 (ETA next week): https://qt.gitorious.org/qt/qtdeclarative/commit/ff0857541d5d391c7c03cce5893b41dd9b35e7fa Cheers, Chris
  • QtGraphicalEffects usage questioning

    4
    0 Votes
    4 Posts
    2k Views
    X
    We should vote on this bug report if we want the basic layer.effect syntax to work at first place : https://bugreports.qt-project.org/browse/QTBUG-31269
  • [SOLVED]QML listview highlight problem

    4
    0 Votes
    4 Posts
    5k Views
    G
    I solved it, mistake was in my delegate. Code: @Rectangle { id: _scrollbar_area; ... ListView { id: list; ... delegate: Item { id:component; height: 72; width: parent.width; Row { height: 77; width: parent.width; Rectangle { id: list_item; signal clicked(); height: 57; width: parent.width; radius: 8; color : component.ListView.isCurrentItem ? "transparent" : "#c2c2c2" Text { ... } MouseArea { anchors.fill: parent onClicked: { list_item.clicked(); list.currentIndex = index; } } } } } highlight: highlightBar; highlightFollowsCurrentItem: false; focus: true; model: 10; } }@
  • Applying GLSL shader/graphical effects to Window elements?

    1
    0 Votes
    1 Posts
    798 Views
    No one has replied
  • [SOLVED] The deploy version of my app doesn't work

    8
    0 Votes
    8 Posts
    3k Views
    SGaistS
    Thanks for sharing the link !
  • Images getting blurred inside GridLayout(Solved)

    15
    0 Votes
    15 Posts
    5k Views
    EddyE
    you're welcome happy coding
  • [SOLVED] Define Object Types using QML from C++?

    5
    0 Votes
    5 Posts
    1k Views
    S
    @ QQmlEngine engine; QQmlComponent component(&engine); component.setData("import QtQuick 2.0\nText { text: "Hello world!" }", QUrl()); QQuickItem *item = qobject_cast<QQuickItem *>(component.create()); //add item to view, etc ... @
  • QML Combobox elements

    2
    0 Votes
    2 Posts
    841 Views
    EddyE
    "this link":http://stackoverflow.com/questions/18616497/how-to-use-models-with-qml will be helpfull wit a nice example.
  • QApplication with QtQuick memory problem

    7
    0 Votes
    7 Posts
    3k Views
    T
    Yup that is what I'm doing - private memory in Win. monitor and i get 70MB...80MB...90MB..120MB..140MB..etc...;) I'am pretty shure that there are no leaks, but what more - as i mentioned before - this behaviour also occures in Qt creator "Qt Quick Controls - Table View" example, so I think guys from Qt are pretty far more sure about no memory leaks in their example than even me in my program... That is very strange for me, that pulling the right bottom corner of window acts like this. Maybe i will try to recompile it under MSVC... (i already tried the profiler, but i found no significant information about my problem...)
  • [Solved] Reparent an item to an another from an other file

    5
    0 Votes
    5 Posts
    2k Views
    V
    Thanks you very much. It's works. I didn't know that we can use alias with items.
  • [solved] paint method from QDeclarativeItem gets not called

    6
    0 Votes
    6 Posts
    3k Views
    F
    Hi, I have found the cause of the problem. I was using the QGraphicsProxyWidget together with the @void DeclarativeChart::paint(QPainter *p, const QStyleOptionGraphicsItem *option, QWidget *widget)@ Now I'm using just the QGraphicsProxyWidget because I was not able to do a pie-chart works otherwise.
  • Set Software Rendering with Qt Quick 2

    5
    0 Votes
    5 Posts
    5k Views
    S
    You can use LLVM Pipe http://www.mesa3d.org/llvmpipe.html
  • The Listmodel is not efficient enough

    3
    0 Votes
    3 Posts
    878 Views
    C
    I need a list with such feature The data background should be dynamic increase from from the bottom The items in view should be grouped by category The group title item could be expanded/collapsed to show/disappear the items The highlighted item could be adjust when expanded/collapsed occurs I used javascript code to be the engine to update the data model of ListModel object. It could be very fast at the very beginning, however when the data about exceed 600, it always costs about 1 second on my device(An CortexA8 device). At that period, I nearly could not move my mouse at all.
  • Style TextField of editable Combobox

    2
    0 Votes
    2 Posts
    915 Views
    EddyE
    AFAIK there isn't. You could ask on "the mailinglists":http://lists.qt-project.org/mailman/listinfo Qt developers hang out there. This forum is more user oriented.
  • Getting keyboard focus with TabView

    2
    0 Votes
    2 Posts
    1k Views
    B
    I managed to get activeFocus by using forceActiveFocus().
  • [SOLVED] Make shared library with QML files

    10
    0 Votes
    10 Posts
    15k Views
    strahlexS
    You seem to have figured out how this works. Did you manage to get the components from the module displayed in the Qt Quick Designer? Somehow Qt Creator find my modules but it does not show them in the Designer. Here is my original post about this topic: http://qt-project.org/forums/viewthread/41611/
  • TabView dynamically creating tabs, cant pass the data

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied