Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Transparent & blur
Forum Updated to NodeBB v4.3 + New Features

Transparent & blur

Scheduled Pinned Locked Moved Brainstorm
7 Posts 3 Posters 8.0k 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.
  • Q Offline
    Q Offline
    qxoz
    wrote on last edited by
    #1

    Hi everyone!
    How people doing windows and widgets look like KDE Plasma or Windows Aero style?

    !http://s9.postimage.org/mu35kxaa7/blur.png(image)!

    I mean background transparent and blur but controls are in normal view.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      The window frame is handled by the window manager (so, the OS). If you want to hook up into that, you need to go into OS-specific APIs, as far as I know. There are some tricks that Qt allows you to do (QStyle, etc.) here, though.

      (Z(:^

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qxoz
        wrote on last edited by
        #3

        I shown this image only for clearity :). But i saw many apps that look like that, no mater what OS and what style on it.

        !http://s9.postimage.org/6i4lbjnf3/classic.png(windows classic)!

        With setGraphicsEffect() i can set blur and other effects. But how make parent window with effect but child widgets without any GraphicsEffect?

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          I never played with those. but you can take a look at:

          • "QWidget::opacity":http://qt-project.org/doc/qt-4.8/qwidget.html#windowOpacity-prop
          • "RenderFlags":http://qt-project.org/doc/qt-4.8/qwidget.html#RenderFlag-enum

          (Z(:^

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            qxoz
            wrote on last edited by
            #5

            Thanks sierdzio.

            1 Reply Last reply
            0
            • D Offline
              D Offline
              deadbird
              wrote on last edited by
              #6

              Check this. Not perfect, but it's the idea: http://deadbird.fr/?p=800

              1 Reply Last reply
              0
              • Q Offline
                Q Offline
                qxoz
                wrote on last edited by
                #7

                Thank you deadbird :)

                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