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 open the Main window in maximize form
Forum Updated to NodeBB v4.3 + New Features

How to open the Main window in maximize form

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 Posters 51.8k Views 2 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.
  • I Offline
    I Offline
    Indrajeet
    wrote on 5 Oct 2011, 09:48 last edited by
    #1

    Hi All

    I have created a QApplication project.
    When i run my App i want to open my main window in maximized form.
    How to do this?

    1 Reply Last reply
    1
    • D Offline
      D Offline
      dangelog
      wrote on 5 Oct 2011, 10:34 last edited by
      #2

      Don't want to be rude, but this howto is quite useful:

      Open the relevant docs for your main window class (QMainWindow or QWidget are good candidates)

      Click on "List of all members"

      Press Ctrl+F and type "maximized"

      Software Engineer
      KDAB (UK) Ltd., a KDAB Group company

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        ZapB
        wrote on 5 Oct 2011, 10:40 last edited by
        #3

        QWidget::showMaximised() perhaps.

        Nokia Certified Qt Specialist
        Interested in hearing about Qt related work

        R 1 Reply Last reply 24 Apr 2018, 23:42
        3
        • I Offline
          I Offline
          Indrajeet
          wrote on 7 Oct 2011, 03:35 last edited by
          #4

          Thanks Zap.

          1 Reply Last reply
          0
          • Z ZapB
            5 Oct 2011, 10:40

            QWidget::showMaximised() perhaps.

            R Offline
            R Offline
            redstoneleo
            wrote on 24 Apr 2018, 23:42 last edited by
            #5

            @ZapB be careful of the spelling ```
            showMaximized()

            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