All Questions
2,114 questions
0
votes
1
answer
44
views
Python PyQt5 hanging and exiting console when run twice
I was given the code below, which runs great as a standalone script.
What I'm trying to do is turn that standalone script into a function that I can run as many times as I need to.
I've done that, and ...
0
votes
0
answers
24
views
EXE build using pyinstaller crashes during usage (PyQt5 app)
The structure of my project directory is as follows:
--data
-device_index.json
-settings.json
--reports
--ui
--tests
--utilities
-app.py
I am trying to use pyinstaller to build an exe for this ...
0
votes
0
answers
39
views
How can I set QWebEngineView as non clickable, but scrollable?
I'm trying to use QWebEngineView to create an interface with Python that will show a webpage that shows the progress of something (not relevant here).
The user should only be able to scroll (the page ...
0
votes
0
answers
32
views
use subprocess. Popen module and use pyinstaller to package as an executable when multiple window interfaces appear [duplicate]
When you use subprocess.Popen to call a child process to execute a Python script, it is executed normally in PyCharm. However, when it is packaged as an executable (.exe), the main interface window is ...
0
votes
1
answer
66
views
Problems with PyQt5
I try to change my Sankey Diagram Generator GUI from Tkinter to PyQt5. I try to go by documentation and bit of experimentation but can't find why some things are happening.
The code is divided into ...
0
votes
0
answers
72
views
How to get rid of the extra corner on the right bottom of QComboBox with PyQt?
I am working on a combobox with PyQt. I am expecting to have round corners on the dropdown. Here is what it looks like now:
As it shows, there is a white corner with 0 radius on the bottom right. ...
0
votes
1
answer
132
views
Getting and Setting the values of PyQT Widgets that have been dynamically created
I am trying to create a settings page for my application that takes a dictionary list of settings and automatically builds the configurable list of settings. The issue I am running into is what is the ...
0
votes
1
answer
70
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
1
answer
77
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
0
answers
97
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 ...
0
votes
0
answers
36
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:
...
0
votes
0
answers
67
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 ...
0
votes
1
answer
77
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 ...
0
votes
1
answer
41
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!&...
1
vote
1
answer
6k
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, ...