Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.3k Posts
  • [Solved] QML ListView delegate problem

    6
    0 Votes
    6 Posts
    8k Views
    M
    I have found out what is the cause of this problem. As Roland suggested that it could be the highlight item I started thinking in that way. Because I didnt set the currentIndex to -1 it was generating some kind of highlight even if I didnt specify anything for highlight. Workaround for this is to set currentIndex to -1 on Component.onCompleted.
  • Cannot parse qml content(weird error)

    1
    0 Votes
    1 Posts
    616 Views
    No one has replied
  • Ignore invisible items inside Layout

    12
    0 Votes
    12 Posts
    9k Views
    J
    @Alek: Animations are something we consider, but nothing has been decided yet. I suggest you can look at the blog post to read about the differences between the Qt Quick Layouts and the Qt Quick Positioners: http://blog.qt.digia.com/blog/2013/05/16/introducing-qt-quick-layouts/
  • Weird result when combine DirectionalBlur and zoomBlur(QtGraphicalEffect)

    1
    0 Votes
    1 Posts
    766 Views
    No one has replied
  • Inheritance issue not direct base of.

    8
    0 Votes
    8 Posts
    3k Views
    R
    Okay I figured out the linking issue, All of what you said above works well. The issue was in my qt.pro file I forgot to include QT += multimedia multimediawidgets Everything links fine now thanks again!
  • Doing Syntax Highlighting

    4
    0 Votes
    4 Posts
    2k Views
    J
    Yes. It should be trivial to port for instance this: http://qt-project.org/doc/qt-5.0/qtwidgets/richtext-syntaxhighlighter.html to work with Qt Quick since they share the same QTextDocument API now.
  • 0 Votes
    3 Posts
    2k Views
    B
    Oki, thanks very much, i try to do
  • Stop running graphical effect of QtGraphicalEffects

    1
    0 Votes
    1 Posts
    613 Views
    No one has replied
  • Using qtquick as texture in 3D

    2
    0 Votes
    2 Posts
    2k Views
    B
    I think @ QWidget::createWindowContainer() @ in QT5.1 should do it.
  • Integrating Calender popup in Qt via Qml

    2
    0 Votes
    2 Posts
    1k Views
    J
    I guess this one is related to "integrating Calender popup in Qt via Qml":http://qt-project.org/forums/viewthread/28379/ So you could close this one with [Solved] in the title
  • Calendar via Qml

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Making Flickable react to right mouse button, Qt Quick 2

    1
    0 Votes
    1 Posts
    885 Views
    No one has replied
  • [Solved]Make the icons background become transparent

    4
    0 Votes
    4 Posts
    5k Views
    S
    @rocketchicken, it is not my intention, but thanks for your response @JapieKrekel, thank you, you solve my question.
  • Calling a function from a new state

    3
    0 Votes
    3 Posts
    1k Views
    J
    And in addition to that, if you want to load different data you could use the onStateChanged in your item/component. @ onStateChanged: { if (state == "state1") get_db(3); else if (state == "state2") ... } @
  • ProgressBar doesn't redraw until function returns control

    4
    0 Votes
    4 Posts
    3k Views
    A
    Make sure the intensive C++ code runs in a separate thread then?
  • QML ListView and QSqlTableModel

    3
    0 Votes
    3 Posts
    4k Views
    L
    OK, maybe I should start with easier questions. What kind of QML type is the name of the column that I'm sending to the delegate - variant or string? Also, where is the variable visible - only in the delegate, in the file that contains the delegate and ListView or elsewhere as well? I can't make other files see it and I don't know why. This prevents me from making my ListBox a generalized component. As it stands, I would have to make three different ListBox "classes" with the only difference being the data they pull from the database. There has to be a better way to do this, but how? Could I do it from C++ and how would I go about doing that? Any pointers in the right direction would be really welcome. Cheers, Lucijan
  • Qt Assistant print selection

    1
    0 Votes
    1 Posts
    744 Views
    No one has replied
  • Trigger several overlaping sounds .

    1
    0 Votes
    1 Posts
    645 Views
    No one has replied
  • 0 Votes
    3 Posts
    4k Views
    T
    Thank you, you're amazing :D myGrid.model = myModel; was all I needed, and I don't know why I didn't think of trying that, it just makes sense when I saw it in your post. And I actually was making my ListModels and GridViews as arrays, I just posted a very very simplified version of what I'm doing, and I thought of having separate QML files for my dynamic objects, but the way I'm making it this made the most sense, I need to be able to add variables, like so: @ //Pretend this is inside a Qt.createQmlObject() '//MyDynamicQmlStuff' + i + '//MyDynamicQMLStuffContinued' @ The way I'm creating my app having these components dynamically created is crucial (at least in my head :P ), it's not too difficult though, I just get stuck on these simple little things.
  • MapObjectView is not recognised as a type

    1
    0 Votes
    1 Posts
    599 Views
    No one has replied