All Questions
Tagged with pyqt5 user-interface
633
questions
0
votes
1
answer
17
views
PyQt5 with QSpliter and multi-level tabs
I'm struggling with proper layout of tabs in my GUI. As you can see, the QFrame in righthand side of splitter is not spanning the whole window - I suspect it is happening because it is not added to ...
0
votes
0
answers
32
views
How to change background-color of QPushButton in PyQtDarkTheme
I'm trying to change the background-color of my QPushButtons in PyQtDarkTheme, but it just doesn't work.
My real project i'm working on.
I've tried it like this, changing the text-color or ...
0
votes
1
answer
55
views
Do I need to manually disconnect signals if I am going to call deleteLater on a PyQt widget?
I have a QMainWidnow that spawns a number of different dialog boxes, I have been manually disconnecting all the signals before deleting the dialogs. Is this necessary, or are they cleaned up by the ...
0
votes
0
answers
13
views
PyQt5 Seg fault when trying to access pyqtBoundSignal [duplicate]
Whenever I try to access a variable set to pyqtBoundSignal(), I get a seg fault.
Here's the code:
from PyQt5.QtCore import (
Qt,
pyqtBoundSignal
)
class Controls(QWidget):
def __init__(...
2
votes
2
answers
98
views
How to Drag QLineEdit form one cell of QGridLayout to other cell in pyqt?
I have gridlayout with four cells (0,0),(0,1),(1,0),(1,1). Every cell is vertical layout with scrollbar. Initially only (0,0) cell contains QLineEdit in it. I want to drag and drop them in any one of ...
0
votes
0
answers
21
views
Customize QLineEdit
I want to modify QCompleter's default Behaviour of updating suggestions into Qlineedit, I want instead of updating it on Qlineedit it passes that value to a function and then removes all special ...
0
votes
0
answers
15
views
Rotating QGraphicsLineItems around a circle and not a point
So, I have a scene with two graphics circles, and a custom line item. I created two line items, where a boolean “foo” is passed in to determine how to separate the lines, as I want the circles ...
1
vote
1
answer
44
views
PyQt5: How to center QDialog inside centralwidget of QMainWindow
I have a QMainWindow like this:
In the top of the window there is title bar (default windows behavior) with the title the program icon and the minimize, maximize and close buttons.
After there is a ...
0
votes
0
answers
40
views
PyQT5 sizing issue with QTableView and QGridLayout
I built a GUI program that has outputs on single line tables, and I recently updated it using QGridLayout to make it dynamically adjust to different system scalings.
The issue I'm having is the pandas ...
0
votes
0
answers
72
views
Making a Matplotlib table interactive using PyQt
I have a project which is to make a chemistry periodic table using matplotlib and making it user-interactive using PyQt. The interactivity would be: when a cell/element is clicked on, more information ...
0
votes
0
answers
34
views
How do you get pyqtSignal to properly emit a signal that the rpyc service has been turned on?
I have two widgets that are in two separate python files. They are:
A) temperature_service: acts as the rpyc service that turns off and on the service and encodes the instructions for the tasks my ...
0
votes
0
answers
38
views
Why is my update_values not receiving the signal from starting the service?
I am creating a GUI using pyqt5 and rpyc. I have two widgets that are in two separate python files:
powersupply_service which essentially turns on the service for other widgets to connect to.
from ...
0
votes
0
answers
52
views
PyQt5 GUI freezes when plugging in a USB sound card and operating the GUI at the same time
I have a strange behaviour on my PyQt5 GUI running on my raspberry Pi. Every time I plug in a USB device to my Raspberry and operate one of the labels, sliders, etc. my GUI seems to freeze.
The GUI ...
0
votes
0
answers
25
views
Buffer video frames and display on PyQt5 GUI with multiprocessing: window never displays an image [duplicate]
My project involves capturing frames from a camera, making inferences on these frames using a trained DL model, and displaying the image with inference information on a GUI. In order to address the ...
0
votes
0
answers
47
views
PyQt5 Gui Freezes
import sys
from PyQt5 import QtWidgets
from tablo import Ui_MainWindow
from PyQt5.QtWidgets import QMessageBox, QVBoxLayout
from PyQt5.QtCore import QThread, pyqtSignal, QDate, QUrl, Qt, QTimer
from ...