Showing posts with the label pyqt5

[FIXED] Where can I find PyQt5 Method Signatures?

Issue I want to write a small application with graphical user interface and for that purpose I inst…

[FIXED] Qtextbrowser pyqt5 problem after click on anchor

Issue This is a small sample code for an application using socket. Аfter clicking on a link 'te…

[FIXED] How to insert a web browser in Python QT Designer

Issue I have created a simple user interface in QT Designer 5 and would like to include a widget th…

[FIXED] How to relate QGraphicsScene position to position on a matplotlib plot axis

Issue I have a window which holds two plots, one is a 2D plot and the other is a selection of a cut…

[FIXED] Mocking a Qt slot with unittest

Issue I'm switching from PySide2 to PyQt5 and am getting a TypeError in one of my tests. The t…

[FIXED] pyqt5) GUI still freezing even though using QThread

Issue What I intended when I click 'start' button on Subwindow then loading logo animatio…

[FIXED] PyQt5 Remove percentage label from QProgressDialog

Issue I wanted to remove the space that keeps the percentage number in QProgressDialog, when the pr…

[FIXED] Trio + PyQT5 in one program?

Issue How can I use trio in conjunction with PyQT5? The thing is that my program has interface writ…

[FIXED] PyQt5 draggable frameless window

Issue I found an example to set borders on a frameless window, however it's not draggable. How …

[FIXED] Shadow effect does not work in QMainWindow

Issue I have the following code in which I try to show a shadow effect behind the QMainWindow, for …

[FIXED] Is there an equivalent of Toastr for PyQt?

Issue I am working on my first PyQt project and I would like to come up with a way to provide the u…

[FIXED] Text aside and below an image in pyqt5

Issue I am preparing a catalog for a small library. All books with main data are displayed. Next to…

[FIXED] QWebEngineView does not find some libraries which are installed

Issue To solve a display problem I was suggested to use QWebEngineView . I inserted from PyQt5.QtWe…

[FIXED] How to dim background when using qmessagebox?

Issue I want to set the background in dim mode, when a QMessagebox is popped up. Currently, I have…

[FIXED] How do I attach a hyperlink to the highlighted text and reset the cursor properties?

Issue I'm trying to attach a hyperlink to the highlighted text. I found this example: from PyQ…

[FIXED] TypeError: argument 1 has unexpected type 'NoneType'

Issue I try to get data from LineEdit text giving to SQLite but i got below error and i get 1 probl…

[FIXED] How to get return values of Dialog input to the another funtion in PyQt5?

Issue How to get values returned from the QDialog box to the another funtion.Here below code i want…

[FIXED] How to Format a string on a textedit box in QErrorMessage in PyQt5?

Issue How to make a new line on TextEdit Box in QErrorMessage ? and How to trim the blank space in …

[FIXED] PyQt5 QGraphicsView drawing resolution

Issue I'm new to Qt, I am trying to make a paint application using QGraphicsScene and QGraphics…

[FIXED] Why do most PyQt tutorials create classes from widgets?

Issue TLDR why do people create classes (Window for example) when its only going to be used once? …