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

Questions tagged [pyqt]

PyQt is a set of Python v2 and v3 bindings for The Qt Company's Qt application framework and runs on all platforms supported by Qt including Windows, macOS, Linux, iOS and Android

pyqt
0 votes
0 answers
28 views

How can I make a python window allow itself to be recorded, when part of it is off-screen?

In windows 10, most application windows can be recorded using a program like OBS. When the window is dragged such that part of it is not visible on the display, typically, OBS will still receive the ...
frozenwall's user avatar
0 votes
0 answers
17 views

How can the QPixmap scaling be made more efficient

I have been trying to display live generated QPixmaps inside a QLabel at 24fps. This works great when I use the default image size, but when I try to scale the image it take far too long. It takes on ...
Jake_the_camper's user avatar
0 votes
1 answer
29 views

QGraphicsTextItem Centring Issues

I have a QGraphicsTextItem in which I editted the class to allow me to have the text displayed in the centre when a new line is formatted. The current issue I'm facing, is that I can't call the ...
Alex's user avatar
  • 25
0 votes
0 answers
22 views

What is the right method for creating QWidgets in a QMainWindow class [closed]

I am new to using Qt for Python, and following a really long tutorial to expose myself to it (as well as going ahead of the tutorial). While going ahead, i found that after adding a widget as a ...
Emmanuel Beulah's user avatar
0 votes
0 answers
19 views

A bundle of PyQt6 and blender 4.2 window switching

Faced with such a problem. I linked my blender and PyQt6. We even managed to find an example of how to start the process without the main window of the blender hanging. However, when I started to ...
Welet's user avatar
  • 1
0 votes
0 answers
41 views

How to prevent the Windows' "Folder In Use" warning when making changes in File Explorer if the folder is being used by a Python script? [closed]

I have a simple script that shows the content of a directory selected in QListView in QTreeView, and I want to add the functionality to open up File Explorer to let user edit the content inside the ...
waasoop's user avatar
-1 votes
0 answers
33 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
15 views

Stylesheet for custom widget not being applied in PySide6 [duplicate]

I am trying to apply a stylesheet to a custom stylesheet but cannot get the styling to be applied. class FooterButtonsWidget(QWidget): # Footer widget with buttons + icons to other views def ...
nathan-blackburn'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
21 views

PySide How to apply smoothing (antialiasing)?

There is a drawn arrow indicator. Everything works well, but deep irregularities (burrs) remain on the red sectors. How to remove it? from PySide6.QtGui import QPainter, QColor, QPolygon, QPaintEvent, ...
Garp's user avatar
  • 101
0 votes
0 answers
24 views

Delete widget immediately [duplicate]

I know this problem has been already discussed, and I know it has to do with the fact that deleteLater() only is effective after passing again control to the event loop. Here there is my simple code: ...
Ferex's user avatar
  • 575
0 votes
0 answers
21 views

disable ssl_client_socket_impl.cc(975)] handshake failed errors in QWebEngineView

For this little example , from PySide6 import QtCore, QtWidgets, QtWebEngineWidgets # or # from PySide2 import QtCore, QtWidgets, QtWebEngineWidgets class BetterWebView(QtWebEngineWidgets....
iMath's user avatar
  • 2,426
-1 votes
0 answers
38 views

PyQt Application Freezes When Creating GUI Elements [duplicate]

I'm trying to create multiple GUI elements to show the transcript of a video, the issue is that it freezes when creating the GUI as it creates all the GUI such as, QTextEdit, QLineEdit, QPushButtons ...
Alex's user avatar
  • 25
-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
-3 votes
0 answers
21 views

QT6 multi butons change parameters in loop [duplicate]

I apologize for the bad English (translator), I am looking for a solution for a dynamic name for the buttons so that I can go through all the buttons in a cycle and then name them individually ...
Zweistein's user avatar

15 30 50 per page
1
2 3 4 5
1147