Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good PyQt tutorial needed [closed]

Tags:

I'm starting getting into PyQt. Therefore I would need some good tutorials. I searched a bit but didn't find any good. Most tutorials only post "full" applications but don't go into detail.

Can you advise me some?

Currently im programming in Notepad++. Are there better lightweight editors or simple IDEs for python in combination with PyQt?

like image 565
Razer Avatar asked Feb 16 '12 22:02

Razer


People also ask

Is PyQt5 difficult to learn?

Nope, PyQt is actually pretty user friendly. You can download Qt Designer, and you can click and drag elements of your GUI to make it look how you want. When you finish designing the UI, it creates a . ui file.

Is PyQt good for GUI?

PyQt is a Python binding for Qt, which is a set of C++ libraries and development tools that include platform-independent abstractions for Graphical User Interfaces (GUI), as well as networking, threads, regular expressions, SQL databases, SVG, OpenGL, XML, and many other powerful features.

Is PyQt5 free for personal use?

PyQt is a Python binding of the cross-platform GUI toolkit Qt, implemented as a Python plug-in. PyQt is free software developed by the British firm Riverbank Computing.

Is PyQt better than TkInter?

thenPyQt comes with many powerful and advanced widgets. TkInter does not come with advanced widgets. 5. PyQt have a Qt Designer tool which we can use to build GUIs than get python code of that GUI using Qt Designer.


2 Answers

You should probably ask two different questions here, one regarding the PyQt tutorial and one about a better editor. Also both could be more precise (PyQt version, editor expectations and so on)

However here's where you could start:

PyQt4:

  1. read about Qt at nokia.com and bookmark the documentation: https://doc.qt.io/archives/qt-4.8/gettingstartedqt.html
  2. bookmark the PyQt documentation: http://pyqt.sourceforge.net/Docs/PyQt4/
  3. think about getting this book: http://www.qtrac.eu/pyqtbook.html
  4. do this tutorial: http://wiki.python.org/moin/JonathanGardnerPyQtTutorial
  5. define a simple project you want to start with and do it with all the resources you have now

Editor:

  1. think about getting this book: http://pragprog.com/the-pragmatic-programmer
  2. install emacs, vim and eclipse+pydev
  3. spend some time (>3h) for learning and trying those environments
  4. decide what works best for you / or could work best for you (it takes a bit longer than 3h to get up to speed in emacs or vi)
  5. improve your environment every day

I hope this helps to get you started. It is just a proposal,.. there are many ways to Rome...

like image 160
Martin Schulze Avatar answered Oct 13 '22 20:10

Martin Schulze


"The PyQt4 tutorial" by Jan Bodnar (ZetCode)

like image 43
Oleh Prypin Avatar answered Oct 13 '22 21:10

Oleh Prypin