Please consider the following code: from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * class Gallery(QScrollArea): def __init__(self, *args, **kwargs): …
Please consider the following code: from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * class Gallery(QScrollArea): def __init__(self, *args, **kwargs): …
I want to use multiple imported function with arguments that takes some while to run. I want a ‘working’ progress bar that track the processes of that function. I have followed 2 questions already …
The documentation for QFileDialog.getOpenFileName does not provide any clue on how to filter only executables using a const QString &filter = QString(). Here’s the code for my action using PyQt5: …
I am using PyQt 5 for a GUI app, and I am having a threading issue. There is a close button and once it is clidked, a QTimer starts and then it waits in a while loop that is conditioned on a value of …
I’m trying to have a timer going that I can use to update values in multiple windows with pyqt5. What I have so far, the main window opens with buttons to open the other windows, but when I press …
I am creating a desktop app using PyQt5 and QtDesginer. I have a login page connected to a database, and the user is asked to enter username and password. In the designer, I created a window that …
Background and Issue I am trying to process streaming data from a camera. Python keeps crashing with this message though: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) The …
How do I get and store the value that is written in a QLineEdit as well as close the widget after I click save? I have looked over the PyQt5 documentation and it says the function .text() will give …
I’m using latest PyQt5 5.12.2 and I’m getting a weird message for every JPG picture that I’m showing in my script using QPixmap or QIcon. qt.gui.icc: fromIccProfile: failed minimal tag size sanity It …
I try to have a rect which moves with the mouse pointer. However, I seem to have a problem with calling the paint method. It either doesn’t draw or creates artifacts. The only clean picture I get is …