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. Global instance of a ApplicationWindow
QtWS25 Last Chance

Global instance of a ApplicationWindow

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlqml qml
3 Posts 2 Posters 743 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.
  • M Offline
    M Offline
    MikhailG
    wrote on 1 Nov 2017, 12:57 last edited by
    #1

    Is there a way to have a global instance of a AplicationWindow to be able to access inner propertie such as a custom toolBar?

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on 1 Nov 2017, 17:32 last edited by
      #2

      Hi! You can use a JS library to share state across your QML modules, see: http://doc.qt.io/qt-5/qtqml-javascript-resources.html

      M 1 Reply Last reply 3 Nov 2017, 09:27
      2
      • ? A Former User
        1 Nov 2017, 17:32

        Hi! You can use a JS library to share state across your QML modules, see: http://doc.qt.io/qt-5/qtqml-javascript-resources.html

        M Offline
        M Offline
        MikhailG
        wrote on 3 Nov 2017, 09:27 last edited by
        #3

        @Wieland thank you I will try it.

        1 Reply Last reply
        0

        1/3

        1 Nov 2017, 12:57

        • Login

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