Skip to content

QML and Qt Quick

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

    Unsolved
    2
    0 Votes
    2 Posts
    11 Views
  • QML module not found

    Solved
    16
    0 Votes
    16 Posts
    3k Views
    Pablo J. RoginaP
    @small_bird said in QML module not found: problem solved! So don't forget to mark your post as such!
  • Multiple MapPolylines QML

    Unsolved
    3
    0 Votes
    3 Posts
    698 Views
    F
    @GrecKo thank a lot, I try to use that but unsuccessfully Component.onCompleted: { total=list.coordinatesList().length for(var i=0;i<total;i++) { var coupleCount=list.coordinatesList()[i].split(";").length var lat="" var lon="" for(var j=0;j<coupleCount;j++) { lat=list.coordinatesList()[i].split(";")[j].split(",")[1] lon=list.coordinatesList()[i].split(";")[j].split(",")[0] routeModel.query.addWaypoint(QtPositioning.coordinate(lat,lon)) routeModel.update(); } } } Plugin { id: mapPlugin name: "esri" // "osm" } Map { id:map anchors.fill:parent plugin: mapPlugin RouteModel { id: routeModel query: RouteQuery {} } MapItemView { model: routeModel delegate: routeDelegate } Component { id: routeDelegate MapRoute { route: routeData line.color: "blue" line.width: 5 smooth: true opacity: 1.0 } } }
  • How to paint using a ball shape and get painted coordinates in qml?

    Solved
    10
    0 Votes
    10 Posts
    663 Views
    YunusY
    @LeLev actually I saved the painted image to a directory using "canvas's save method". And I decided to use that image on C++ side by calling it from directory. I dont know this is efficient or not but I think this can solve my problem
  • ChartView scrolling performance on big series when zoomed in

    Unsolved
    1
    0 Votes
    1 Posts
    168 Views
    No one has replied
  • SwipeView

    Solved
    3
    0 Votes
    3 Posts
    224 Views
    A
    @J-Hilk Thanks. It solved my doubt.
  • Change popup background to transparent

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    KroMignonK
    @newbiSoso I think you have to play with the background property, something like this: Popup { id: popup anchors.centerIn: parent background: Rectangle { anchors.fill: popup border.color: "black" color: "transparent" } Text{ text: "Game Over!!" + "\n\n" + "New High Score: "+ score_val anchors.centerIn: canvas color: "grey" font.pixelSize: 70 font.family: gill.name } modal: true focus: true closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent }
  • Calling function from object of object in QML results in TypeError

    Unsolved
    8
    0 Votes
    8 Posts
    3k Views
    P
    @LeLev Thank you very much for the code sample!
  • How to implement this shape?

    Unsolved
    4
    0 Votes
    4 Posts
    305 Views
    ODБOïO
    @QTLeearn said in How to implement this shape?: can we use sth easier like: ShapePath type? yes, you can try
  • How to properly expose data to View when the data is different than exposed model

    Unsolved
    3
    0 Votes
    3 Posts
    262 Views
    C
    main.qml looks like this: Window { //... Item { id: listViewContainer //... ListView { id: listview //... model: ListModel { ListElement {component: "Datasheet.qml"; } // TableView ListElement {component: "PieChart.qml"} ListElement {component: "BarSeries.qml"} } delegate: Loader { //... } I know how to make use of the TransactionsModel in Datasheet.qml model: TransactionsModel{ id: transactionsModel; modelTransactions: transactions } How can I define this model once in the main.qml and distribute it to Datasheet.qml, PieChart.qml, BarSeries.qml? Or is it not how it should be done? Should I have three models, each for Datasheet.qml, PieChart.qml, BarSeries.qml?
  • How to stop qml camera and free ressource correctly?

    Unsolved
    1
    0 Votes
    1 Posts
    197 Views
    No one has replied
  • Scanlines effects on background

    Unsolved
    7
    0 Votes
    7 Posts
    551 Views
    GrecKoG
    That's a good resource. You'll need shaders to achieve that effect.
  • how to display a list from the inputs taken from a file using qml?

    Unsolved
    8
    0 Votes
    8 Posts
    580 Views
    J.HilkJ
    @vamsi1992 Great, don't forget to set the topic to solved, if your issue is solved :)
  • How to disable logs while running a qml application

    Unsolved
    3
    0 Votes
    3 Posts
    285 Views
    sierdzioS
    You can install your own message handler and disable logging there shortly before the transition starts. Docs. But, it's very probable that logs are not the cause of issues here. Try disabling them completely for the whole app and see if that changes anything. Then use a profiler to identify the bottlenecks.
  • QList<QObject*> as member that can be used as a list

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    ODБOïO
    @GrecKo said in QList<QObject*> as member that can be used as a list: How is that better than a QObjectList? i don't know, tell me
  • This topic is deleted!

    Unsolved
    3
    0 Votes
    3 Posts
    45 Views
  • Splitter not visible in Splitview within StackLayout

    Solved
    3
    0 Votes
    3 Posts
    343 Views
    SietseAchteropS
    @IntruderExcluder Thanks!
  • Drag and Drop in QabstractListModel

    Solved
    3
    0 Votes
    3 Posts
    807 Views
    Bhushan_SureB
    @Pradeep-P-N Thank you very much :)
  • How can I fix bug camera in Qt5.13.1?

    Unsolved
    18
    0 Votes
    18 Posts
    2k Views
    Pablo J. RoginaP
    @neda said in How can I fix bug camera in Qt5.13.1?: I wanna adjust exposure related settings in my camera. For example I try to use function "camera.searchAndLock()" but it doesn't work. What hardware are you using (i.e. webcam attached to USB, Android phone camera, Raspberry Pi camera, etc.)? Are you positive that the underlying hardware allows for all those settings (i.e. focus lock, exposure, manual shutter, etc.)? Have you tried that same hardware with a different (non-Qt) application?
  • QGuiApplication::setPalette and QML

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