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
QtWS25 Last Chance

disable window frame

Scheduled Pinned Locked Moved Unsolved General and Desktop
qwindow
5 Posts 2 Posters 725 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.
  • C Offline
    C Offline
    continue98
    wrote on 13 Sept 2022, 15:45 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 14 Sept 2022, 12:00 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 14 Sept 2022, 12:53 last edited by
        #3

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

        and maybe also:
        setAutoFillBackground(false);

        C 1 Reply Last reply 14 Sept 2022, 13:53
        0
        • M mpergand
          14 Sept 2022, 12:53

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

          and maybe also:
          setAutoFillBackground(false);

          C Offline
          C Offline
          continue98
          wrote on 14 Sept 2022, 13:53 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 15 Sept 2022, 19:59 last edited by
            #5

            up (8 chars)

            1 Reply Last reply
            0

            2/5

            14 Sept 2022, 12:00

            • Login

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