Someone suggested to use something in the PySide directory with other versions of python how
Unsolved
Qt for Python
-
The thing is I find this Designer in C:\Users\damon\anaconda3\Lib\site-packages\PySide2 which is good but how can I put the code together. Does this have to be done in the command line. I have never done it this way;
-
@AI_Messiah said in Someone suggested to use something in the PySide directory with other versions of python how:
but how can I put the code together
What code? Can you please explain what you want to do more clearly?
-
I mean the Python code to interact with the ui file generated with the designer
-
from PyQt5 import uic from PyQt5.QtWidgets import QApplication Form, Window = uic.LoadUIType('dialog.ui') app = QApplication() window = Window() form - Form() form.setupUI(window) window.show() app.exec()
from Python and QT - the best parts by Michael Herrmann
The idea of a GUI like Qt is that the application is "event driven" so you have to link your code to an event triggered by the user such as clicking a button.