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. Why don't make mainwindow.ui?
Forum Updated to NodeBB v4.3 + New Features

Why don't make mainwindow.ui?

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

    In almost all professional projects I can see that they do not make a mainwindow.ui (I mean: they do not create forms for them), but make ui for another less important windows. It could be configuration windows and so on.

    The questions is Why?, Why don't do a mainwindows.ui and create this one by code?.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      twsimpson
      wrote on last edited by
      #2

      There really isn't an "answer" to that question, it comes down mostly to the preference of the programmer and the way they are used to do things. One reason may be that many projects will use QMainWindow instead of creating the main window (along with menus, tool-bars, status-bars, etc) by hand.
      In the end, it's up to you as the software designer to decide which method is most appropriate/preferable in the context of what you're making.

      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