Hi,

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
function:

    def window_on_top(self):
        if self.checkboxTop.isChecked():
            self.setWindowFlags(self.windowFlags() | Qt.WindowStaysOnTopHint)
        else:
            self.setWindowFlags(self.windowFlags() & ~Qt.WindowStaysOnTopHint)

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.

Thanks,

Laszlo
_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to