Skip to content
Snippets Groups Projects
Commit 8f2eb6de authored by Garrett Bates's avatar Garrett Bates
Browse files

Added method stubs to handle currently available menu items.

parent 03cb39f1
No related branches found
No related tags found
1 merge request!3Main UI and miscellaneous associated widgets
......@@ -21,8 +21,60 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
cwd = os.path.dirname(pathlib.Path().absolute())
self.currentDirectoryChanged.emit(cwd)
# File menu
self.action_Delete_Setup_File.triggered.connect(self.deleteSetupFile)
# Commands menu
self.action_GPS_Plotter.triggered.connect(self.openGpsPlot)
self.action_Log_Search.triggered.connect(self.openLogSearch)
self.actionPlot_Time_Ranges.triggered.connect(self.openPlotTimeRanges)
self.actionPlot_Positions.triggered.connect(self.openPlotPositions)
# Commands/Export submenu
self.action_Deployment_File.triggered.connect(self.exportDepLine)
self.actionDeployment_File_Block.triggered.connect(self.exportDepBlock)
self.action_TSP_File_Shot_Geometry.triggered.connect(self.exportTspGeom)
self.action_Shot_Info.triggered.connect(self.exportShotInfo)
# Help menu
self.action_Calendar.triggered.connect(self.open_calendar)
@QtCore.Slot()
def deleteSetupFile(self):
print('Deleting setup file.')
@QtCore.Slot()
def openGpsPlot(self):
print('Opening GPS plot.')
@QtCore.Slot()
def openLogSearch(self):
print('Opening Log search.')
@QtCore.Slot()
def openPlotTimeRanges(self):
print('Opening Time Ranges Plot.')
@QtCore.Slot()
def openPlotPositions(self):
print('Opening Positions Plot.')
@QtCore.Slot()
def exportDepLine(self):
print('Exporting Deployment File (Line).')
@QtCore.Slot()
def exportDepBlock(self):
print('Exporting Deployment File (Block).')
@QtCore.Slot()
def exportTspGeom(self):
print('Exporting TSP Shot File / Geometry.')
@QtCore.Slot()
def exportShotInfo(self):
print('Exporting Shot Info.')
@QtCore.Slot()
def readSelectedFile(self):
print('Reading currently selected file.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment