Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Styling/transparency on a QQuickView
Qt 6.12 LTS is out! See what's new in the release blog

Styling/transparency on a QQuickView

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.2k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello,

    I am trying to build a Heads Up Display for my Qt C++ app. Currently the HUD is a QQuickView, I cannot figure out how to style this or make it transparent or have no title bar. I would like to make it transparent because I want the QML file I'm trying to load to be translucent. I don't believe I can make my QML translucent until I make the underlying window (QQuickView) transparent. How can I make the QQuickView transparent? Should I even be using QQuickView for this?

    Thanks!

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      @
      view,setFlags(Qt::FramelessWindowHint);
      view.setColor(QColor(0, 0, 0, 0));
      @

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      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
      • Unsolved