I am currently trying to separate my PyQT5-GUI from my serial communication to prevent a freezing GUI. Therefore, I tried to implement threading. So when I am p
I've generated (pyuic5) ui_mainwindow.py file from .ui file made in Qt Designer: from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): d
So far, I have the following code: p1 = QGraphicsWidget(self.scene.addItem(QGraphicsPixmapItem(self.pixmap))) p2 = QGraphicsWidget(self.scene.addItem(QGraphic
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
A program I am trying to install requires the installation of PyQt5 5.15.0 , which gives me this error. The odd thing is that the installation works fine for th
I revised the whole question because the behavior I want is hard to implement and actually use. I'm trying to imitate the behavior in the File Explorer where wh
I want to the corners to be rounded and hover for a QPushButton in Qt designer. Changing the style sheet has no effect. What am doing wrong? QPushButton#pus
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 am very new to pyqt5 and trying to figure out how to replicate the following idea. Load an image. Draw MOVEABLE rectangle(s) on top. -- by Moveable, I mean r
I'd like to make a very simple PyQt5 panel, something a little like a very simple version of the MATE panel. In order for it to work as a panel, other windows o
I have some Python code which sets a cookie like this: loader = QtWebEngineWidgets.QWebEngineView() profile = QtWebEngineWidgets.QWebEngineProfile("storage", lo
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
Rather than a long speech, if we run the minimum example below: $ python3 Python 3.7.6 (default, Jan 30 2020, 09:44:41) [GCC 9.2.1 20190827 (Red Hat 9.2.1-1)]
from selenium import webdriver from selenium.webdriver.chrome.service import Service from webdriver_manager.chrome import ChromeDriverManager from selenium.webd
I used Python+pyqt+QWebEngineView to write a simple browser, but when I browse google earth, it shows Aw snap!, what is the reason? How can I improve it? I use
I found an example to set borders on a frameless window, however it's not draggable. How can I make a frameless window draggable? Especially if I can see an ex
I wanted to create an app to download ms store app, it ran fine untill today now when i try to open the site (https://apps.microsoft.com/) pyqt5 window crashes
I am creating some unit tests for a PyQt application with pytest-qt. And I would like to create open the graphical window, do some tests then close the window,
I have coded out a small application using PyQt5 . The application gives a tree view of all folders in the computer : import sys from PyQt5.QtWidgets import