Questions tagged [pyqt5]
Qt 5 bindings for Python programming. This allows programmer to make Qt 5 graphical user interfaces using Python syntax.
pyqt5
14,795
questions
0
votes
0
answers
14
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
vote
3
answers
34
views
Prevent root items from being dropped onto another root item in PyQt5 QTreeView
I'm working on a PyQt5 application where I have a QTreeView populated with a QStandardItemModel. The root items present documents and the child sections within the document. So they should not be ...
-1
votes
0
answers
24
views
I want a Combox not the right top corner inside a QGraphicsRectItem [duplicate]
I have a condition where I want a comboBox inside the Rectangle user drawings. For the user to select which sort of object it is.
Below diagram should give you a better understanding
This is my ...
-2
votes
0
answers
19
views
I want to view 3d images in PyQt5 but im unable to do that
QSocketNotifier: Can only be used with threads started with QThread
Initializing UI
Connecting to database
Creating table
Loading models
Viewing CAD image for ID: 1
Displaying 3D image from path: ...
1
vote
1
answer
47
views
Creating a nuance-styled button with css in pyqt5
I came across a button style which I like, I wanted to recreate it for use in pyqt5, using the QPushButton class, and styling it with css. If I can recreate it, I can change it's colours in cool ways.
...
1
vote
0
answers
34
views
PyQT5 VTK Mouse Button Event Mismatch
I am using PyQT5 and VTK for displaying information, and have been using observers to register mouse click events through the interactor style. For some reason, when multiple buttons are clicked, the ...
0
votes
0
answers
32
views
PyQt5 shows white border while displaying image in full screen [duplicate]
I'm using PyQt5 to build a UI for my computer vision app. The app has six pages, and on the fourth page, I receive video frames from a backend thread that runs when the app reaches this page. However, ...
0
votes
1
answer
48
views
'Module {Module_Name} not installed' when running python script using PyQt5
I am trying to build a UI using PyQt5 and python. I built a base using main.qml and some styled qml files in the same directory and it imported fine, but I decided to break everything up into folders ...
0
votes
0
answers
17
views
How to connect a single NavigationToolbar to 2 Canvases (Matplotlib + PyQt5)
I am working on PyQt application that displays 2 FigureCanvasQTAgg inside of a QWidget. Currently, they are both linked to separate NavigationToolbar2QT objects but I would like to be able to control ...
-1
votes
1
answer
47
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
1
answer
40
views
Automatically expanding and contracting `QTextEdit` for PyQt5
I'm trying to create a custom QTextEdit widget in PyQt5 that automatically expands and contracts based on its content. The widget should grow in height as the user types new lines and shrink when ...
0
votes
1
answer
75
views
Unable to execute batch file by Python program
I have a WORKING batch file that I want to execute by my Python program. here is the portion of program related to that task:
def execute_batch_file(self):
batch_file_path = r'C:\Users\UTENTE\...
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
33
views
PyQt window for python-vlc not possible
I tried litarely every code I found on the internet to start a python-vlc player instance in a window frame made with PyQt but it's no working. The vlc player starts in a new window instead of taking ...
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 ...