From: stack Date: Sun, 8 Jul 2012 16:17:48 +0000 (+0200) Subject: added initial profiles switch implementation X-Git-Url: https://v.licheni.net/stack/code/dboxswitch.git/commitdiff_plain/8a7062fd368c9edb98b5a1c03239f4eebe4550a1?ds=sidebyside;hp=8a7062fd368c9edb98b5a1c03239f4eebe4550a1 added initial profiles switch implementation when left clicking on the systray a list of profiles is shown, clicking on a profile a "activateProfile" is called and an action to create a new profile is displayed. This is handled through a QMenu and lambda functions to pass additional paramenters to the receiver, also interesting are the functions: self.menuProfiles.activateWindow() self.menuProfiles.popup(QtGui.QCursor.pos()) ---