Python Forum
[PyQt] GUI does not appear
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] GUI does not appear
#1
Hi,
I'm using Pycharm and QT-Designer - I'm totally new to QT-Designer...

I did an example from a python book - it was about to create a GUI, in which the user is told to enter same data.

This data should be printed in cmd when the user has finished his entries.

When I run the code I see nothing except "Process has finished with exit code 0".

I don't see the GUI...

What should I do???

Many thanks for your help!!!

Attached Files

.py   hauptdialog.py (Size: 6.27 KB / Downloads: 126)
.py   main.py (Size: 1.13 KB / Downloads: 124)
Reply
#2
You never created a main window.
If you want to learn PyQt5 don't use Designer.
Reply
#3
I agree. If you want to use the designer, first learn how to make windows without the designer, the you'll understand how everything works and what all the settings in the designer mean. Then you can make some windows using the designer and learn that you really don't want to use the designer.
Axel_Erfurt likes this post
Reply
#4
Hello Axel_Erfurt,
Hello deanhystad,

okay, thanks for your feedback...
Reply
#5
https://zetcode.com/gui/pyqt5/ has explanations and examples to get you started.
Reply
#6
Hello,
Axel_Erfurt!

Thanks a lot for your effort!

I found some examples a couple of hours ago...

But I will have a look at your examples too...

Thanks,
Have a nice weekend...
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020