hello!
i have some question that as i see appears many times, but nevertheless i can't find the solution for me.

i have some widget, and the button in it, and when i press this button i want to appear some other widget, frameless and not
showing in the taskbar.

i can achieve two results - frameless or 'taskbarless' =)

1 -frameless - everything is ok, but it of course appears in the taskbar

(code in PyQt4)
Qt Code:
  1. self.add_new_light_widget = QWidget()
  2. self.add_new_light_widget.setWindowFlags(Qt.WindowFlags(Qt.FramelessWindowHint))
To copy to clipboard, switch view to plain text mode 

2 - 'taskbarless' - now it is the dialog with the parent of main widget, so it doesbn't appears in the taskbar

Qt Code:
  1. self.add_new_light_widget = QDialog(self)
  2. self.add_new_light_widget.setWindowTitle("About")
  3. self.add_new_light_widget.setWindowFlags(Qt.WindowFlags(Qt.Dialog))
To copy to clipboard, switch view to plain text mode 

but if i use
Qt Code:
  1. self.add_new_light_widget.setWindowFlags(Qt.WindowFlags(Qt.CustomizeWindowHint))
To copy to clipboard, switch view to plain text mode 
(or frameless hint) my new widget will not show!

please help me - where am i wrong?
thank you!