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 Update on Monday, May 27th 2025

go into js for get variable from method

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 141 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.
  • E Offline
    E Offline
    elicat
    wrote on 15 Mar 2024, 09:06 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

    1/1

    15 Mar 2024, 09:06

    • Login

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