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. setWindowTitle in maximized mode.
Qt 6.11 is out! See what's new in the release blog

setWindowTitle in maximized mode.

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 2 Posters 2.4k 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.
  • mit_cruzeM Offline
    mit_cruzeM Offline
    mit_cruze
    wrote on last edited by
    #1

    hello I cant set window title in maximized mode. but when I turn to normal mode, it shows.
    when I press minimize button among those three buttons on top left in ubuntu.

    here's my code.

    playback_main *pbw=new playback_main;
    pbw->setWindowTitle("PlayBack");
    pbw->showMaximized();
    
    1 Reply Last reply
    0
    • Pradeep KumarP Offline
      Pradeep KumarP Offline
      Pradeep Kumar
      wrote on last edited by
      #2

      Hi,

      try

      playback_main *pbw=new playback_main;
      pbw->setWindowTitle("PlayBack");
      pbw->setWindowState(Qt::WindowMaximized);
      

      If you try, when you maximize the window you will see the title, even if you minimize the window you will see the title.

      Pradeep Kumar
      Qt,QML Developer

      1 Reply Last reply
      1
      • mit_cruzeM Offline
        mit_cruzeM Offline
        mit_cruze
        wrote on last edited by
        #3

        its not working :(

        1 Reply Last reply
        0
        • Pradeep KumarP Offline
          Pradeep KumarP Offline
          Pradeep Kumar
          wrote on last edited by
          #4

          it is working if you click the maximize button, and again click the maximize button .

          Pradeep Kumar
          Qt,QML Developer

          1 Reply Last reply
          0
          • Pradeep KumarP Offline
            Pradeep KumarP Offline
            Pradeep Kumar
            wrote on last edited by
            #5

            hmm i see it is not working, need to work around .

            Pradeep Kumar
            Qt,QML Developer

            1 Reply Last reply
            0
            • mit_cruzeM Offline
              mit_cruzeM Offline
              mit_cruze
              wrote on last edited by
              #6

              hello Please inform if it works

              1 Reply Last reply
              0
              • mit_cruzeM Offline
                mit_cruzeM Offline
                mit_cruze
                wrote on last edited by
                #7

                hello. I think Linux does not designed that way!
                Its system window also doesnt show title in maximized mode

                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