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. How to completly remove titlebar icon and shift window title ?
Forum Updated to NodeBB v4.3 + New Features

How to completly remove titlebar icon and shift window title ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 1.8k 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.
  • V Offline
    V Offline
    veer
    wrote on last edited by
    #1

    hi , I need to remove the window title icon completely , I don't want to hide or make it transparent . currently I hide the icon by making it transparent , I want to remove icon completely and also want to shift window title 16px from top left corner. example shown below need to minimize the distance between left border and window title to 16px .
    calibaret scaleIcon.PNG

    one more thing I want to change the color of the window title

    jsulmJ 1 Reply Last reply
    0
    • V veer

      hi , I need to remove the window title icon completely , I don't want to hide or make it transparent . currently I hide the icon by making it transparent , I want to remove icon completely and also want to shift window title 16px from top left corner. example shown below need to minimize the distance between left border and window title to 16px .
      calibaret scaleIcon.PNG

      one more thing I want to change the color of the window title

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @veer said in How to completly remove titlebar icon and shift window title ?:

      I want to change the color of the window title

      This is something the OS/window manager handles, not application itself.

      Regarding other changes you want to have see: https://doc.qt.io/qt-5/qtwidgets-widgets-windowflags-example.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by mrjj
        #3

        Hi
        Most of what you ask is not possible with Qt alone.

        However, you can try this out
        https://github.com/Bringer-of-Light/Qt-Nice-Frameless-Window
        I think you can place text to far left and maybe even change color of the title bar.
        Do note. No Linux support.

        1 Reply Last reply
        2

        • Login

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