Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
marc
dtObsGUI
Commits
ed9cc15b
Commit
ed9cc15b
authored
Oct 21, 2017
by
marc
Browse files
minor update outputdir handling
parent
66cc9577
Changes
1
Hide whitespace changes
Inline
Side-by-side
DTObs.py
View file @
ed9cc15b
...
...
@@ -90,7 +90,8 @@ class DTObservationProgram(Ui_mainWindow):
self
.
pushButtonStartMeasurement
.
clicked
.
connect
(
self
.
startMeasurement
)
self
.
pushButtonStopMeasurement
.
clicked
.
connect
(
self
.
stopMeasurement
)
self
.
pushButtonOutputDirectory
.
clicked
.
connect
(
self
.
selectOutputDirectory
)
self
.
homedir
=
os
.
environ
[
'HOME'
]
self
.
lineEditOutputDir
.
setText
(
self
.
homedir
)
self
.
myDT
=
telescope
(
setmode
=
'J2000'
,
consoleHost
=
'consoledemo.dmz.camras.nl'
)
self
.
threadpool
=
QThreadPool
()
...
...
@@ -122,7 +123,7 @@ class DTObservationProgram(Ui_mainWindow):
Select the output directory to store the measurements
'''
dialog
=
QFileDialog
()
folder_path
=
dialog
.
getExistingDirectory
(
None
,
"Select Folder"
)
folder_path
=
dialog
.
getExistingDirectory
(
None
,
"Select Folder"
,
self
.
homedir
)
self
.
lineEditOutputDir
.
setText
(
folder_path
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment