Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pyqt5

Automating Unit Testing In Pyqt5 Using Gitlab's Ci: Qxcbconnection Error

I am creating a GUI skeleton (for now) using PyQt5 and I have written some unit tests (using Python… Read more Automating Unit Testing In Pyqt5 Using Gitlab's Ci: Qxcbconnection Error

How To Change Languages(translations) Dynamically On Pyqt5?

I wonder if it is possible to change the languages(translations) dynamically without using qt desig… Read more How To Change Languages(translations) Dynamically On Pyqt5?

Efficient Way To Move Qgraphicitems Inside Qgraphicsscene

I am developing a video player using pyqt5. I am using QGraphicsVideoItem inside a scene. On top of… Read more Efficient Way To Move Qgraphicitems Inside Qgraphicsscene

Is It Possible To Create Qmainwindow With Only Outer Border?

I am trying to rebuild a screen record PyQt App, and the ScreenToGIF is a very good demo for me, it… Read more Is It Possible To Create Qmainwindow With Only Outer Border?

How To Stop An Animated Qcursor From Freezing When Loading Or Dumping With Pickle?

As a follow-up question to this post, I was wondering if it is possible to extend the functionality… Read more How To Stop An Animated Qcursor From Freezing When Loading Or Dumping With Pickle?

How To Create A Websocket Client By Using Qwebsocket In Pyqt5

I want create a websocket client by using QWebSocket in PyQt5.For convenience, assume I have a webs… Read more How To Create A Websocket Client By Using Qwebsocket In Pyqt5

Display Matplotlib Plots From Other File

I have a PyQt file that, on the click of a button, runs a function from another python file (let… Read more Display Matplotlib Plots From Other File

Pyqt5 Fails With Cryptic Message

I've created small app with model and view. Since the beginning PyQt5 crash each time something… Read more Pyqt5 Fails With Cryptic Message

Qt Designer Pyqt5 Overwrite Closeevent Child Window Don't Work

I have three windows designed in QtDesigner. The main window calls the two childs windows using but… Read more Qt Designer Pyqt5 Overwrite Closeevent Child Window Don't Work

Mock A Pyqt Method

I have an existing class which inherits from the PyQT5 classes QWidget and Ui_Dialog. I want to use… Read more Mock A Pyqt Method

Pyqt5 Draw A Line Between Two Widgets

I am trying to use QPainter to draw a line between two widgets. If I use a simple function inside t… Read more Pyqt5 Draw A Line Between Two Widgets

Show Item In A Qcombobox But Not In Its Popup List

I have some code to use a combobox to show a list of products. I would like to show 'Select pro… Read more Show Item In A Qcombobox But Not In Its Popup List

How To Paste And Copy Out Multiple Cells Values In Qt Table Widget

I am very new in programming. Please help me in this regards. Thanks in advance. Here is my code: f… Read more How To Paste And Copy Out Multiple Cells Values In Qt Table Widget

Drawing Chess Pieces On A Qlabel Type Chessboard In A Qlayout Pyqt 5

For a school project I am programming a chess game. I've made a first GUI with the following co… Read more Drawing Chess Pieces On A Qlabel Type Chessboard In A Qlayout Pyqt 5

How To Convert Qtablewidget Data To Pdf Using Pyqt5 Python

I am working on a python project where I have data stored in QTableWidget. I have to export this da… Read more How To Convert Qtablewidget Data To Pdf Using Pyqt5 Python

How To Display An Svg Image In Python

I was following this tutorial on how to write a chess program in Python. It uses the python-chess e… Read more How To Display An Svg Image In Python

Updating Pyqt Label

I'm attempting to use a timer for scheduling to update certain values across the grid. Below is… Read more Updating Pyqt Label

I Want To Put The Text In Pyqt Qcalendarwidget

I would like to put the text of p.drawText (r.x () + 10, r.y () + 33, '{} / {}'. Format (&#… Read more I Want To Put The Text In Pyqt Qcalendarwidget

Pyqt Drag And Drop Outside App Into Windows File Explorer?

I would like to create files by dragging from a QListWidget into the OS file explorer (Windows 10 i… Read more Pyqt Drag And Drop Outside App Into Windows File Explorer?

Memory_profiler While Using Lambda Expression To Connect Slots

I am experimenting memory_profiler in Python3 following https://medium.com/zendesk-engineering/hun… Read more Memory_profiler While Using Lambda Expression To Connect Slots