Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 python GUI - which to use ?
#1
Hello,

Could someone advise me on what software or package that is free
and easy to use to build python GUI ?

I have use pyQT before and it works great, there are currently two
versions 4 and 5. Do both of them work for any version python ?

Please advise on a software or package that is free and easy to use to build python GUI.

Thanks !
Quote
#2
Easy to use is relative as all graphics packages are quite complex. However the easiest (and by same criteria most restrictive) package is the built-in (most installations) tkinter.
Stepping up, Qt (latest version Qt5) is probably the most robust, but has limitations on commercial applications.

Personally I prefer the Phoenix version of wxpython which contains a rich library of widgets, an excellent demo package and can be used in commercial applications without restrictions. You can preview some of the available widgets here: https://wxpython.org/Phoenix/docs/html/gallery.html

For most platforms, you can install (from command line) using 'pip install wxpython'
Be sure to download the demo see: https://uwpce-pythoncert.github.io/Py300..._demo.html
Quote
#3
PyQt4 and PyQt5 both work for python.
The change quoted from google searching
Quote:The main change from Qt4 to Qt5 and hence from PyQt4 to PyQt5 is the rearrangement of certain classes so that the Qt project is scalable and generates a smaller executable.

The QtGui library was divided into 2 submodules: QtGui and QtWidgets, in the second only the widgets, namely QMainWindow, QPushButton, etc. And that is the change you must make:

That is definitely an option for you since you are familiar with it.

I would use WxPython Phoenix if i was to create a GUI. But that is half because i am more familiar with that than pyqt.
Quote
#4
Thanks to you both for answering my question.
PyQT is a software application that needs installation and with
that software you can design the GUI.

Are the ones you mentioned software or we have to write the codes to design it ?
I think the codes to design it is difficult because designing a GUI can be complex.

dot.NET and C# has visual studio to design it.
Quote
#5
what you are looking for is GUI designer
I use wxGlade for wxPython Phoenix and I am satisfied. It's actively developed and I had found a bug that was rapidly fixed when I reported it.
There is also wxFormBuilder

for GTK there is Glade
Quote
#6
(Sep-10-2019, 12:02 PM)buran Wrote: wxFormBuilder

Thanks, nice to know. Out of those
which one is nice to know that can create
professional GUI design ?

I thought these are the big three.
Tkinter, wxPython, and PyQt.

What is the designer for Tkinter ?
Quote
#7
Qt Designer is the most advance designer for GUI in Python,it's close looking to Visual Studio C#/Net designer.
It free to use,install under start Qt Designer with designer command line.
# Install PyQt5 
pip install PyQt5

# This will install PyQt5 designer 
pip install pyqt5-tools

# Install wxPython 
pip install wxpython
Johnse Wrote:Thanks, nice to know. Out of those
which one is nice to know that can create
professional GUI design ?
All can be used for that,no is it more common to use Qt or wxPython for that.
Ex VLC is Qt, Wxpython eg screen shot from wxWidgets(wxpython is the Python version of wxWidgets).
Thonny is made with Tkinter.

Look at this Thread where we discuss Moore about this,
there also mention using Web as GUI,this is what i have done most over the latest year,i used a lot wxPython before.
Gribouillis and buran like this post
Quote
#8
(Sep-11-2019, 03:43 AM)Johnse Wrote: Out of those which one is nice to know that can create professional GUI design

The feel and look of your GUI will depend on the framework you choose. These are just tools to help design/build your GUI (sort of WYSWYG editors). You can create the same GUI without using designer. Using designer often will end with more lines of code compared to when you write everything yourself. So don't confuse the designer tool and the framework.
Here is extensive list of frameworks. There is also section GUI Design Tools and IDEs
Quote
#9
(Sep-11-2019, 05:35 AM)snippsat Wrote: Qt Designer is the most advance designer for GUI in Python,it's close looking to Visual Studio C#/Net designer.
It free to use,install under start Qt Designer with designer command line.
# Install PyQt5 
pip install PyQt5

# This will install PyQt5 designer 
pip install pyqt5-tools

# Install wxPython 
pip install wxpython

What is the difference between:
pip install PyQt5 and
Pip install PyQt5-tools

They all install the design software
to help design the GUI ?
I do this installation following your
steps by going to command line and which folder ?

What if there is proxy blockage ?
Quote
#10
Correct me If I am wrong, but PyQt5 is not free if used for commercial applications.
Quote

Top Page

Forum Jump:


Users browsing this thread: 1 Guest(s)