Package FlightReportManager :: Module FlightReportManager :: Class MainView
[hide private]
[frames] | no frames]

Class MainView

source code

Instance Methods [hide private]
 
__init__(self, master)
Setup Tkinter and all necessary properties.
source code
 
initialize_widgets(self, master)
Holds all the information necessary to place the widgets in the frame.
source code
 
generateTreeViewContextMenu(self, master)
Generate Menu which opens when right-clicking on treeview entry
source code
 
showTreeViewContextMenu(self, event)
Show context menu and store selected row
source code
 
editRowWindowInvocation(self, master)
Generate second Tkinter window, directly generate a ttk-Frame to have similar styles for all windows
source code
 
deletePudFileInvocation(self)
Delte pud file from directory
source code
 
deleteRowInvocation(self)
Delete selected row from table and delete according files
source code
 
updateDataInView(self)
Update data in GUI
source code
 
importInvocation(self)
Get the user input for the "event_name_entry" and "file_location_entry" text entry field - Store data inside DB
source code
 
openFileChooser(self)
Open tkaskopenfilename and return filename/absolute filepath of user's selection
source code
 
getFilenameForSelectedItem(self)
Makes a request to the DB and returns the location/filename for the selected item
source code
 
getEventnameForSelectedItem(self)
Makes a request to the DB and returns the event name for the selected item
source code
 
saveToFileDialog(self, filetype)
Open Tkinter save file dialog and return path to file
source code
 
exportAsGPXInvocation(self)
Export track as GPX file invocation
source code
 
exportTakeoffGpxWptInvocation(self)
Export takeoff location as gpx waypoint invocation
source code
 
exportAsKMLInvocation(self)
Export track as kml file invocation
source code
 
exportTakeoffKMLWptInvocation(self)
Export takeoff location as kml waypoint invocation
source code
 
exportAsCSVInvocation(self)
Export track as csv file invocation
source code
 
exportTakeoffCsvWptInvocation(self)
Export the takeoff location as csv waypoint
source code
 
plotBatteryUsageInvocation(self)
Invocation of battery plot
source code
 
plotAltitudeInvocation(self)
Invocation of altitude plot
source code
 
plotSpeedInovaction(self)
Invocation of speed Plot
source code
 
plotTrackInvocation(self)
Plot the flight track - experimental only!
source code
 
action(self) source code
Method Details [hide private]

__init__(self, master)
(Constructor)

source code 

Setup Tkinter and all necessary properties. Generate instances of classes.

initialize_widgets(self, master)

source code 

Holds all the information necessary to place the widgets in the frame. Including callbacks and methods