[PyQt] Re: Learning path

2009-01-09 Thread Kelie
Doug Nichols gmail.com> writes: > > Actually, Mark, I agree whole heartedly with you.  I bought the rough cuts and started with that and then got the book.  I think it is an extremely well written book for guiding someone through learning pyQt.  Thank you for writing it.Doug i second that. tha

[PyQt] How to detect key combination?

2008-06-11 Thread Kelie
Hello, I'm trying to detect the key combination of CTRL+DOWN for a QLineEdit widget. This is what I've tried, but it doesn't work. def keyPressEvent(self, event): if event.key() == QtCore.Qt.Key_Down and \ int(event.modifiers() & QtCore.Qt.ControlModifier) == QtCore.Qt.ControlMo

[PyQt] Re: Question on QListWidget's selectedItems Method

2008-04-04 Thread Kelie
Anyway, these are the questions I asked. This method returns selected items by the order of user's picking, instead of the original order of these items. For example, if a ListWidget stores a list of ['A', 'B', 'C', 'D'] and when user is prompted to make a selection, if he picks 'D' first, then '

[PyQt] Question on QListWidget's selectedItems Method

2008-04-03 Thread Kelie
Hello group, I asked a couple of questions about PyQt on the CLP mailing list, but didn't get an answer. Can some please take a look? http://groups.google.com/group/comp.lang.python/browse_thread/thread/087d5cacaa3e2bbb/826adf752bb41c7e#826adf752bb41c7e Thank you! ___

[PyQt] How to prevent a QDialog being resized?

2008-04-03 Thread Kelie
Hello, My question is as subject. I tried setMaximumSize, setMaximumHeight, setMaximumWidth, etc. and could not get it right. Thanks. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Re: trouble installing PyQt

2007-04-12 Thread Kelie
Giovanni Bajo develer.com> writes: > Add the Qt binary directory to your PATH. thanks Giovanni. that fixed the problem. ___ PyQt mailing list[EMAIL PROTECTED] http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] trouble installing PyQt

2007-04-11 Thread Kelie
hello, i installed PyQt v4 on winxp but i'm having problem using it. here is what i did: installed MinGW-5.1.3.exe installed qt-win-opensource-4.2.3-mingw.exe; installed PyQt-gpl-4.2-Py2.5-Qt4.2.3.exe; afterwards the PyQt Examples and Demos run fine. but when i typed from PyQt4 import QtGui in p