Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
HEV - High Energy Ventilator
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
HEV - High Energy Ventilator
Commits
1f16144e
Commit
1f16144e
authored
Jun 18, 2021
by
Benjamin Mummery
💻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Version labelling in bottombar
parent
b9d57186
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
NativeUI.py
NativeUI/NativeUI.py
+3
-3
No files found.
NativeUI/NativeUI.py
View file @
1f16144e
...
...
@@ -247,7 +247,7 @@ class NativeUI(HEVClient, QMainWindow):
self
.
setCentralWidget
(
self
.
display_stack
)
# Set up status bar and window title (the title is only shown in windowed mode).
self
.
statusBar
()
.
showMessage
(
"
Waiting for data"
)
self
.
statusBar
()
.
showMessage
(
"
v
%
s - Waiting for data"
%
__version__
)
self
.
statusBar
()
.
setStyleSheet
(
"color:"
+
self
.
colors
[
"page_foreground"
]
.
name
())
self
.
setWindowTitle
(
self
.
text
[
"ui_window_title"
]
.
format
(
version
=
__version__
))
self
.
setPalette
(
palette
)
...
...
@@ -336,7 +336,7 @@ class NativeUI(HEVClient, QMainWindow):
)
)
self
.
widgets
.
calibration
.
button
.
pressed
.
connect
(
lambda
i
=
self
.
messagePopup
:
self
.
display_stack
.
setCurrentWidget
(
i
)
lambda
i
=
self
.
messagePopup
:
self
.
display_stack
.
setCurrentWidget
(
i
)
)
self
.
widgets
.
leak_test
.
button
.
pressed
.
connect
(
...
...
@@ -766,7 +766,7 @@ class NativeUI(HEVClient, QMainWindow):
handlers return 0, indicating that the payload is not dealt with by any handler,
log a warning.
"""
self
.
statusBar
()
.
showMessage
(
f
"{payload}"
)
self
.
statusBar
()
.
showMessage
(
"v
%
s -
%
s"
%
(
__version__
,
payload
)
)
logging
.
debug
(
"recieved payload of type
%
s"
,
payload
[
"type"
])
payload_registered
=
False
...
...
Write
Preview
Markdown
is supported
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