[chronojump] contacts hpaned, force sensor and race analyzer only show right part (notebook_results)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] contacts hpaned, force sensor and race analyzer only show right part (notebook_results)
- Date: Mon, 2 Aug 2021 13:05:36 +0000 (UTC)
commit b2174a6d2902097f7b9d663fe4d32dea322191f0
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Aug 2 15:04:58 2021 +0200
contacts hpaned, force sensor and race analyzer only show right part (notebook_results)
glade/app1.glade | 2 +-
src/gui/app1/chronojump.cs | 9 +++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index c9eb9d488..84cc4903c 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -7685,7 +7685,7 @@ EncoderInertialCapture</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
- <widget class="GtkVBox"
id="vbox_execute_and_results">
+ <widget class="GtkVBox"
id="vbox_contacts_capture_graph">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">12</property>
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index ac50b4f16..b6aacec70 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -64,6 +64,7 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Notebook notebook_capture_analyze; //not encoder
[Widget] Gtk.Notebook notebook_contacts_execute_or; // execute (page 0), instructions (page 1),
forceSensorAdjust (page 2)
[Widget] Gtk.Notebook notebook_analyze; //not encoder
+ [Widget] Gtk.VBox vbox_contacts_capture_graph;
[Widget] Gtk.HBox hbox_message_permissions_at_boot;
[Widget] Gtk.Label label_message_permissions_at_boot;
[Widget] Gtk.HBox hbox_message_camera_at_boot;
@@ -3428,6 +3429,8 @@ public partial class ChronoJumpWindow
hbox_other.Visible = false;
sensitiveLastTestButtons(false);
+ vbox_contacts_capture_graph.Visible = true;
+
//cancel force capture process if mode is changed
if(capturingForce == arduinoCaptureStatus.STARTING || capturingForce ==
arduinoCaptureStatus.CAPTURING)
{
@@ -3749,6 +3752,9 @@ public partial class ChronoJumpWindow
check_vbox_contacts_graph_legend.Visible = false;
vbox_contacts_graph_legend.Visible = false;
+ //force sensor does not show graph. Its graph it's on right notebook: notebook_results
+ vbox_contacts_capture_graph.Visible = false;
+
setLabelContactsExerciseSelected(m);
//better use the followin so we will have the Elastic/not elastic display on mode
change
on_combo_force_sensor_exercise_changed (new object(), new EventArgs ());
@@ -3791,6 +3797,9 @@ public partial class ChronoJumpWindow
check_vbox_contacts_graph_legend.Visible = false;
vbox_contacts_graph_legend.Visible = false;
+ //Race Analyzer does not show graph. Its graphs are on right notebook:
notebook_results
+ vbox_contacts_capture_graph.Visible = false;
+
combo_race_analyzer_device.Active = 0;
forceSensorImageTestChange();
setLabelContactsExerciseSelected(m);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]