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. Using a tab inside a window title

Using a tab inside a window title

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

    Hi,

    is it possible to use tabs inside a windows title?

    I tried this:

    @setWindowTitle(tr("Before tab After tab")); // displays Before tab (html symbol text) After tab
    // or
    setWindowTitle(tr("Before tab \t After tab")); // Before tab After tab@

    Remoneo

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      Window title is under window manager control. Qt can not control the title.
      However it is possible to create a window without title bar and draw and manager your own titlebar. I think "this":http://qt-project.org/forums/viewthread/3331/ thread discusses it.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andreyc
        wrote on last edited by
        #3

        Here is another good "article":http://qt-project.org/faq/answer/how_can_i_handle_events_in_the_titlebar_and_change_its_color_etc about custom titlebar

        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