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. Window control buttons disappears when implementing w.showFullScreen();

Window control buttons disappears when implementing w.showFullScreen();

Scheduled Pinned Locked Moved Solved General and Desktop
widgetqt6.5begginerqtdesignstudiohelp
5 Posts 3 Posters 529 Views
  • 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.
  • A Offline
    A Offline
    amitsgh
    wrote on last edited by
    #1

    Screenshot 2023-08-17 011228.png !

    The Main Window
    Screenshot 2023-08-17 011210.png

    Window control buttons in the top right corner disappears when applying w.showFullScreen() instead of w.show().

    How can I have the window control buttons and still be in full screen mode by default?

    jsulmJ 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Which OS are you on ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      A 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Which OS are you on ?

        A Offline
        A Offline
        amitsgh
        wrote on last edited by
        #3

        @SGaist I'm using windows 11 OS

        1 Reply Last reply
        0
        • A amitsgh

          Screenshot 2023-08-17 011228.png !

          The Main Window
          Screenshot 2023-08-17 011210.png

          Window control buttons in the top right corner disappears when applying w.showFullScreen() instead of w.show().

          How can I have the window control buttons and still be in full screen mode by default?

          jsulmJ Online
          jsulmJ Online
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @amitsgh said in Window control buttons disappears when implementing w.showFullScreen();:

          Window control buttons in the top right corner disappears when applying w.showFullScreen()

          This is actually exactly what full-screen usually means, also on Windows: there are no window decorations and no buttons to close the window or to minimize it. If you want the window to occupy the full screen but keep window decorations and these buttons then show the window maximised (setWindowState(Qt.WindowMaximized)).

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

          A 1 Reply Last reply
          4
          • jsulmJ jsulm

            @amitsgh said in Window control buttons disappears when implementing w.showFullScreen();:

            Window control buttons in the top right corner disappears when applying w.showFullScreen()

            This is actually exactly what full-screen usually means, also on Windows: there are no window decorations and no buttons to close the window or to minimize it. If you want the window to occupy the full screen but keep window decorations and these buttons then show the window maximised (setWindowState(Qt.WindowMaximized)).

            A Offline
            A Offline
            amitsgh
            wrote on last edited by
            #5

            @jsulm I got it now. Thank you!!

            1 Reply Last reply
            0
            • A amitsgh has marked this topic as solved on

            • Login

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