34
votes
7answers
15k views
Threading in a PyQt application: Use Qt threads or Python threads?
I'm writing a GUI application that regularly retrieves data through a web connection. Since this retrieval takes a while, this causes the UI to be unresponsive during the retrieval process (it cannot ...
6
votes
2answers
971 views
How can I hide the console window in a PyQt app running on Windows?
Surely this is possible? I have been hunting through PyQt tutorials and documentation but cannot find the answer to it. Probably I just need to phrase my search query differently.
[Edit]
Thanks PEZ ...
14
votes
7answers
5k views
How to embed a Python interpreter in a PyQT widget
I want to be able to bring up an interactive python terminal from my python application. Some, but not all, variables in my program needs to be exposed to the interpreter.
Currently I use a ...
14
votes
5answers
1k views
Should wildcard import be avoided?
I'm using PyQt and am running into this issue. If my import statements are:
from PyQt4.QtCore import *
from PyQt4.QtGui import *
then pylint gives hundreds of "Unused import" warnings. I'm ...
13
votes
2answers
4k views
Quick and easy: trayicon with python?
I'd just need a quick example on how to easily put an icon with python on my systray. This means: I run the program, no window shows up, just a tray icon (I've got a png file) shows up in the systray ...
10
votes
3answers
2k views
Using Windows 7 taskbar features in PyQt
I am looking for information on the integration of some of the new Windows 7 taskbar features into my PyQt applications.
Specifically if there already exists the possibility to use the new progress ...
10
votes
3answers
10k views
PyQt: Show menu in a system tray application
First of all, I'm an experienced C programmer but new to python. I want to create a simple application in python using pyqt. Let's imagine this application it is as simple as when it is run it has to ...
4
votes
2answers
2k views
How to capture output of Python's interpreter and show in a Text widget?
I have a program in Python with PyQt, designed to run on Windows.
This program makes a lot of operations and prints a lot of info.
But as I want to freeze it and don't want the prompt screen to ...
16
votes
5answers
16k views
Linking a qtDesigner .ui file to python/pyqt?
So if I go into QtDesigner and build a UI, it'll be saved as a .ui file. How can I make this as a python file or use this in python?
3
votes
1answer
5k views
Background thread with QThread in PyQt
I have a program which interfaces with a radio I am using via a gui I wrote in PyQt. Obviously one of the main functions of the radio is to transmit data, but to do this continuously, I have to loop ...
7
votes
3answers
3k views
Getting realtime output from ffmpeg to be used in progress bar (PyQt4, stdout)
I've looked at a number of questions but still can't quite figure this out. I'm using PyQt, and am hoping to run ffmpeg -i file.mp4 file.avi and get the output as it streams so I can create a ...
12
votes
2answers
2k views
multiprocessing problem [pyqt, py2exe]
I am writing a GUI program using PyQt4.
There is a button in my main window
and by clicking this button.
I hope to launch a background process
which is an instance of a class derived
from ...
2
votes
5answers
3k views
Matplotlib animation either freezes after a few frames or just doesn't work
I've been trying for hours to get this simple script working, but nothing I do seems to help. It's a slight modification of the most basic animated plot sample code from the Matplotlib website, that ...
110
votes
8answers
32k views
PySide vs. PyQt? [closed]
Has anyone tried the new Python Qt binding - PySide yet?
I wonder about its matureness and compatibility with PyQt. What are your experiences on this matter? I know it has only been released this ...
5
votes
4answers
4k views
Starting Python and PyQt - Tutorials, Books, general approaches
After doing web development (php/js) for the last few years i thought it is about time to also have a look at something different. I thought it may be always good to have look of different areas in ...