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. Scope in QML
Forum Update on Monday, May 27th 2025

Scope in QML

Scheduled Pinned Locked Moved QML and Qt Quick
scopeqmlquicksignalsslotssignalsslots
3 Posts 2 Posters 2.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.
  • A Offline
    A Offline
    Anas A. Ismail
    wrote on last edited by
    #1

    Hello Everyone,
    I could be appreciated if anyone helps me to understand the scope of variables in qml, my main problem is I want to notify an item when another item is hovered, but each of them in a different file, How can I do that ?

    Thanks.

    JKSHJ 1 Reply Last reply
    0
    • A Anas A. Ismail

      Hello Everyone,
      I could be appreciated if anyone helps me to understand the scope of variables in qml, my main problem is I want to notify an item when another item is hovered, but each of them in a different file, How can I do that ?

      Thanks.

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      @Anas-A.-Ismail said:

      I want to notify an item when another item is hovered, but each of them in a different file, How can I do that ?

      Hi,

      Use signals: http://doc.qt.io/qt-5/qtqml-syntax-signals.html

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      A 1 Reply Last reply
      0
      • JKSHJ JKSH

        @Anas-A.-Ismail said:

        I want to notify an item when another item is hovered, but each of them in a different file, How can I do that ?

        Hi,

        Use signals: http://doc.qt.io/qt-5/qtqml-syntax-signals.html

        A Offline
        A Offline
        Anas A. Ismail
        wrote on last edited by
        #3

        @JKSH Thanks for your help, May you help me more by writing a sample code for this ?

        Thanks

        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