Bases: object
initializes an instance of EIPConnection, gathers errors, and passes status-change signals from Qt land along to the conductor. Connects the eip connect/disconnect logic to the switches in the app (buttons/menu items).
consumes the conductor error queue. pops errors, and acts accordingly (launching user dialogs).
check severity and launches dialogs informing user about the errors. in the future we plan to derive errors to our log viewer.
runs eip checks and the error checking loop
stub for running child process with vpn
polls status and updates ui with real time info about transferred bytes / connection state. right now is triggered by a timer tick (timer controlled by StatusAwareTrayIcon class)
Bases: object
create the main window for leap app
cleans state before shutting down app.
redefines close event (persistent window behaviour)
Bases: PyQt4.QtGui.QMainWindow, leap.baseapp.leap_app.MainWindowMixin, leap.baseapp.eip.EIPConductorAppMixin, leap.baseapp.systray.StatusAwareTrayIconMixin, leap.baseapp.network.NetworkCheckerAppMixin, leap.baseapp.log.LogPaneMixin
main window for the leap app. Initializes all of its base classes We keep here some signal initialization that gets tricky otherwise.
checks whether first run wizard needs to be run launches it if needed and emits initReady signal if not.
shows icon and init eip connection called from the end of wizard
launches wizard and blocks
shows icon and run init checks
Bases: object
initialize an instance of the Network Checker, which gathers error and passes them on.
slot that receives a network exceptions and raises a user error message
Bases: object
a mix of several functions needed to create a systray and make it get updated from conductor status polling.
creates actions to be binded to tray icon
dummy icongroupbox (to be removed from here – reference only)
creates the tray icon
handles left click, left double click showing the trayicon menu
slot for EIP status changes not to be confused with onOpenVPNStatusChange. this only updates the non-debug LEAP Status line next to the connection icon.
updates icon, according to the openvpn status change.
get readable status and place it on systray tooltip