We can use qt designer to create pyqt or pyside UI.
Ex) exUI.py
MainWindow.setObjectName("MainWindow")
MainWindow.resize(484, 371)
self.centralWidget = QtWidgets.QWidget(MainWindow)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
Ex) exUI.ui(or XML)
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>484</width>
<height>371</height>
</rect>
</property>
<property name="windowTitle">
When creating a ui using qt designer, a ui file is created as an output.
There are also functions that change the ui to a python file. But I'm curious why you change it to a python file.
A ui file can easily write ui, so why change it back to a python file and make it inconvenient?
Not everyone uses this method, but some do. I wonder if there is a difference in using different file extensions.
Assuming that ui behaves differently when it is a ui file and a python file, I would like to know if PySide and PyQt are both that different.