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. Blur effect in title bar
Forum Updated to NodeBB v4.3 + New Features

Blur effect in title bar

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 3.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.
  • C Offline
    C Offline
    Carvajal
    wrote on last edited by
    #1

    I wonder if is possible to make the title baor of the program semitransparent with Qt or it require native system calls to make it.
    An example could be the title bar of Iternet Explorer that contain the path box in it. This can be achieved with Win32 calling to the DWM API funtions. Is ther any way to do it with Qt.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      Please have a look at the FAQ. This topic explains how to customize the title bar: "How can I handle events in the titlebar and change its color etc ?":http://developer.qt.nokia.com/faq/answer/how_can_i_handle_events_in_the_titlebar_and_change_its_color_etc

      http://anavi.org/

      1 Reply Last reply
      0
      • F Offline
        F Offline
        fguimaraes
        wrote on last edited by
        #3

        Hello Carvajal

        I had the exactly problem in my projects. Sou basically you'll have to create a new window and all its behavior (maximize,resize, minimize). The problem that I had is that if your application content make its own paint event, you might have problems with transparency. Besides that, its quite easy :)

        ..and, about the blur, specifically, yep you'll have to use the DWM API funtions, as far that I know, there is no other way.

        Birth, death, rebirth, though, and constantly progress, that is the law.

        1 Reply Last reply
        0
        • F Offline
          F Offline
          fguimaraes
          wrote on last edited by
          #4

          One more thing, if you want to, later (in 8 hours) I'll be able to share my code with you.

          Birth, death, rebirth, though, and constantly progress, that is the law.

          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