summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
stack [Sun, 8 Jul 2012 19:36:42 +0000 (21:36 +0200)]
get dropbox directory in an os dependant way in ProfHandler
stack [Sun, 8 Jul 2012 18:58:05 +0000 (20:58 +0200)]
refactored activateProfile to pass a path instead of a profile name
stack [Sun, 8 Jul 2012 18:46:20 +0000 (20:46 +0200)]
Gui activate profile action
this now handles the displaying of errors, using a function compiled to
activate the right profile and catching AppError exceptions and
displaying QErrorMessages with Gui.showError
stack [Sun, 8 Jul 2012 18:19:50 +0000 (20:19 +0200)]
makes the Qt application quit upong sigint
stack [Sun, 8 Jul 2012 18:06:16 +0000 (20:06 +0200)]
Rewrite files header , with copyright and bang
stack [Sun, 8 Jul 2012 17:59:45 +0000 (19:59 +0200)]
Profile menu tooltips
for enabling QMenu to display tooltips I subclassed QMenu and overloaded
event with a method that actually displays the tooltip, this is done
in the class QMenuToolTip in the new added file qmenutooltip.py
stack [Sun, 8 Jul 2012 16:54:38 +0000 (18:54 +0200)]
Moved addProfile action in createActions
in gui it is best to build all "static" actions on init, using the
method createActions, and attach them where needed
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
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())
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
stack [Sun, 8 Jul 2012 16:14:49 +0000 (18:14 +0200)]
renamed error message in profhandler
stack [Sun, 8 Jul 2012 16:14:26 +0000 (18:14 +0200)]
renamed newProfile to addProfile
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)
stack [Sun, 8 Jul 2012 16:12:59 +0000 (18:12 +0200)]
added dumb icon to tray
stack [Sun, 8 Jul 2012 00:54:01 +0000 (02:54 +0200)]
tooltip in systray
stack [Sun, 8 Jul 2012 00:17:21 +0000 (02:17 +0200)]
initial draft app implementation code