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. QML window changing.
Forum Updated to NodeBB v4.3 + New Features

QML window changing.

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 2.3k 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.
  • C Offline
    C Offline
    chiragbprajapati
    wrote on last edited by
    #1

    In qml, which one is the best way to open child window or window at the same level from this option?

    dynamically using QML Loader Element

    By creating component (using Qt.createComponent)

    initially we create all window but pt them in invisible mode and set visibility at the time of use.

    Regards,
    CPra

    1 Reply Last reply
    0
    • R Offline
      R Offline
      raja26
      wrote on last edited by
      #2

      The second one - By creating the componenet dynamically using Qt.createComponent(). Since QML elements are bit heavy than C++ objects, because of too much decorations like gradient, animation etc (my assumption), its better to create them dynamically and destroy them after usage using destroy().

      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