Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. disable window frame
Qt 6.11 is out! See what's new in the release blog

disable window frame

Scheduled Pinned Locked Moved Unsolved General and Desktop
qwindow
5 Posts 2 Posters 1.4k 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
    continue98
    wrote on last edited by
    #1

    Hi, how to disable window frame? So that it works also on win7 without windows aero enabled?

    P.S: using QWebEngineView

    1 Reply Last reply
    0
    • C Offline
      C Offline
      continue98
      wrote on last edited by
      #2

      9f417cbf-429a-4167-ba70-656cf41a76d8-изображение.png

      I need to stay just the picture (no white background underneath). How can I do that?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mpergand
        wrote on last edited by
        #3

        Try;
        setWindowFlags(Qt::FramelessWindowHint);
        setAttribute(Qt::WA_TranslucentBackground);

        and maybe also:
        setAutoFillBackground(false);

        C 1 Reply Last reply
        0
        • M mpergand

          Try;
          setWindowFlags(Qt::FramelessWindowHint);
          setAttribute(Qt::WA_TranslucentBackground);

          and maybe also:
          setAutoFillBackground(false);

          C Offline
          C Offline
          continue98
          wrote on last edited by
          #4

          @mpergand said in disable window frame:

          setAutoFillBackground(false);

          It works fine on windows 10, but on win7 it's bad

          Screen on win7:

          86eb4a83-53df-4794-adfe-3a27fbb52da7-изображение.png

          Screen on win10:

          9f293033-ebac-4b3f-a77a-e17833fc69e6-изображение.png

          1 Reply Last reply
          0
          • C Offline
            C Offline
            continue98
            wrote on last edited by
            #5

            up (8 chars)

            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