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. Multiple *ui in save in just one *ui file
Forum Updated to NodeBB v4.3 + New Features

Multiple *ui in save in just one *ui file

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

    Dear all,
    You know you can after working in Qt Designer and converting via pyuic4 command to executable program or module, You can modify your code and merge together and build a complete program, But i have serious question:
    Suppose I have QMainWindow, some QFrame and i don't want to save in separately *ui files, i need to save in just one *ui file, it's possible?

    Please read advantage and disadvantage.....

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,

      Each .ui file stores one widget only. If you want two separate widgets, you need to store then in two separate .ui files.

      If you can merge your QFrame into your QMainWindow, then you can use one .ui file.

      I hope this clarifies things for you.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      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