Skip to main content

All Questions

Tagged with
0 votes
1 answer
51 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 ...
Isaac M's user avatar
  • 84
0 votes
0 answers
22 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 ...
dund3r's user avatar
  • 1
0 votes
1 answer
44 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 ...
ExUltra's user avatar
0 votes
0 answers
38 views

How to dynamically compose QtCore.Qt.MatchgFlag(s) together rather than hard-coding them

I am trying to write a small app to control FastAPI server's configuration, using a dictionary. Due to the fact that I am using a QTreeView, and would like to create a search box for entering text ...
Hoang Duy Tran's user avatar
0 votes
0 answers
71 views

PyQt5 QWebEngineView Not Displaying Web Pages correctly

I'm attempting to create a simple web browser using PyQt5 on Termux Kali Linux rootless, and I've encountered an issue where the QWebEngineView doesn't display web pages as expected. I've followed the ...
Æmmy's user avatar
  • 21
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: ...
Hosam's user avatar
  • 11
-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) [...
Gabi's user avatar
  • 37
0 votes
0 answers
45 views

PyQt5 Glitch Window Not Staying on Top of Taskbar and Alt-Tab Windows

I'm working on a PyQt5 project where I want to create a "glitch" window that displays images with a glitch effect. The window should stay on top of all other windows, including the taskbar ...
Charlie's user avatar
0 votes
1 answer
66 views

How to design sub frames separately and add them up in main application

I'm trying to design and create my python application with Qt Designer (using PyQt5). My Application happens to have lots of buttons and "sub windows" (frames basically) which is quite ...
Jhon Margalit's user avatar
0 votes
0 answers
31 views

I'm trying to create a rounded windows without title bar, but the windows corners are always sharp

I'm currently working on a PyQt5 application where I have a translucent widget with rounded corners inside a translucent window. However, despite setting the border-radius property for the widget, the ...
Sudharsan R's user avatar
0 votes
1 answer
49 views

How to properly smooth a QPainterPath?

I am working on a Path drawing tool and made a previous post about how I could achieve smoother drawing. I have done some tinkering with cubicTo() and quadTo() but these have really not been much help....
Keller Hydle's user avatar
0 votes
0 answers
13 views

PyQt5 Seg fault when trying to access pyqtBoundSignal [duplicate]

Whenever I try to access a variable set to pyqtBoundSignal(), I get a seg fault. Here's the code: from PyQt5.QtCore import ( Qt, pyqtBoundSignal ) class Controls(QWidget): def __init__(...
Gogani's user avatar
  • 1
0 votes
1 answer
35 views

PyQt 5 application crashes and/or malfunctions for unknown reasons

So, I have a program where there is a list widget filled with items. Upon double-clicking (activation) on the item, a message appears and then the item disappears, and if I click on the "Load!&...
emipy's user avatar
  • 11
-1 votes
1 answer
1k views

Error while installing pyqt-tools on Python 3.12.3

I attempted to install PyQt5 and PyQt6. In both cases, PyQt itself was installed normally, but PyQt-Tools (5 or 6) gave the error "metadata-generation-failed". My Python version is 3.12.3, ...
Yazik72's user avatar
0 votes
0 answers
24 views

Python log both ("tee") to terminal and file, and real-time flushing with PyQt5? [duplicate]

First of all, my platform: $ for ix in "uname -s" "python3 --version"; do echo "$ix: " $($ix); done uname -s: MINGW64_NT-10.0-19045 python3 --version: Python 3.11.9 I ...
sdbbs's user avatar
  • 5,121

15 30 50 per page
1
2 3 4 5
227