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. Which class shall I use for a standard Window?
Forum Updated to NodeBB v4.3 + New Features

Which class shall I use for a standard Window?

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

    Hi,

    I don't want to use the QMainWaindow class, because I don't need DockWidgets or a menu bar. What would be the right class for an application main window instead?

    Thanks in Advance.

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

      You can use QWidget or QDialog. You will get most flexible solution with QWidget because it is base class for QDialog and for QMainWindow and many other widget classes.

      BTW: you don't have to use dock widgets or menu, status, tool bars if you are using QMainWindow.

      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