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. go into js for get variable from method
Forum Updated to NodeBB v4.3 + New Features

go into js for get variable from method

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 144 Views 1 Watching
  • 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

    Good morning
    From my limited experience I think it can't be done but I would like to post my question anyway.
    With a signal I can return to the JS location of the from where I'm working.
    But is it possible that the same signal gives me a value back?
    example:

    emit returnvalue = getValueintoVariableJS();
    if(returnvalue == true) 
    {
    . . . . 
    }
    else
    {
    . . . .
    }
    
    

    La necessità nasce dal bisogno del valore per procedere con il methodo da cui ho lanciato il signal ma il valore è in una variabile dinamica js nel form. La variabile si modifica nel tempo e quindi non basta leggerla la prima volta.

    Grazie

    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