Hi!!
Is it possible to Style the item of a QListWidget which is
QListWidgetItem? Cause for example, i want to add a background pixmap
to its selection rectangle.
Thanks!!
Cheers.
--
Gustavo A. Díaz
GDNet Projects
www.gdnet.com.ar
___
PyQt mai
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...
cheers.
Henrik Pauli escribió:
What I was thinking about was this: http://doc.trolltech.com/4.3/qt.html#WidgetAttribute-enum
-> Qt::WA_DeleteOnClose as it's now called. As
What I was thinking about was this:
http://doc.trolltech.com/4.3/qt.html#WidgetAttribute-enum ->
Qt::WA_DeleteOnClose
as it's now called. As I said, I could be completely wrong with assuming it
being the culprit, but anyway.
Now... isn't the code you pasted actually handling Escape, not Alt+Escap
I forgot, that code only hide the app when i press Esc key, i want alt
+ Esc key combination to do the same...
Thanks.
Uğur Çetin escribió:
22-08-2007 01:18 Gustavo A. Díaz:
I am trying to catch the keyPressEvent of alt + esc combination with:
def keyPressEvent(self, event):
I think you are missunderstanding
I have an app, i have a systray, when i press the close button, it hide
on the systray, cause i've implemented that...
Now i want to hide the app too when i press alt+esc...not closing it.
Thanks...
Cheers.
Uğur Çetin escribió:
22-08-2007 01:18 Gusta
22-08-2007 01:18 Gustavo A. Díaz:
> I am trying to catch the keyPressEvent of alt + esc combination with:
>
> def keyPressEvent(self, event):
> if event.key() == QtCore.Qt.Key_Escape:
> self.hide()
>
> And this has no effect, the app closes anyway. What i want is to h
what??
Henrik Pauli escribió:
Off the top of my head, and as such it could be completely
wrong: WDestructiveClose?
On 8/22/07, "Gustavo A. Díaz" <
[EMAIL PROTECTED]> wrote:
Hi!!
I am trying to catch the keyPressEvent of alt + esc combination with:
def keyPressEvent(self,
Off the top of my head, and as such it could be completely wrong:
WDestructiveClose?
On 8/22/07, "Gustavo A. Díaz" <[EMAIL PROTECTED]> wrote:
>
> Hi!!
>
> I am trying to catch the keyPressEvent of alt + esc combination with:
>
> def keyPressEvent(self, event):
> if event.key() == Qt
Hi!!
I am trying to catch the keyPressEvent of alt + esc combination with:
def keyPressEvent(self, event):
if event.key() == QtCore.Qt.Key_Escape:
self.hide()
And this has no effect, the app closes anyway. What i want is to hide
the app and not close it.
What i
Claudio,
¿Qué tal?
Puedes chequear el código de mi app aquí:
http://opencoffee.lnxteam.org/trac/browser/trunk/opencoffee-server/MainApp.py
Allí mismo ya está implementado el FIX para QTabWidget. Solo busca más
abajo donde se establecen los estilos para tal.
Saludos.
--
Gustavo A. Díaz
GD
Ok, nevermind, this fix does not affect QT4.3, so is perfect.
Thanks Again David!
Cheers.
Gustavo A. Díaz escribió:
David,
Hi!!
That fix worked out for QT4.3.1, i didn't test it yet for QT4.3... this
will be a problem for this one?
Thanks!
Cheers.
David Boddie escribió:
David,
Hi!!
That fix worked out for QT4.3.1, i didn't test it yet for QT4.3... this
will be a problem for this one?
Thanks!
Cheers.
David Boddie escribió:
On Sunday 19 August 2007 23:56, you wrote:
So, with QT4.3.1 and pyqt4.3 the tabwidget uses the stackedwidget
background
On Sunday 19 August 2007 23:56, you wrote:
> So, with QT4.3.1 and pyqt4.3 the tabwidget uses the stackedwidget
> background pixmap (as i clearly demostrate on the screenshots)
>
> This does not happen with qt4.3 nd pyqt4.3
OK. The problem is that the bug which prevented QStackedWidget from
13 matches
Mail list logo