Hi
I'm having a problem with QComboBox not allowing me to change the edit
text to anything existing item of differing case.
Example code is below. What I'd like to do is enter 'one' into a combo
box already containing the item 'One' without the side effect of the
text being changed to 'One'. Currently it's changed back to 'One' as...
I am using PyQt4, but this is general enough that it could just apply to QT.
I have a series of QComboBoxes that I fill from left to right (i.e. selecting an item in the leftmost will populate the next one. Selecting an item in that one will populate the next, and so on)
I am having difficulty getting my signals to fire under all situa...
Hi everyone
I'm designing a GUI with pyQt where i need that when i click a button that makes the plot of the function already created in my python scripts it will show the matplotlib/pylab window.
It's like a runtime used in Matlab. I want to keep the matplotlib/pylab window as my window everytime i press that button.
Any help is wel...
I am running Ubuntu 10.04 Lucid and am developing a application in QT using Python. Today I tried to create a database binding to a SQLite database via QtSQL.QAddDatabase and got the following error:
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
So obviously I don't have the SQLite driver...ho...
What is the most used of these library and why ?
What are the differences ?
...
C++ is fast. Qt is fast. Python interpreter startup is relatively fast (2-3 seconds on my computer). PyQt is thin wrapper around Qt. Why then PyQt app startup (about 80 lines, even in .pyc form) is so slow (6-12 seconds)? I'm interested in reasons for this and, most importantly, ways to improve this situation.
...
Hi all,
I have a regular QListWidget with couple of signals and slots hookedup. Everything works as I expect. I can update, retrieve, clear etc.
But the UI wont support multiple selections.
How do I 'enable' multiple selections for QListWidget? My limited experience with PyQt tells me I need to create a custom QListWidget by subclassi...
hello
i have a QtableView that has a QsqlTableModel. i want my model to check for the changes when a user hit (refresh button) but i can't find a way to update data.
i tried model.reset() and model.update() but they didn't work for me .
i've been trying to find a solution for a couple of days
is it possible in anyway to re-read from d...
I've created two uis using the Qt Designer, imported them into my script and set them in the normal way using the setupUi() method. When a button is clicked, and the appropriate method is executed, the new ui is loaded, but all of the widgets and connections from the old one persist.
What is the proper way to remove the connections and ...
I'm just learning PyQt and looking at the Signals and Slots mechanism. I'm a bit baffled by the verbose syntax. Why do we have:
self.connect(dial, SIGNAL("valueChanged(int)"), spinbox.setValue)
I would much prefer to write the following:
self.connect(dial.valueChanged, spinbox.setValue)
Can anyone tell me why the connect() syntax n...
I have a system with two HID keyboards (actually, one's a barcode scanner.)
I registered for raw input with RIDEV_NOLEGACY to block the system from creating WM_KEY* messages for the barcode scanner, which tediously also blocks the messages from the other keyboard.
My goal is to keep the WM_* messages for any keybaord device that isn't ...
Hi everyone,
hope someone of you can help me. I'm new to mac and qt, so please forgive me if I ask some dumb questions. So to the problem. I want to install PyQt 4.8 on the macbook (Mac OS X 10.6.4).
First I installed Qt 4.7 like in this description http://doc.trolltech.com/4.7/install-mac.html. Then I installed sip 4.11.2 (without --...
What is the most popular GUI library for Python in Windows ?
...