May-26-2022, 06:16 AM
Hi,
First of all I'm new in Python.
I have made with QT Designer a gui for my project an convert it into .py with external tool from PyCharm.
The begining of code is this:
C:\Users\kriss\PycharmProjects\Proiect1\venv\Scripts\python.exe C:/Users/kriss/PycharmProjects/Proiect1/getdata.py
Process finished with exit code 0
First of all I'm new in Python.
I have made with QT Designer a gui for my project an convert it into .py with external tool from PyCharm.
The begining of code is this:
from PyQt6 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(819, 379)
font = QtGui.QFont()
font.setPointSize(6)
MainWindow.setFont(font)
MainWindow.setStyleSheet("background-color: rgb(106, 127, 0);")
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")How can I view the actually GUI window? because when I run the code in the console I get only this:C:\Users\kriss\PycharmProjects\Proiect1\venv\Scripts\python.exe C:/Users/kriss/PycharmProjects/Proiect1/getdata.py
Process finished with exit code 0
