I made a Layout in QT Designer, I have a QStackedWidget with 2 pages and I would like to know how I can move from page inside the QStackedWidget every 15s witho
I'm struggling to understand the general structure of how to work with PyQt. I want to have my main file class MainWindow(qtw.QMainWindow): def __init__(self, *
Attempting to create a way (using PyQt5 and Python 3) to highlight a multiple line number in the document of the QTextEdit widget. Here is the attempted code be
I want to make a simple start/stop button. But I couldn't get the stop button to work. Can you help me with this? def pressed(self): self.infoL
I have this Qt Designer made main-window: main.py: from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow):
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): ..
I recently updated all Qt packages from Pacman(Arch Linux). After updating I am getting system lookup errors after executing any python code. python: symbol
I have created a tool with help of a custom widget. This widget fits into the main window like so. User can create new instances of custom widget with a click
File: search.py # -*- coding: utf-8 -*- # Form implementation generated from reading ui file '/home/chris/Documents/papinhio-player/ui/menu-3/radio-stations/se
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