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. How to set a Window as front or back of a Flipable?
Forum Updated to NodeBB v4.3 + New Features

How to set a Window as front or back of a Flipable?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 116 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.
  • K Offline
    K Offline
    Kamichanw
    wrote on last edited by
    #1

    I have implemented my custom Window in MyWindow.qml, and now I want to use Flipable as well. However, when I tried to set MyWindow as front of Flipable,the complier complained that Cannot assign object of type "MyWindow" to property of type "QQuickItem*" as the former is neither the same as the latter nor a sub-class of it. What should I do? Is there a better way than change MyWindow.qml directly ?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      aran
      wrote on last edited by
      #2

      I don't think you'll be able to use Window for that. A Window is, well, a window that is visible as free-standing window and not integrated in some other element. Depending on what properties, if any, unique to Window you use you might be able to simply change its type to 'Rectangle' and use that for the Flipable.

      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