I have a simple PyQT application which, on press of a "calculate" button calls a long-running function that performs some image processing using OpenCV. To allo
I would like my python3 script to react to an open file event. Is there any way to achieve that? The following python3 script is named example #!/path/to/python
I have a set of functions that when they run can take a few minutes to finish. I want to display a progress bar while they are running. I have
I'm trying to test if a shortcut is working using PyQt5 and QTest. Here is my code: Main.py from PyQt5.QtGui import QKeySequence from PyQt5.QtWidgets import QWi
I'm trying to print some text in a new layout when a button is pressed. Unfortunately if won't work and I can't find the problem to solve it. Thank you for your
This is the test code about QThread and Signal. from PyQt5.QtWidgets import * from PyQt5.QtCore import * import time import sys class Thread1(QThread): se
I made this window using qt designer i did not add the code that downloads the songs yet but when I run it the window doest show up from PyQt5 import QtCore, Qt
I created a QStacedLayout and nested 2 widgets in it. However, as I understand it, if one widget is larger than the other, then QStackedLayout seems to be tryin
How could I allow a dock widget to be over other widgets? I would like to get a result like the tool bar of a IDE such as VSC or PyCharm. The bar can be resized
basically I am having trouble with Updating my new GUI. Windows 10 | Python 3.8 | PyQt5 I got a class like class My_GUI(): def __init__(self): ..
Problem I promoted a widget in Qt Designer and it worked, the problem is that when I run the program, it doesn't show the children of this widget that I created
I'm trying to adapt this PyQt implementation of FlowLayout to allow vertical flow as well as horizontal. This is my current implementation: from PyQt5.QtWidget
I am trying to insert a data set into a QTableWidget using PyQt. However, when I use tableWidget.setItem() my IDE crashes. usuarios = db.child("operacoe
I was working on a function that should count the total amount of e-mails that are in the inbox. everything works but it just doesn't want to count it all up. I
I found the icon of QPushButon is blurry when DPI scaling is enabled. Even if replaced by SVG, the icon is still blurred. Is there any way to make the icon clea
I have a python code like below import sys from PyQt5 import QtWidgets, QtWebEngineWidgets from PyQt5.QtNetwork import QNetworkCookie from PyQt5.QtCore import Q
I've been trying to use QTreeView (instead of QListView) because I needed an horizontal header. Furthermore, I wanted to use stylesheet to customize header colo
I was wondering how I can return the text value, and index of a selected item in a QTreeView. I tried using: self.TreeView.selectedIndexes() but that returns
I am trying to convert ui file created by QTDesigner to py file. but i get the error: pyuic5 is not recognized as an internal or external command. I use anacond
I developed a simple dialog with a checkbox, which allows the user to select one or several items from a list. Besides the standard OK and Cancel buttons, it ad