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
b4698554
Commit
b4698554
authored
Jun 16, 2021
by
Benjamin Mummery
💻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed charts and summery pages
parent
5d570ef7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
NativeUI.py
NativeUI/NativeUI.py
+5
-5
ui_layout.py
NativeUI/ui_layout.py
+8
-4
No files found.
NativeUI/NativeUI.py
View file @
b4698554
...
...
@@ -620,11 +620,11 @@ class NativeUI(HEVClient, QMainWindow):
# Lines displayed on the charts page should update when the corresponding
# buttons are toggled.
for
button
in
self
.
widgets
.
chart_buttons_widget
.
buttons
:
button
.
ToggleButtonPressed
.
connect
(
self
.
widgets
.
charts_widget
.
show_line
)
button
.
ToggleButtonReleased
.
connect
(
self
.
widgets
.
charts_widget
.
hide_line
)
button
.
on_press
()
# Ensure states of the plots match states of buttons.
button
.
toggle
()
#
for button in self.widgets.chart_buttons_widget.buttons:
#
button.ToggleButtonPressed.connect(self.widgets.charts_widget.show_line)
#
button.ToggleButtonReleased.connect(self.widgets.charts_widget.hide_line)
#
button.on_press() # Ensure states of the plots match states of buttons.
#
button.toggle()
# Plot data and measurements should update on a timer
self
.
timer
=
QTimer
()
...
...
NativeUI/ui_layout.py
View file @
b4698554
...
...
@@ -97,12 +97,12 @@ class Layout:
[
self
.
layout_mode_startup
(),
self
.
layout_mode_personal
(
"startup_"
,
False
),
self
.
layout_startup_confirmation
(),
#
self.layout_startup_confirmation(),
],
[
"button_label_modes_mode"
,
"button_label_modes_personal"
,
"button_label_modes_summary"
,
#
"button_label_modes_summary",
],
),
"startup_stack"
,
...
...
@@ -382,9 +382,13 @@ class Layout:
page_settings
=
SwitchableStackWidget
(
self
.
NativeUI
.
colors
,
self
.
NativeUI
.
text
,
[
tab_charts
,
tab_info
,
self
.
layout_settings_expert
()],
[
"button_label_settings_charts"
,
# tab_charts,
tab_info
,
self
.
layout_settings_expert
(),
],
[
# "button_label_settings_charts",
"button_label_settings_info"
,
"button_label_settings_expert"
,
],
...
...
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