Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Connect between C++ and QML(Emit Signal from C++ to QML with parameters)
Forum Updated to NodeBB v4.3 + New Features

Connect between C++ and QML(Emit Signal from C++ to QML with parameters)

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mounika
    wrote on last edited by kshegunov
    #1

    Hi all,
    I am reading csv file and filling that data into list and map in the C++ class , i want to get to Qml for plotting data, how can it possible , please let me know.


    @VRonin closed as duplicate of https://forum.qt.io/topic/71792/connection-between-c-and-qml-with-parameters

    M 1 Reply Last reply
    0
    • M Mounika

      Hi all,
      I am reading csv file and filling that data into list and map in the C++ class , i want to get to Qml for plotting data, how can it possible , please let me know.


      @VRonin closed as duplicate of https://forum.qt.io/topic/71792/connection-between-c-and-qml-with-parameters

      M Offline
      M Offline
      Mounika
      wrote on last edited by
      #2

      Hi all,
      I am reading csv file and filling that data into list and map in the C++ class , i want to get to Qml for plotting data, how can it possible , please let me know.

      I am filling list with struct and map with key as int and value as list of class
      ie.,
      Qlist<Struct>
      Qmap<int,Qlist<Class>>

      i want to get that list and map in the qml to plot charts.

      raven-worxR 1 Reply Last reply
      0
      • M Mounika

        Hi all,
        I am reading csv file and filling that data into list and map in the C++ class , i want to get to Qml for plotting data, how can it possible , please let me know.

        I am filling list with struct and map with key as int and value as list of class
        ie.,
        Qlist<Struct>
        Qmap<int,Qlist<Class>>

        i want to get that list and map in the qml to plot charts.

        raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by raven-worx
        #3

        @Mounika
        For the start read this and this

        Especially this section will be of interest for you then.

        Also if you want to access porperties in QML you should use types known to Qt's meta type system. Means registered QObjects with properties instead of your structs.

        And btw: no need to post the same question on multiple forums.

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved