I did this time:
def keyPressEvent(self, event):
if event.key() == QtCore.Qt.Key_Escape:
self.hide()
if event.key() == QtCore.Qt.Key_Alt + QtCore.Qt.Key_Escape:
self.hide()
Esc key only, hides the app.
Alt + Esc does not, it just
But this method is applied when you have a Menu bar right? Which i do
NOT use.
I just want the key combination Alt+Esc to hide my app.
Examples please?
Thanks.
Sundance escribió:
Gustavo A. Díaz wrote:
As i said, only Escape key.
I want to know to do the same but with al
Hi! I have problems when i try to get values from sql query. I have record
in database but when i do the code below i recived None objects..., I'm
using mysql-server5.0, Qt4.3 and PyQt4.3 Can anybody check it?
thank's!
Martin Alderete
self.manager = QtSql.QSqlDatabase("QMYSQL")
self.manage
On Wednesday 22 August 2007 13:49, Devon wrote:
> Hi, folks -
>
> Here is a dummy version of a derived tree widget:
>
>
> class MyTreeWidget(QTreeWidget):
> def __init__(self, parent=None):
> QTreeWidget.__init__(self, parent)
>
> def paintEvent(self, e)
Hi, folks -
Here is a dummy version of a derived tree widget:
class MyTreeWidget(QTreeWidget):
def __init__(self, parent=None):
QTreeWidget.__init__(self, parent)
def paintEvent(self, e):
QTreeWidget.paintEvent(self, e)
painter = QPain
Gustavo A. Díaz wrote:
> As i said, only Escape key.
>
> I want to know to do the same but with alt + Escape... or which
> is the way to do it...
Hi Gustavo,
I am not sure I understand what it is that gives you trouble here. Is it
that you don't know how to go about it, or is it that it do