title: PySide, Docking windows to taskbar
body: <p>I am writing a program with PySide and Python 2.7.</p>
  
  <pre><code>class SystemTrayIcon(QtGui.QSystemTrayIcon):
      def __init__(self, parent=None):
  
          QtGui.QSystemTrayIcon.__init__(self, parent)
  
          self.setIcon(QtGui.QIcon("myIcon.ico"))
  
          self.iconMenu = QtGui.QMenu(parent)
          appcalc = self.iconMenu.addAction("ShowWindow")
          appexit = self.iconMenu.addAction("Exit")
          self.setContextMenu(self.iconMenu)
  
          self.connect(appcalc, QtCore.SIGNAL('triggered()'),self.appCalc)
          self.connect(appexit,QtCore.SIGNAL('triggered()'),self.appExit)
  
          self.show()
  </code></pre>
  
  <p>This code display a working taskbar icon with an iconMenu. Now when i click on "show window" I want to load a widget/windows docked to the taskbar at the same location of the icon.</p>
  
  <p>If i would use geometry this would never work because some people have taskbar on top, or on the side of the screen.</p>
  
  <p>How to have a docked window / widget to the taskbar with PySide?</p>
  
  <p>Thank you.</p>