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
ae32f52b
Commit
ae32f52b
authored
10 months ago
by
Lan Dam
Browse files
Options
Downloads
Patches
Plain Diff
docstring
parent
00dd09f6
No related branches found
No related tags found
1 merge request
!276
version information - about page
Pipeline
#3780
passed with stage
Stage: Build Env and Test
in 7 minutes and 30 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sohstationviewer/view/about_dialog.py
+6
-2
6 additions, 2 deletions
sohstationviewer/view/about_dialog.py
sohstationviewer/view/main_window.py
+1
-1
1 addition, 1 deletion
sohstationviewer/view/main_window.py
with
7 additions
and
3 deletions
sohstationviewer/view/about_dialog.py
+
6
−
2
View file @
ae32f52b
...
@@ -19,10 +19,14 @@ def add_separation_line(layout):
...
@@ -19,10 +19,14 @@ def add_separation_line(layout):
class
AboutDialog
(
QDialog
):
class
AboutDialog
(
QDialog
):
"""
Dialog to show information of the software.
About Dialog is always opened and will be raised up when the about menu
action is triggered.
"""
def
__init__
(
self
,
parent
:
Union
[
QWidget
,
QApplication
]):
def
__init__
(
self
,
parent
:
Union
[
QWidget
,
QApplication
]):
"""
"""
Dialog to show information of the software
:param parent: the parent widget
:param parent: the parent widget
"""
"""
super
(
AboutDialog
,
self
).
__init__
(
parent
)
super
(
AboutDialog
,
self
).
__init__
(
parent
)
...
...
This diff is collapsed.
Click to expand it.
sohstationviewer/view/main_window.py
+
1
−
1
View file @
ae32f52b
...
@@ -224,7 +224,7 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
...
@@ -224,7 +224,7 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
@QtCore.Slot
()
@QtCore.Slot
()
def
open_about
(
self
):
def
open_about
(
self
):
"""
"""
Open
About dialog
. If it is currently open, raise it to the front.
About dialog
is always open. This function will raise it up when called
"""
"""
self
.
about_dialog
.
show
()
self
.
about_dialog
.
show
()
self
.
about_dialog
.
raise_
()
self
.
about_dialog
.
raise_
()
...
...
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