Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.1k Topics 77.6k Posts
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Project in qmlplot.cpp let m_CustomPlot open openGl and then leak memory

    Unsolved
    1
    0 Votes
    1 Posts
    91 Views
    No one has replied
  • Read and Display a GPX track

    Unsolved
    2
    0 Votes
    2 Posts
    291 Views
    SGaistS
    Hi, I don't think so. However, the Log file position source example might be a good starting point to load the GPX file.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • 0 Votes
    1 Posts
    347 Views
    No one has replied
  • QML + QList<QObject*> won't work with setContextProperty

    Unsolved
    2
    0 Votes
    2 Posts
    220 Views
    M
    I have observed that if the consuming QML uses modelData rather than properties, things work as expected. i.e. delegate: RowLayout { required property string name Text { Layout.fillWidth: true; text: parent.name } } exhibits the problem at hand, while delegate: RowLayout { Text { Layout.fillWidth: true; text: modelData.name } } Works. According to the documentation, we expect the property version to work as well: "The QObject* is available as the modelData property. As a convenience, the properties of the object are also made available directly in the delegate's context" So, the problem is still unsolved.
  • QML module not found in ROS-project

    Unsolved
    1
    0 Votes
    1 Posts
    179 Views
    No one has replied
  • Problem with styles and colors of QtQuick app

    Unsolved
    1
    0 Votes
    1 Posts
    149 Views
    No one has replied
  • dynamically change the screen size for the rectangles in row layout

    Moved Solved
    6
    0 Votes
    6 Posts
    1k Views
    P
    Thank you @JoeCFD for your reply. When i change the width and height into Layout.preferredWidth and Layout.preferredHeight it works fine. Rectangle{ id: first_rectangle color: "cyan" Layout.preferredWidth: root.width/5 Layout.preferredHeight: parent.height border.width: 1 border.color: "white" } I hope this will help others.
  • Problem using Qt as third party library

    Unsolved
    2
    0 Votes
    2 Posts
    189 Views
    K
    @kaushikv or if somebody can show me example of the minimum cmake file to use when using Qt as third party library ?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • What signals are available with QML lists?

    Unsolved
    1
    0 Votes
    1 Posts
    156 Views
    No one has replied
  • How to create widgets dynamically?

    Unsolved
    2
    0 Votes
    2 Posts
    253 Views
    sierdzioS
    Sounds like a job for a Loader, possibly combined with GridView or ListView.
  • how to display the data contents in TableModel

    4
    0 Votes
    4 Posts
    311 Views
    P
    Thank you @JonB and @Gojir4 for your reply. I used a different approach, I don't need TableModel for now.
  • Qt6.3 QML Calendar Error Composite Singleton Type Calendar is not creatable.

    Unsolved
    2
    0 Votes
    2 Posts
    697 Views
    HackSawH
    Hi @OtisLin0523 I am currently working on Qt6.5 and this is a basic implementation for new calendar module that you can develop in Qt6.x which you can modify as per your requirement. ListView { id: listview width: 150 height: 150 snapMode: ListView.SnapOneItem orientation: ListView.Horizontal highlightRangeMode: ListView.StrictlyEnforceRange model: CalendarModel { from: new Date(2015, 12, 1) to: new Date(2016, 03, 31) } delegate: ColumnLayout { DayOfWeekRow { locale: monthGrid.locale Layout.fillWidth: true } MonthGrid { id: monthGrid month: model.month year: model.year locale: Qt.locale("en_AU") Layout.fillWidth: true } } ScrollIndicator.horizontal: ScrollIndicator { } }
  • Fail to Qt.createComponent in qml

    Solved
    3
    0 Votes
    3 Posts
    659 Views
    H
    @dheerendra Thanks. It works. So, any time when you access local file from qml, must add this prefix to url ?
  • Resizing Issue

    Unsolved
    1
    0 Votes
    1 Posts
    138 Views
    No one has replied
  • Basic QML module/lib/plugin

    Unsolved
    1
    0 Votes
    1 Posts
    112 Views
    No one has replied
  • How to programmatically scroll smoothly to a position in QML ListView ?

    Unsolved
    1
    0 Votes
    1 Posts
    272 Views
    No one has replied
  • How to inherit Dialog

    Unsolved
    1
    0 Votes
    1 Posts
    149 Views
    No one has replied