stack/code/dboxswitch.git
12 years agogui.py better function documentation
stack [Sun, 8 Jul 2012 16:44:27 +0000 (18:44 +0200)]
gui.py better function documentation

added more function documentation in Gui and also documented some
passage

12 years agoadded initial profiles switch implementation
stack [Sun, 8 Jul 2012 16:17:48 +0000 (18:17 +0200)]
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())

12 years agoshowError in Gui
stack [Sun, 8 Jul 2012 16:16:58 +0000 (18:16 +0200)]
showError in Gui

showError displays a QErrorMessage, usually when catchin a AppError
containing an errorstring to display

12 years agorenamed error message in profhandler
stack [Sun, 8 Jul 2012 16:14:49 +0000 (18:14 +0200)]
renamed error message in profhandler

12 years agorenamed newProfile to addProfile
stack [Sun, 8 Jul 2012 16:14:26 +0000 (18:14 +0200)]
renamed newProfile to addProfile

12 years agocorrected profile list generation
stack [Sun, 8 Jul 2012 16:13:31 +0000 (18:13 +0200)]
corrected profile list generation

Profiles generation at runtime was picking up a nonexistant attribute
(self. was missing)

12 years agoadded dumb icon to tray
stack [Sun, 8 Jul 2012 16:12:59 +0000 (18:12 +0200)]
added dumb icon to tray

12 years agotooltip in systray
stack [Sun, 8 Jul 2012 00:54:01 +0000 (02:54 +0200)]
tooltip in systray

12 years agoinitial draft app implementation code
stack [Sun, 8 Jul 2012 00:17:21 +0000 (02:17 +0200)]
initial draft app implementation code