Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.4k Posts
  • Drag and Drop with QQuickView

    3
    0 Votes
    3 Posts
    2k Views
    F
    I'd appreciate any help here: I'm still a bit stuck on the drag and drop functionality I need. I got an email notification about a reply here but now the link to the reply leads me to a whole different thread.
  • Advise on multiple top level QQuickView's

    7
    0 Votes
    7 Posts
    4k Views
    C
    excellent, thanks for your help
  • Showing enums in QtCreator Design mode

    1
    0 Votes
    1 Posts
    564 Views
    No one has replied
  • Possible bug in BorderImage

    3
    0 Votes
    3 Posts
    1k Views
    Z
    Thanks, here is the link: https://bugreports.qt-project.org/browse/QTBUG-33103
  • Updating a QML listview title when the model data changes

    1
    0 Votes
    1 Posts
    771 Views
    No one has replied
  • Passing signal from C++ to object in loader

    3
    0 Votes
    3 Posts
    2k Views
    B
    Thank you. By now I've solved my problem adding a Connection element on the loaded component, on every sub-component of the loaded item!
  • How can I add element to Qt Quick Controls Combobox?

    15
    0 Votes
    15 Posts
    14k Views
    J
    As previously mentioned, you are not supposed to create a ListModel when you expose an abstract item model to qml. @ ComboBox { id: comboComs objectName: "comboCom" model: cbItems } @
  • Menu items get stuck in debug

    2
    0 Votes
    2 Posts
    837 Views
    B
    This was a hint @Qt: gdb: -nograb added to command-line options. Use the -dograb option to enforce grabbing. @ I passed -dograb to run in gdb and this solved the issue.
  • 0 Votes
    1 Posts
    620 Views
    No one has replied
  • Qt5. Embed QWidget object in QML

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • QtCreator Designer - Qt Quick controls don't show up

    1
    0 Votes
    1 Posts
    687 Views
    No one has replied
  • ShadowOffsetX, shadowOffsetY, shadowBlur of Context2D

    1
    0 Votes
    1 Posts
    440 Views
    No one has replied
  • How can i add dll reference to qt project

    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi, Have a look at "this":http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html#libs You can also use QtCreator's"Add Library" feature
  • Vertical header in TableView and ResizeMode for headers

    7
    0 Votes
    7 Posts
    7k Views
    R
    Hmm... Really, I missed anchors.fill property. I finally got something usable. But I have several problems: Your trick with sourceComponent in verticalHeaderDelegate didn't work for me in rowDelegate. I need rowDelegate only for increasing height of rows, I want to save all other row settings. When I added this line to rowDelegate Loader I got "The program has unexpectedly finished." error: @sourceComponent: table.rowDelegate@ And also change height to 120% of normal as I did is not universal solution. I think I found a bug (tell me if I'm wrong and this is a feature, I'm not sure of that). When I place TableView on ApplicationWindow and write: @anchors.fill: parent@ TableView shows me scroolbars instead of trying to minimize columns width to fit into parent component without scroolbars. I tried different variants and stopped on all columns with the same width. I didn't find the way to set width for all columns. I couldn't find the way to iterate through columns too (I've tried to use children property but it gave me bunch of other child, I didn't find how to filter them). So I just copy-pasted the same property to all columns. That's not good. That's my current code: http://pastebin.com/SwPrrAU9 It's prototype: I'll get actual data from C++ model and I'll make checkboxes editable. !http://imageshack.com/a/img703/205/vps0.png(Screenshoot)!
  • Add to a ListModel a ListElement from C++

    2
    0 Votes
    2 Posts
    1k Views
    J
    You can't directly create a ListElement in C++ but what you can do is to create any model deriving from QAbstractItemModel, such as QStandardItemModel just like you would in a widget based application, expose that to qml and assign it to the model property of ListView.
  • [Solved]:QGIS API for linux

    12
    0 Votes
    12 Posts
    4k Views
    SGaistS
    You're welcome ! The easiest would be to start from a QGIS example and play with it until you have what you want
  • 0 Votes
    1 Posts
    588 Views
    No one has replied
  • Qt Quick TextField: is there a text rendering setting?

    6
    0 Votes
    6 Posts
    2k Views
    ?
    I have an interesting tidbit to add for consideration. My coworker's hardware configuration is identical to mine (except his 2.6GHz CPU vs. my 2.3GHz), we're both running OS X 10.8.4, and I'm actually using his build of Qt 5.1 that we just copied over to my laptop. We just copied over my Quick-based GUI to his laptop and it renders perfectly on his machine. He's also connected his laptop to a Thunderbolt Display and is using it as his main display instead of the laptop's builtin display. Just thought I'd throw that out there.
  • Creating dynamic content that is delivered by a Rest API

    4
    0 Votes
    4 Posts
    2k Views
    D
    K thx, I will give it a go :)
  • Vertical Header in TabelView

    3
    0 Votes
    3 Posts
    862 Views
    R
    After reading this thread I still don't really know how to achieve this. Could you short list the things what to do to achieve this? I'm quite new to QtQuick,,, Thank you,