All Questions
6,033
questions
0
votes
0
answers
14
views
How to change font size of all QLabel objects PyQt5/PyDM
I wrote a GUI but want to resize the text because the labels in the table are overcrowded (see attachment).
Here is the code that created the screen/GUI:
'''Set up a table to show the coefficients ...
0
votes
1
answer
44
views
How to deselect curve when clicking on background in pyqtgraph
I try to deselect a curve by clicking on the background in a pyqtgraph. So when I click on a curve, it is selecting it and when I click on the background or the curve again, it should deselect it.
If ...
-1
votes
1
answer
51
views
How to margin text in Textedit with Stylesheet on Qt
I have a project that uses PyQt5 to create a GUI. I used StyleSheet to change the widget appearance. Everything is fine but there is only 1 thing
It's not okay. It's about left and center margin of ...
0
votes
0
answers
9
views
How to disable js logging when using QWebEngineView [duplicate]
I am using QWebEngineView in my pyqt app. I am navigating to tradingview website and it is logging lots of errors continuously. This is making it difficult to find my logs in the mix. How can I stop ...
0
votes
0
answers
57
views
Using pyenv python inplace of system default
I am on archlinux and trying to run krita scripter (built-in python console) with a pyenv python version. The system default python version is 3.12, however the script I am running uses python ...
0
votes
0
answers
28
views
PyQt5 - How can I have scaling handles on the selected image [duplicate]
I'm trying to create a basic image viewer with just a few features.
Can add/remove images
Can move/drag images.
Can rotate images
Can scale images
I don't know how to add control handles around a ...
0
votes
0
answers
37
views
Is it possible to add MainWindow in another widget in QtDesigner5?
In my scenario, I want to show the assembly code and some other states of each threads. I hope that they can own their Dock Widgets which hold the thread states.
Here is an example code generated by ...
0
votes
0
answers
47
views
PyQt application issue by changing Windows display scale, or in different resolutions
When changing the display scaling in Windows 11 from 100% to 125% or 150%, the PyQt5 application and its elements (labels, buttons, text, tables, etc.) change size accordingly.
image
While setting the ...
0
votes
0
answers
71
views
Problems installing pyqt6-tools
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [62 lines of output]
pyproject.toml: line 7: using '[tool.sip....
0
votes
0
answers
26
views
Styling is corrupted in an EXE output from building with pyinstaller [duplicate]
I have a python project based on PyQt5 which I build the GUI using PyQt5 Designer. The python file when it is run, there is no issue found.
I build it with pyinstaller using the below command:
...
-1
votes
0
answers
35
views
mmdevice audio output error: cannot initialize COM (error 0x80010106) Pyqt5
I'm trying to play a video as background in my pyqt5 app, but for some reason this odd error is raised:
[000002acf4582320] mmdevice audio output error: cannot initialize COM (error 0x80010106)
[...
1
vote
1
answer
62
views
Hide indicators for QComboBox (qdarkstyle)
I am using qdarkstyle on my PyQt5 GUI, and I am trying to make a widget with internal combo boxes. The items in the combo box all have a square indicator to the left hand side that I want to hide.
I ...
0
votes
2
answers
36
views
How to properly scale thumbnails in my custom list widget?
Problem: I am trying to achieve a thumbnail viewer where each item (i.e. thumbnail and its page number label) are of fixed size. I am trying to scale the images so that they maintain aspect ratio ...
0
votes
0
answers
38
views
PyQt5 override AcceptDrops = False blockade of Drag Events
I've the following code :
main.py :
import sys
from PyQt5.QtWidgets import QApplication, QWidget
from myui_bis import Ui_Form
class MainWidget(QWidget, Ui_Form):
def __init__(self, *...
0
votes
0
answers
59
views
How to make a table in QTextEdit resizable?
I've created a class called CustomTextEdit that derives from QTextEdit. The derived class is going to be used in a larger project and lets users insert tables through a menu action. The problem I ...