Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [pyqt5]

Qt 5 bindings for Python programming. This allows programmer to make Qt 5 graphical user interfaces using Python syntax.

pyqt5
0 votes
0 answers
7 views

How to update slider simultaneously in pyqt5

I am making a music player and want to update the slider after every one second for this I am using threading module but whenever I run the file the application stops responding below is the code for ...
Zid's user avatar
  • 1
0 votes
0 answers
12 views

Creating a custom menu in Scribus using PyQt5, when we execute script in Scribus it gives ImportError: No module names PyQt5.QtWidgets

PyQt5 is showing installed properly in Windows Command Prompt, but in scribus it says No module found. Someone who has experience using PyQt5 in scribus please help import scribus import sys from ...
Abi San's user avatar
0 votes
1 answer
9 views

How can you capture a screenshot of any window using Python on Wayland?

For context I have a PyQt5 widget with a single button that let's me select a region of the screen to capture. I can use pillow and mss to capture stuff on X11 like so def take_screenshot(self, x1, y1,...
Vanillaice's user avatar
0 votes
0 answers
23 views

pip install pyqt5 (no traceback just "Killed")

I'm trying to install PyQtWebEngine on an Ubuntu 22.0 ARM VM running under UTF on a MacBook M3 Max. I've searched multiple stack overflow and other pages and I'm stuck. What I've done: pip install --...
codegen's user avatar
  • 118
1 vote
0 answers
19 views

a shortcut file in QTreeView and QFileSystemModel-Python

I encounter a problem using Qtreeview and QFilesystemModel in Pyqt5 with Python Ver3.12. a shortcut file will be shown as a target folder in the Qtreeview. so if I would like to select this shortcut ...
robin's user avatar
  • 11
-1 votes
0 answers
34 views

PyQt5: QWindow::fromWinId(): platform plugin does not support foreign windows for a Open3D window

For some reason PyQt5 is unable to capture the Open3D window and outputting the following error: QWindow::fromWinId(): platform plugin does not support foreign windows. QWindowContainer: embedded ...
Yusuf Ziya Güleray's user avatar
0 votes
0 answers
10 views

Solving Error: TLS initialization failed on PySide2

When i use QNetworkAccessManager and QNetworkRequest it gives Error: TLS initialization failed . I researched on internet and learned that i must install OpenSSL. Then i install OpenSSL3.3.1 and add....
makalidap's user avatar
0 votes
0 answers
29 views

Modify UI via a lot of other threads than the main thread

I am developing a program that downloads comics from a website. The program has a search engine that allows users to search. Each time a letter is typed, a GET request is sent to the site, and the ...
makalidap's user avatar
0 votes
0 answers
14 views

can't show mpf.plot graph

when i draw graph by axes.plot(x_data, y_data, label='Close Price', color='r'), my program draw graph. but, when i draw a graph by mpf.plot, my program can't draw graph. i could not receive any error ...
Monitor's user avatar
-2 votes
0 answers
43 views

Calling a script from __main__ doesn't give the expected result [closed]

What you see below is my situation. index.py ... def hourSplitted(self): self.splitlhour = SplitApp() ... monthly_report.py class SplitApp(QMainWindow): def __init__(self): ...
Ryan Day's user avatar
  • 121
-2 votes
0 answers
35 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 ...
user26436808's user avatar
0 votes
1 answer
47 views

Cleaner methods for creating multi-variable animations in PyQt5 (css)?

I recently came across an example code for animating a widget using QVariantAnimation, the QVariantAnimation has a start and end point, and the calculated value is injected into the css of the button ...
bfh47's user avatar
  • 15
1 vote
0 answers
24 views

PyQt5 QTimeEdit but with start and end time

Is it possible to create some kind of QTimeEdit but with a start and end time, something like HH:mm - HH:mm? I want to put it in a table just like the QTimeEdit. I already tried to set the format of a ...
Zenn De Craene's user avatar
0 votes
0 answers
24 views

QWebEngineView not rendering pydeck html

I am currently trying to open an html file generated with pydeck in a Pyqt5 webview window. I can open it on my browser (firefox, if that's relevant) and it works correctly. However, if I try to open ...
Luis Manuel's user avatar
-1 votes
1 answer
54 views

Create TimeLine field with PyQt5

I need to develop a program to enter time reports. What I do is very similar to time graphics. I was only able to implement scaling, shuffling and pseudo-infinity fields. The main task is to somehow ...
Code725's user avatar

15 30 50 per page
1
2 3 4 5
987