Python Forum
[PyQt] where is the documentation for pyqt5 ?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] where is the documentation for pyqt5 ?
#1
Im having a real hard time trying to learn pyqt5, i cant use http://doc.qt.io/qt-5 because its all in C++. I also see a lot of sourceforge links when searching but sourceforge has been off line for as long as i'v been trying to learn pyqt5.

I would really like to know what to set my PyCharm "External documentation" to for PyQt5? ATM iv got it set to http://doc.qt.io/qt-5/{class.name.lower}...ction.name} But its not meant for python and does not go to the correct page/command/parameter anyhow but i just guessed it at the time but would love to know what it should be set to.

My main question is where are the full python docs for all the commands in pyqt5?
Reply
#2
If the pyqt site is down then you can use the way back machine to take a look at the docs.
https://web.archive.org/web/201801101834...ocs/PyQt5/

EDIT:
fixed link
Recommended Tutorials:
Reply
#3
(Mar-03-2018, 11:12 AM)metulburr Wrote: If the pyqt site is down then you can use the way back machine to take a look at the docs.
https://web.archive.org/web/201801101834...ocs/PyQt5/

EDIT:
fixed link

O yea completely forgot about the archiving sites but im not sure i can use that for my IDE but i shall try and muddle along with it, thank you.

Hmm well the sourceforge docs mostly just point back to http://doc.qt.io/qt-5 docs :( Yea i understand i should be able to read the info i need from there but its the examples i personally need most and trying to convert Cpp to python in my head when iv never even looked at Cpp before is a serious barrier.

Is there no proper docs for PyQt5 that i can setup my IDE with ?
Reply
#4
I dont use an IDE so i could tell you regarding that issue. I also dont code in qt so i cant say for sure about the docs pertaining to C++ references either.

The best thing i can say is if you have a problem with a specific issue or conversion from C++ to python, then post your question here. You should be able to google search an example in python using that specific feature of whatever you are searching for on the docs [CLASSNAME] python example Sure its not going to return simplified examples, but should give you a direction to point to.
Recommended Tutorials:
Reply
#5
well yea i can google bits and pieces scattered about or ask specific questions. I suppose I'm spoiled coming from windows using C# on VS where any class/method/argument i need info on is just a shortcut key away, it makes learning so mush smoother and easer.

However i realised im not the first person to have this kind of problem https://stackoverflow.com/questions/2099...-for-pyqt5

I think this comment summed it up
Quote:Been looking for PyQt5 tutorials for some time? Look no further! You won't find many around the internet.
Reply
#6
you can also use python docstrings

metulburr@ubuntu:~$ python3
Python 3.6.1 (default, Jun  8 2017, 06:36:16) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt5.Qt
>>> help(PyQt5.Qt)
as well as limit it to method
>>> help(PyQt5.Qt.qrand)
Output:
Help on built-in function qrand in module PyQt5.QtCore: qrand(...) qrand() -> int
Though they do not give full blown examples they give what arguments expected and what it returns, and constants.

EDIT:
Just thought of something....you can also use nullege
http://nullege.com/codes/search/PyQt5.QtCore.qrand
Recommended Tutorials:
Reply
#7
Thank you for your last message , i would have replied sooner but had no idea you responded because i got no notification email for your last post (first 2 i did). That last link looks like it will be very helpful as i can integrate that into the PyCharm external help settings.

Thank you.
Reply
#8
http://pyqt.sourceforge.net/Docs/PyQt5/ is back up!
Reply
#9
Cool, Thx for the "heads up".

No notification email again! (checked all site settings, i am subscribed to this thread with instant mail notification, checked junk/spam, nothing changed since first 2 posts when i did get the emails) , 1 step forward 2 steps back :(
Reply
#10
the email system appears to be working from my end. We are using STMP so might just be a glitch...it does do that from time to time.
Recommended Tutorials:
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Huge code problems (buttons(PyQt5),PyQt5 Threads, Windows etc) ZenWoR 0 2,827 Apr-06-2019, 11:15 PM
Last Post: ZenWoR

Forum Jump:

User Panel Messages

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