

tWindowTitle(_translate("MainWindow", "MainWindow")) Self.statusBar = QtWidgets.QStatusBar(MainWindow) MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.mainToolBar) Self.mainToolBar = QtWidgets.QToolBar(MainWindow) Self.checkBox = QtWidgets.QCheckBox(self.centralWidget) Self.radioButton = QtWidgets.QRadioButton(self.centralWidget) Self.pushButton = QtWidgets.QPushButton(self.centralWidget) Self.centralWidget = QtWidgets.QWidget(MainWindow) Do not edit this file unless you know what you are doing.įrom PyQt5 import QtCore, QtGui, QtWidgets

# WARNING: Any manual changes made to this file will be lost when pyuic5 is
QT CREATOR PYTHON PROJECTS SAMPLE GENERATOR
# Created by: PyQt5 UI code generator 5.15.0 # Form implementation generated from reading ui file 'ui\mainwindow.ui'

Maybe it helps to provide the details of the files The following Python packages are installed: I use Pycharm Community 2020.2 with a virtual environment How can I get the result to look like in Qt Creator? All the Widgets seem to be too small and the content has been cutten off: By running the following skript once, i got a mainwindow.py file: from qtpy import uicīut the result does not look as exspected. I created this simple thing in Qt Designer (and expected the result to look similar):īy saving that, I got a file mainwindow.ui in the a directory 'ui' located in my Python project directory. I am trying to learn to make Desktop Applications using Qt Creator and qtpy, but my result does not look like expected.
