[PyQt] Tittle on TaskBar hiden

Anita Diliberto ADiliberto at evertz.com
Thu Aug 16 17:57:55 BST 2007


Here is an example of how I use it:

self.setWindowFlags(QtCore.Qt.CustomizeWindowHint)
self.setWindowFlags(self.windowFlags().__or__QtCore.Qt.WindowTitleHint))



-----Original Message-----
From: Pierre Ducroquet [mailto:pinaraf at robertlan.eu.org]
Sent: Thursday, August 16, 2007 12:49 PM
To: pyqt at riverbankcomputing.com
Subject: Re: [PyQt] Tittle on TaskBar hiden


On Thursday 16 August 2007 18:31:12 Odair Augusto Trujillo wrote:
> Hello,
>
> I am trying to make the title on task bar (kicker or some other) hiden,
but
> keeping show the window, I'm using QSystemTrayIcon that works fine, but I
> don't find the way for get this behavior.
>
> knotes is an app that have this behavior, and I want to know how this is
> possible on my app, or what class can I use.
>
> Thanks for the help and sorry for my english :$


You don't have to use any special class for this.
Your window is inheriting from QWidget. QWidget contains a function called 
setWindowFlags... The Qt documentation contains an example for the window 
flags, that's quite helpful. But I don't remember how to use this enum with 
PyQt4...

_______________________________________________
PyQt mailing list    PyQt at riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


More information about the PyQt mailing list