Skip to main content

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
14 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
-2 votes
0 answers
18 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
0 votes
1 answer
53 views

Is there a way to convert latex to pdf only with python? (without having to locally install anything) [duplicate]

I am building a mathematical software with PyQt, and I would like to provide the users with a result written in LaTex and also the compiled version of it in PDF. However, I can't find a way to do so. ...
Lavínia Beghini's user avatar
0 votes
0 answers
27 views

PyInstaller not including image and sounds files

I am trying to make an executable file with PyInstaller that includes two images and two mp3 files. All of my files are in the same directory as my main.py. Here is what I am putting into the cmd: ...
Samuel Williams's user avatar
0 votes
0 answers
27 views

How to make UI to stay on top of the main UI in Maya

I'm currently writing a script in Python and using Qt to make UI. The issue that I'm encountering is probably trivial, but the answer available online is not helping. I want to make the UI window of ...
Valeriya Fedoseeva's user avatar
0 votes
1 answer
34 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
-2 votes
0 answers
35 views

Problem importing qt Designer widgets into Python [closed]

I used qt designer to design my user interface. From kled widgets (I think it's kde extension probably called kf5) and some other things. Now, when I converted the .ui file to .py for use, Python ...
Jafar Farganlooj's user avatar
1 vote
1 answer
35 views

Prevent Flickering in PyQT when add and remove QDockWidgets on QMainWindow

I have a QMainWindow where I want to “add” & "remove" QDockWidgets with some matplotlib content. Task: Each new added QDockWidget should initially have content of certain width. Let’s ...
DDV's user avatar
  • 13
0 votes
1 answer
20 views

I added LoadBar in my PySide6 GUI Program but it seems to be going on infinitely

So I added a loading bar for some tasks but it goes on infinitely long while without using it I can get the results in under 10 seconds. So this is my loading bar class which I am using right now ...
Levi's user avatar
  • 19
-2 votes
0 answers
46 views

How to use parmap in a class? [closed]

import sys import numpy as np import parmap import multiprocessing from PyQt5 import uic from PyQt5.QtWidgets import * from PIL import Image form_class = uic.loadUiType('color_change.ui')[0] class ...
J.Shim's user avatar
  • 77
0 votes
0 answers
40 views

Is there solution to python not responding when using udp in pyqt gui [closed]

I have a gui application in which I am showing video using udp.If my udp_server.py is running it will start streaming camera video. I was testing different functionalities and found multiple ...
inam_1611's user avatar
2 votes
1 answer
27 views

How to set the default colour of a PyQtGraph ImageView's Histogram LUT?

PyQtGraph's ImageView widget includes a histogram with: a moveable region that defines dark and light levels. as well as the ability to edit a colour gradient. These two features allow users to edit/...
Kyle F. Hartzenberg'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
1 answer
44 views

How to deselect curve when clicking on background in pyqtgraph

I try to deselect a curve by clicking on the background in a pyqtgraph. So when I click on a curve, it is selecting it and when I click on the background or the curve again, it should deselect it. If ...
Souleater's user avatar
0 votes
0 answers
29 views

Pyside (pyqt) how to control UI through qthread? what is the correct way for my example [duplicate]

I'm creating a program in pyside, where most of the functions will be linked through threads, as they are time-consuming functions. and the interface should work. but I need to have control of some UI ...
Lucas Feix's user avatar

15 30 50 per page
1
2 3 4 5
1147