Skip to main content

Questions tagged [pyqt6]

Qt6 bindings for Python programming language. This allows programmers to make Qt6 graphical user interfaces using Python syntax.

pyqt6
0 votes
0 answers
9 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
-4 votes
0 answers
20 views

Why I added SubWidget styles, but they don't work, what did I do wrong obviously, can anyone tell me? [closed]

from PyQt6.QtCore import QSize from PyQt6.QtWidgets import QApplication, QMainWindow, QWidget, QPushButton, QLabel, QVBoxLayout, QHBoxLayout import sys class SubWidget(QWidget):     def __init__(...
Danil __B's user avatar
-1 votes
0 answers
30 views

How to avoid real-time plot from freezing due to model prediction (1~2 seconds freezing) in pyqt6

I am doing a GUI for real-time data collection app using pyqt6, in this app I integrate a trained model. The app works fine without this model, however when it is time to do the prediction, the GUI ...
user26416177's user avatar
0 votes
1 answer
30 views

Drag and Drop Widgets within QScrollArea in PyQt6 Not Working Correctly

I'm developing a PyQt6 application where I want to enable drag-and-drop functionality for widgets within a QScrollArea. While the drag-and-drop functionality works initially, it starts behaving ...
DigitalTemplar's user avatar
0 votes
1 answer
36 views

Can I combine multiple QPdfSearchModels into a single one to connect with my QListView?

I would like to employ the QPdfSearchModel to populate a QListView with all results of a search in a pdf. The issue is that the string I am looking for can be with or without spaces. E.g. when I am ...
Robindp's user avatar
1 vote
0 answers
60 views
+200

Catch-up time-lapse buffering and lag issues while working with FFpyplayer frames and QPixmap with a UDP stream in MPEG-TS format

I am trying to build from the code found in this post for my use case. However, I'm having trouble with python FFpyPlayer; with traditional ffplay, I don't have these kinds of issues. When running my ...
kyrlon's user avatar
  • 1,136
0 votes
0 answers
41 views

How to get info about Bluetooth output device latency in Python

I've been making a Python media player, but the audio and video de-synced when using a Bluetooth speaker, and I've been wondering how to get the Bluetooth latency using Python. I am using a MacOS ...
Super Gladiator's user avatar
0 votes
0 answers
24 views

How to Enable Drag-and-Drop to Rearrange Widgets in a QGridLayout in PyQt6?

I have implemented a drag and drop functionality to rearrange widgets in a QHBoxLayout. Below is the code: from PyQt6.QtCore import QMimeData, Qt from PyQt6.QtGui import QDrag, QPixmap from PyQt6....
DigitalTemplar's user avatar
0 votes
1 answer
25 views

Problems displaying a table next to an image in Python and QT6

I have problems displaying a QTableView next to an image (QLabel / QPixmax) in window size. The table as well as the image (original size 600 x 400 pixels) are displayed very small, see attached image....
mepi0011's user avatar
-1 votes
0 answers
39 views

Load a new image (more pixels) into a QPixmap and keep the width and height of the previous image [duplicate]

I load different images at runtime into a QPixmap / QLabel. The pictures have different sizes, but the label width and height should not change (e.g. 500 x 400 px). The loaded pictures should scale ...
mepi0011's user avatar
-1 votes
0 answers
32 views

How to realize a many-to-many (m:n) relationship in two tables with PYQT6 and SQLite

How to display a many-to-many relationship in two QtableViews with PyQT6 and Python? I have a database with a m:n relationship (many-to-many relationship) between the products and components (e.g. UIs,...
mepi0011's user avatar
0 votes
0 answers
24 views

Asynchronous communication between 2 QThreads

I'm working on optimizing a PyQt application (to control tensile testing machine) that's sometimes slow. The application uses two QThreads, both running in a loop with time.sleep inside. One QThread (...
Vittor's user avatar
  • 9
0 votes
0 answers
52 views

Why is the position of the circles incorrect? [duplicate]

I am trying to use PyQt6 to design a program that draws a red circle at the position where the user clicks. However, when I click on the image in the window, the circle is not drawn exactly where I ...
Frank Xie's user avatar
1 vote
1 answer
66 views

PyQt6, related QComboBoxes in a QSqlRelationalDelegate

Suppose that in a QSqlRelationalDelegate we have two relation columns, country and city. The city table has a country_id field. By overriding the setEditorData method of QSqlRelationalDelegate, I'm ...
Minas Lyrakis's user avatar
0 votes
0 answers
27 views

Assigning my custom class to an object/widget from a .ui file [duplicate]

Writing my 1st code in python, how can I create an instance of a class of my own and assign it to an object/widget from a .ui file? Something like this: import sys from PyQt6.uic import loadUi from ...
eli's user avatar
  • 29

15 30 50 per page
1
2 3 4 5
61