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

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 13 Oct 2015, 08:43 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.

    J 1 Reply Last reply 13 Oct 2015, 11:56
    0
    • A Anas A. Ismail
      13 Oct 2015, 08:43

      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.

      J Offline
      J Offline
      JKSH
      Moderators
      wrote on 13 Oct 2015, 11:56 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 20 Oct 2015, 08:58
      0
      • J JKSH
        13 Oct 2015, 11:56

        @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 20 Oct 2015, 08:58 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

        2/3

        13 Oct 2015, 11:56

        • Login

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