Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Html emiting signals
Qt 6.11 is out! See what's new in the release blog

Html emiting signals

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.2k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    boys, this is perhaps impossible, but let us try!
    make a focus on <center>Esci</center><hr>Configura<hr>Nascondi in the snippet. how can you know what string of the HTML code the user clicked?

    @
    Image { id: imgopzioni;anchors.horizontalCenter: parent.horizontalCenter; anchors.bottom: parent.bottom; anchors.bottomMargin: 20; source: "../HUVWoerterSZErinnern/opzioni.png"; scale: 0.8
    Text { anchors.centerIn: parent; text: "Opzioni" ; smooth: true; font.pointSize: 27; id:testo_opzioni }
    MouseArea { anchors.fill: parent; hoverEnabled: true; onClicked: { parent.state = "clicked" } onEntered: testoaiuto = "Click per uscire<br>o configurare il sw." }
    states: [
    State { name: "clicked"; when: parent.state == "clicked"; PropertyChanges { target: imgopzioni; height: 360 }
    PropertyChanges { target: testo_opzioni; text: "<center>Esci</center><hr>Configura<hr>Nascondi" } },
    State { name: "unclicked"; when: parent.state == "unclicked"; PropertyChanges { target: imgopzioni; height: 100 } }
    ]
    transitions: [
    Transition { reversible: true; NumberAnimation { property: "width"; duration: 1000 } }
    ]
    }
    @

    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