Skip to content
Advertisement

Tag: pyqt5

Can’t Download PyQt5 on Python

I’m using Pycharm and when i try to download pyqt5 package, I’m getting an error like this. What could be the problem ? Answer You have to upgrade pip and then install pyqt5:

Move pyqt button out of list of buttons

I have a list of pyqt4 push button and want to move the position. Since it is troublesome it make lots of buttons variable I create them through a list. The code below don’t work for specify the position but works fine. What’s the reason behind? Answer If you want to manually specify the geometry (position and size) of widgets,

How to play videos in pyqt

I want to play video files depending the select file in this function: My Question is what opcion i have to use or what module to play video files in pyqt EDIT: To play the code of S. Nick I hace to install K lite code Answer Try it:

Scrollbars Do Not Appear in PyQt5 Custom Label

A few months ago I wanted to know how to draw on an image (Insert Image into QGridLayout and Draw on top of image in PyQt5). Eyllanesc very kindly gave me a complete solution. I now would like to have this image widget scrollable so I can enlarge it. Howerver, when I add a scroll area the scrollbars do not

Python PyQt5 QTreeView set row Background Colour

I am trying to set the background colour (color) for a) a whole QTreeView, and b) for specific rows in a QTreeView within Python. I have found setColor and setBackgroundColor methods, but neither seem to work for me with QTreeView nor QStandardItem. Lots of googling shows many conversations about it, but I have not been able to relate those to

Advertisement