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
24897c2e
Commit
24897c2e
authored
1 year ago
by
Lan Dam
Browse files
Options
Downloads
Patches
Plain Diff
change label Data Card to Memory Card
parent
2b665872
No related branches found
No related tags found
1 merge request
!203
Revise and add documentations
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sohstationviewer/view/main_window.py
+3
-3
3 additions, 3 deletions
sohstationviewer/view/main_window.py
sohstationviewer/view/ui/main_ui.py
+1
-1
1 addition, 1 deletion
sohstationviewer/view/ui/main_ui.py
with
4 additions
and
4 deletions
sohstationviewer/view/main_window.py
+
3
−
3
View file @
24897c2e
...
@@ -494,7 +494,7 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
...
@@ -494,7 +494,7 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
raise
Exception
(
msg
)
raise
Exception
(
msg
)
self
.
data_type
=
'
RT130
'
self
.
data_type
=
'
RT130
'
elif
self
.
from_data_card_check_box
.
isChecked
():
elif
self
.
from_data_card_check_box
.
isChecked
():
# When "From
Data
Card" checkbox is checked, no sub directories
# When "From
Memory
Card" checkbox is checked, no sub directories
# displayed in File List box. The current dir (root_dir) will be
# displayed in File List box. The current dir (root_dir) will be
# the only one of the selected dir for user to start processing
# the only one of the selected dir for user to start processing
# from.
# from.
...
@@ -508,7 +508,7 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
...
@@ -508,7 +508,7 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
else
:
else
:
self
.
list_of_dir
=
[
root_dir
.
joinpath
(
'
sdata
'
)]
self
.
list_of_dir
=
[
root_dir
.
joinpath
(
'
sdata
'
)]
else
:
else
:
# When "From
Data
Card" checkbox is checked, sub directories of the
# When "From
Memory
Card" checkbox is checked, sub directories of the
# current dir (root_dir) will be displayed in File List box.
# current dir (root_dir) will be displayed in File List box.
# User can select one or more sub-directories to process from.
# User can select one or more sub-directories to process from.
self
.
list_of_dir
=
[
self
.
list_of_dir
=
[
...
@@ -950,7 +950,7 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
...
@@ -950,7 +950,7 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
self
.
open_files_list
.
addItem
(
FileListItem
(
rt130_das
))
self
.
open_files_list
.
addItem
(
FileListItem
(
rt130_das
))
elif
self
.
from_data_card_check_box
.
isChecked
():
elif
self
.
from_data_card_check_box
.
isChecked
():
self
.
open_files_list
.
addItem
(
'
Data
Card
'
)
self
.
open_files_list
.
addItem
(
'
Memory
Card
'
)
self
.
tracking_info_text_browser
.
setText
(
self
.
tracking_info_text_browser
.
setText
(
"
Please select the card by clicking on button
"
"
Please select the card by clicking on button
"
"'
Main Data Directory
'
.
"
)
"'
Main Data Directory
'
.
"
)
...
...
This diff is collapsed.
Click to expand it.
sohstationviewer/view/ui/main_ui.py
+
1
−
1
View file @
24897c2e
...
@@ -404,7 +404,7 @@ class UIMainWindow(object):
...
@@ -404,7 +404,7 @@ class UIMainWindow(object):
read_option_grid
=
QGridLayout
()
read_option_grid
=
QGridLayout
()
left_layout
.
addLayout
(
read_option_grid
)
left_layout
.
addLayout
(
read_option_grid
)
self
.
from_data_card_check_box
=
QCheckBox
(
self
.
from_data_card_check_box
=
QCheckBox
(
'
From
Data
Card
'
,
self
.
central_widget
)
'
From
Memory
Card
'
,
self
.
central_widget
)
read_option_grid
.
addWidget
(
self
.
from_data_card_check_box
,
0
,
0
,
1
,
2
)
read_option_grid
.
addWidget
(
self
.
from_data_card_check_box
,
0
,
0
,
1
,
2
)
self
.
replot_button
=
QPushButton
(
'
RePlot
'
,
self
.
central_widget
)
self
.
replot_button
=
QPushButton
(
'
RePlot
'
,
self
.
central_widget
)
...
...
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