[PySide] toggle "window on top" behaviour
techtonik at gmail.com
Tue Dec 11 10:30:08 CET 2012
Looks like you need to re-show the window.
On Tue, Dec 11, 2012 at 9:42 AM, Jabba Laci <jabba.laci at gmail.com> wrote:
> I'm new to the list and to pyside too. I would like to toggle my
> window's "on top" behaviour with a checkbox. When clicked, I call this
> def window_on_top(self):
> if self.checkboxTop.isChecked():
> self.setWindowFlags(self.windowFlags() |
> self.setWindowFlags(self.windowFlags() &
> However, when I click on the checkbox, the application window
> disappears (minimizes but doesn't appear on the tray). I need to kill
> the process from command line.
> PySide mailing list
> PySide at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PySide