stack/code/dboxswitch.git
10 years agofix setup
stack [Fri, 17 Oct 2014 14:05:59 +0000 (16:05 +0200)]
fix setup

10 years agofix profile switching
stack [Tue, 23 Sep 2014 18:23:00 +0000 (20:23 +0200)]
fix profile switching

10 years agotypo in readme
stack [Mon, 18 Aug 2014 15:31:49 +0000 (17:31 +0200)]
typo in readme

10 years agofix readme
stack [Mon, 18 Aug 2014 15:28:01 +0000 (17:28 +0200)]
fix readme

10 years agoaccomodate new linux dropbox dir path instance1
stack [Thu, 24 Jul 2014 21:45:40 +0000 (23:45 +0200)]
accomodate new linux dropbox dir path instance1

11 years agofix merge
stack [Sun, 16 Jun 2013 17:36:56 +0000 (19:36 +0200)]
fix merge

11 years agofix path in settings.py also for windows
stack [Sat, 20 Apr 2013 18:08:23 +0000 (20:08 +0200)]
fix path in settings.py also for windows

11 years agolaunch without installing in README
stack [Sat, 20 Apr 2013 13:27:47 +0000 (15:27 +0200)]
launch without installing in README

11 years agoicons path from installed package or script dir
stack [Sat, 20 Apr 2013 12:43:30 +0000 (14:43 +0200)]
icons path from installed package or script dir

11 years agomanifest modified
stack [Sat, 20 Apr 2013 12:43:08 +0000 (14:43 +0200)]
manifest modified

11 years agocorrected readme with setuptools
stack [Fri, 19 Apr 2013 02:14:32 +0000 (04:14 +0200)]
corrected readme with setuptools

11 years agoimplemented an installer with distribute
stack [Fri, 19 Apr 2013 02:07:35 +0000 (04:07 +0200)]
implemented an installer with distribute

11 years agofixed guy indend typo
stack [Fri, 19 Apr 2013 01:57:25 +0000 (03:57 +0200)]
fixed guy indend typo

11 years agofixed indentation typo in gui.py
stack [Mon, 1 Apr 2013 18:07:36 +0000 (20:07 +0200)]
fixed indentation typo in gui.py

11 years agowait some time for systray to appear
stack [Mon, 4 Mar 2013 17:13:36 +0000 (18:13 +0100)]
wait some time for systray to appear

11 years agomodified COSE fatte
stack [Sat, 16 Feb 2013 17:21:38 +0000 (18:21 +0100)]
modified COSE fatte

12 years agoMakefile to clean pyc
stack [Wed, 11 Jul 2012 18:03:49 +0000 (20:03 +0200)]
Makefile to clean pyc

12 years agomoved icons in a subdirectory
stack [Wed, 11 Jul 2012 18:02:00 +0000 (20:02 +0200)]
moved icons in a subdirectory

12 years agoBetter delProfile gui implementation
stack [Wed, 11 Jul 2012 17:57:26 +0000 (19:57 +0200)]
Better delProfile gui implementation

now the gui resizes on Dialog reopening and a button to add a profile is
none is present has been added, the deleteprofile action is not more
commented

12 years agochanged deleteprofile icon
stack [Wed, 11 Jul 2012 17:57:21 +0000 (19:57 +0200)]
changed deleteprofile icon

12 years agoadded addprofile icon
stack [Wed, 11 Jul 2012 17:57:02 +0000 (19:57 +0200)]
added addprofile icon

12 years agoFirstImplementation of main dialog profile manager
stack [Wed, 11 Jul 2012 16:44:36 +0000 (18:44 +0200)]
FirstImplementation of main dialog profile manager

Profiles could be deleted from a main dialog with a layout that has
still some resizong problem.
The layout builds a label and a qtoolbutton that calls the action that
hides those widgets and deletes the profile.
The actual call to profHandler.delProfile is commented out.

12 years agoget profile names worted by name
stack [Wed, 11 Jul 2012 16:44:13 +0000 (18:44 +0200)]
get profile names worted by name

12 years agotells if a profile already exists
stack [Wed, 11 Jul 2012 16:41:32 +0000 (18:41 +0200)]
tells if a profile already exists

catch OSError in profhandler.addProfile to know if some error is catched
and pass that as AppError to the gui, properly formatted on common
error, for example if the file already exists.

12 years agotypo in delete profile fixed
stack [Wed, 11 Jul 2012 01:25:23 +0000 (03:25 +0200)]
typo in delete profile fixed

12 years agoadded profhandler.getProfileBaseName
stack [Tue, 10 Jul 2012 23:10:34 +0000 (01:10 +0200)]
added profhandler.getProfileBaseName

now the path story is somewhat more abstracted

12 years agochmod -x to apperror gui and profhandler
stack [Mon, 9 Jul 2012 12:08:02 +0000 (14:08 +0200)]
chmod -x to apperror gui and profhandler

12 years agomoved main.py to __main__.py
stack [Mon, 9 Jul 2012 12:06:56 +0000 (14:06 +0200)]
moved main.py to __main__.py

this lets us to execute the program with python dirname where
dirname contains all the python source files

12 years agoabsolute icon dir
stack [Mon, 9 Jul 2012 01:04:48 +0000 (03:04 +0200)]
absolute icon dir

in case of willing to use py2exe read this
http://stackoverflow.com/questions/2292703/how-can-i-get-the-executables-current-directory-in-py2exe
It is already implemented using sys.argv[0]

12 years agodeleted some debugging print
stack [Mon, 9 Jul 2012 00:19:49 +0000 (02:19 +0200)]
deleted some debugging print

12 years agostop sync in linux before killing daemon
stack [Mon, 9 Jul 2012 00:18:25 +0000 (02:18 +0200)]
stop sync in linux before killing daemon

12 years agocurrent profile icon
stack [Mon, 9 Jul 2012 00:16:13 +0000 (02:16 +0200)]
current profile icon

12 years agoprofiling switching works on linux and maybe on osx, not yet tested
stack [Sun, 8 Jul 2012 23:33:20 +0000 (01:33 +0200)]
profiling switching works on linux and maybe on osx, not yet tested

12 years agoGui showTrayprofiles showing path and not profile name, fixed
stack [Sun, 8 Jul 2012 23:32:53 +0000 (01:32 +0200)]
Gui showTrayprofiles showing path and not profile name, fixed

12 years agoget dropbox directory in an os dependant way in ProfHandler
stack [Sun, 8 Jul 2012 19:36:42 +0000 (21:36 +0200)]
get dropbox directory in an os dependant way in ProfHandler

12 years agorefactored activateProfile to pass a path instead of a profile name
stack [Sun, 8 Jul 2012 18:58:05 +0000 (20:58 +0200)]
refactored activateProfile to pass a path instead of a profile name

12 years agoGui activate profile action
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

12 years agomakes the Qt application quit upong sigint
stack [Sun, 8 Jul 2012 18:19:50 +0000 (20:19 +0200)]
makes the Qt application quit upong sigint

12 years agoRewrite files header , with copyright and bang
stack [Sun, 8 Jul 2012 18:06:16 +0000 (20:06 +0200)]
Rewrite files header , with copyright and bang

12 years agoProfile menu tooltips
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

12 years agoMoved addProfile action in createActions
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

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