Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Scope in QML

    QML and Qt Quick
    scope qml quick signals slots signalsslots
    2
    3
    1534
    Loading More Posts
    • 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
      Anas A. Ismail last edited by

      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.

      JKSH 1 Reply Last reply Reply Quote 0
      • JKSH
        JKSH Moderators @Anas A. Ismail last edited by

        @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 Reply Quote 0
        • A
          Anas A. Ismail @JKSH last edited by

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

          Thanks

          1 Reply Last reply Reply Quote 0
          • First post
            Last post