Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Signals with more parameters
QtWS25 Last Chance

Signals with more parameters

Scheduled Pinned Locked Moved Solved QtWebEngine
5 Posts 2 Posters 578 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.
  • elicatE Offline
    elicatE Offline
    elicat
    wrote on last edited by
    #1

    Hello, I use into project QT/QML/WebEngine
    How many parameter i can put into call of signals ??

    I can do this call ??

    emit nameSignals(parameterMapp1_Barray, parameterMapp2_Barray, parameterMapp3_Barray, . . ., parameterMappNR_Barray);
    

    Or I put only one parameter type string ?

    Thanks for your help.

    Saluti, Gianfranco Elicat

    artwawA 1 Reply Last reply
    0
    • elicatE elicat

      Hello, I use into project QT/QML/WebEngine
      How many parameter i can put into call of signals ??

      I can do this call ??

      emit nameSignals(parameterMapp1_Barray, parameterMapp2_Barray, parameterMapp3_Barray, . . ., parameterMappNR_Barray);
      

      Or I put only one parameter type string ?

      Thanks for your help.

      artwawA Offline
      artwawA Offline
      artwaw
      wrote on last edited by
      #2

      @elicat You can put as many as you want but in cases when I have more than a couple I tend to wrap them up in the QMap or something.

      For more information please re-read.

      Kind Regards,
      Artur

      elicatE 1 Reply Last reply
      1
      • artwawA artwaw

        @elicat You can put as many as you want but in cases when I have more than a couple I tend to wrap them up in the QMap or something.

        elicatE Offline
        elicatE Offline
        elicat
        wrote on last edited by elicat
        #3

        @artwaw So I can send signl into javascript function an object type QByteArray ??

        Saluti, Gianfranco Elicat

        artwawA 1 Reply Last reply
        0
        • elicatE elicat

          @artwaw So I can send signl into javascript function an object type QByteArray ??

          artwawA Offline
          artwawA Offline
          artwaw
          wrote on last edited by
          #4

          @elicat yes. it Qml Engine, if memory servers, will convert it to JS Array

          For more information please re-read.

          Kind Regards,
          Artur

          1 Reply Last reply
          0
          • elicatE Offline
            elicatE Offline
            elicat
            wrote on last edited by
            #5

            thanks, i have ty pass a QJsonObject and is all right

            Saluti, Gianfranco Elicat

            1 Reply Last reply
            0

            • Login

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