Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SOHViewer
Manage
Activity
Members
Labels
Plan
Issues
14
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Public
PASSOFT
SOHViewer
Commits
8f2eb6de
Commit
8f2eb6de
authored
3 years ago
by
Garrett Bates
Browse files
Options
Downloads
Patches
Plain Diff
Added method stubs to handle currently available menu items.
parent
03cb39f1
No related branches found
No related tags found
1 merge request
!3
Main UI and miscellaneous associated widgets
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sohstationviewer/view/mainwindow.py
+52
-0
52 additions, 0 deletions
sohstationviewer/view/mainwindow.py
with
52 additions
and
0 deletions
sohstationviewer/view/mainwindow.py
+
52
−
0
View file @
8f2eb6de
...
...
@@ -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.
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment