0
votes
1answer
10 views
QProcess output after closeWriteChannel
Couldnt find it anywhere. How can I run two commands and see output.
something like this:
process.write('myVar = 2')
process.write('print myVar')
and see output of each my command
if I do ...
0
votes
0answers
19 views
PyQt 4: Making a label scrollable
After going through "Introduction to Python Programming and Developing GUI Applications with PyQt", I'm still left totally clueless how to do the most basic things :(
For instance, all I want to do ...
0
votes
0answers
13 views
Embedding a TinyMCE editor in PyQT QWebkit
as the question states, I wish to embed a tinymce editor in a PyQT webkit component.
As far as I understand, evaluateJavascript allows for js functions to be called.
However, when I try loading ...
2
votes
1answer
32 views
How to get a the actual keyname from hardware key-number/scancode in pure python OR: How to bind the key left of the [1] to a shortcut in Qt
My final goal is to bind the key left of the [1] key to a shortcut in pyqt, no matter what keyboard layout (qwerty, qwertz, azerty...). That is not supported by qt directly.
So either I am looking ...
0
votes
2answers
74 views
Very basic OO: changing attribute of a method
I'm certain this has been asked a million times, but it's difficult to search for something when you don't know the correct terminology :(
I'm attempting (again... I've never understood OO, since I ...
0
votes
0answers
14 views
PyQT application: why listeners doesnt work on Windows?
I create a Pyqt application with QtCreator.
It works good on linux without problems, but now, when i try to test it on an windows 7: the main dialog appears, but all slot and listener don't works ...
2
votes
1answer
37 views
Plotting large arrays in pyqtgraph
For an electrophysiology data analysis set I need to plot a large 2D array (dim approx 20.000 x 120) of points. I used to embed a Matplotlib widget in my PyQt application, but went looking for other ...
0
votes
1answer
23 views
When closing QItemdelegate editor shifts item to right
I have a QTableview and QItem delegate set to it, the editor is a QCombobox which I reimplemented, because I wanted to modify its keyPressEvent. because if I press down key when the qcombobox editor ...
0
votes
1answer
21 views
Changing the title bar on a Python window
I'm looking to edit the title bar in a python window. I have compiled multiple different python widgets into one window using a main.py to get the ball rolling. I feel like I should add a piece of ...
0
votes
0answers
23 views
Is storing pyQT widgets in a list bad form?
So I am building I program that manages a bunch of custom slider widgets. Currently, I have a slider_container(class) that holds a list of slider objects(class). These slider objects are then inserted ...
0
votes
1answer
17 views
pyqt - combobox item enabling/disabling line_edit item based on state
I'm trying to have a combobox enable/disable a line_edit item based on the current option selected in the combobox/state of the combobox.
This is the closest I've gotten so far
...
0
votes
0answers
11 views
How to trace every signal emit /connect for debug purpose?
I've got a bug in my "app" (a Qgis 1.7.4 plugin so written for python 2.7) and it's clearly signal/slot related.
So, I've found this
It's wonderful and work great... but only for old signal/slot, ...
0
votes
1answer
11 views
PyQt Clear the menubar
Is there a quick way to clear the menu bar i.e. Remove all menus in PyQt.
The reason I ask is that I am developing a modular application. Each module provides it's own menus and gives a weighting to ...
0
votes
0answers
13 views
Trouble disabling buttons in PYQT4
Hi I have a GUI from with select a file to be processed.
When he click "process" I want the buttons ("quit" and "process") to be disable. I've tried " self.Qbtn.setEnabled(False) ", nut it doesn't ...
0
votes
0answers
12 views
How do I return a local file to a pyqt webkit intance via ajax?
There seem to be a lot of wiki pages and things about this (eg. http://www.diotavelli.net/PyQtWiki/Using%20a%20Custom%20Protocol%20with%20QtWebKit) but frustratingly none of them seem to actually ...