[chronojump] Hidden jump/runsimple graph help (just commented right now)



commit a97e029605cd005f42fb3692f54a0bb4cc85ec4a
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sat Aug 28 10:35:31 2021 +0200

    Hidden jump/runsimple graph help (just commented right now)

 glade/app1.glade           | 31 ++++++++++++++++++-------------
 src/gui/app1/chronojump.cs | 28 ++++++++++++++--------------
 src/gui/eventExecute.cs    | 26 ++++++++++++++------------
 3 files changed, 46 insertions(+), 39 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index cb869695f..998c08043 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -7917,7 +7917,6 @@ EncoderInertialCapture</property>
                                                             </child>
                                                             <child>
                                                             <widget class="GtkAlignment" 
id="align_check_vbox_contacts_graph_legend">
-                                                            <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="bottom_padding">6</property>
                                                             <child>
@@ -25684,6 +25683,9 @@ Concentric</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -31995,6 +31997,18 @@ Concentric</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">6</property>
                                                             <child>
+                                                            <widget class="GtkLabel" 
id="label_video_encoder_tests_will_be_filmed">
+                                                            <property name="can_focus">False</property>
+                                                            <property name="label" translatable="yes">Tests 
will be filmed</property>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="expand">False</property>
+                                                            <property name="fill">False</property>
+                                                            <property name="pack_type">end</property>
+                                                            <property name="position">0</property>
+                                                            </packing>
+                                                            </child>
+                                                            <child>
                                                             <widget class="GtkHBox" 
id="hbox_video_encoder_capturing">
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">4</property>
@@ -32031,18 +32045,6 @@ Concentric</property>
                                                             </packing>
                                                             </child>
                                                             <child>
-                                                            <widget class="GtkLabel" 
id="label_video_encoder_tests_will_be_filmed">
-                                                            <property name="can_focus">False</property>
-                                                            <property name="label" translatable="yes">Tests 
will be filmed</property>
-                                                            </widget>
-                                                            <packing>
-                                                            <property name="expand">False</property>
-                                                            <property name="fill">False</property>
-                                                            <property name="pack_type">end</property>
-                                                            <property name="position">0</property>
-                                                            </packing>
-                                                            </child>
-                                                            <child>
                                                             <widget class="GtkHBox" 
id="hbox_video_encoder_no_capturing">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
@@ -41344,6 +41346,9 @@ then click this button.</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 4265f3799..71a60c564 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -1162,8 +1162,8 @@ public partial class ChronoJumpWindow
                        event_graph_label_graph_test.Visible = true;
                        vbox_contacts_simple_graph_controls.Visible = false;
 
-                       align_check_vbox_contacts_graph_legend.Visible = false;
-                       vbox_contacts_graph_legend.Visible = false;
+                       //align_check_vbox_contacts_graph_legend.Visible = false;
+                       //vbox_contacts_graph_legend.Visible = false;
                }
        }
 
@@ -1177,8 +1177,8 @@ public partial class ChronoJumpWindow
                        event_graph_label_graph_test.Visible = true;
                        vbox_contacts_simple_graph_controls.Visible = false;
 
-                       align_check_vbox_contacts_graph_legend.Visible = false;
-                       vbox_contacts_graph_legend.Visible = false;
+                       //align_check_vbox_contacts_graph_legend.Visible = false;
+                       //vbox_contacts_graph_legend.Visible = false;
                }
        }
 
@@ -3533,7 +3533,7 @@ public partial class ChronoJumpWindow
                                check_run_simple_show_time.Visible = false;
                                button_jumps_simple_capture_save_image.Visible = true;
 
-                               align_check_vbox_contacts_graph_legend.Visible = true;
+                               //align_check_vbox_contacts_graph_legend.Visible = true;
                                //vbox_contacts_graph_legend.Visible = false;
 
                                frame_jumps_automatic.Visible = true;
@@ -3549,8 +3549,8 @@ public partial class ChronoJumpWindow
                                event_graph_label_graph_test.Visible = true;
                                vbox_contacts_simple_graph_controls.Visible = false;
 
-                               align_check_vbox_contacts_graph_legend.Visible = false;
-                               vbox_contacts_graph_legend.Visible = false;
+                               //align_check_vbox_contacts_graph_legend.Visible = false;
+                               //vbox_contacts_graph_legend.Visible = false;
 
                                pixbufModeCurrent = new Pixbuf (null, Util.GetImagePath(false) + 
"image_jump_reactive.png");
                        }
@@ -3594,7 +3594,7 @@ public partial class ChronoJumpWindow
                                check_run_simple_show_time.Visible = true;
                                button_runs_simple_capture_save_image.Visible = true;
 
-                               align_check_vbox_contacts_graph_legend.Visible = true;
+                               //align_check_vbox_contacts_graph_legend.Visible = true;
                                //vbox_contacts_graph_legend.Visible = false;
 
                                frame_run_simple_double_contacts.Visible = true;
@@ -3610,8 +3610,8 @@ public partial class ChronoJumpWindow
                                event_graph_label_graph_test.Visible = true;
                                vbox_contacts_simple_graph_controls.Visible = false;
 
-                               align_check_vbox_contacts_graph_legend.Visible = false;
-                               vbox_contacts_graph_legend.Visible = false;
+                               //align_check_vbox_contacts_graph_legend.Visible = false;
+                               //vbox_contacts_graph_legend.Visible = false;
 
                                createTreeView_runs_interval_sprint (treeview_runs_interval_sprint);
                                pixbufModeCurrent = new Pixbuf (null, Util.GetImagePath(false) + 
"image_run_multiple.png");
@@ -3767,8 +3767,8 @@ public partial class ChronoJumpWindow
                        vbox_contacts_simple_graph_controls.Visible = false;
 
                        radio_change_modes_contacts_force_sensor.Visible = true;
-                       align_check_vbox_contacts_graph_legend.Visible = false;
-                       vbox_contacts_graph_legend.Visible = false;
+                       //align_check_vbox_contacts_graph_legend.Visible = false;
+                       //vbox_contacts_graph_legend.Visible = false;
 
                        setLabelContactsExerciseSelected(m);
                        //better use the followin so we will have the Elastic/not elastic display on mode 
change
@@ -3811,8 +3811,8 @@ public partial class ChronoJumpWindow
                        hbox_race_analyzer_capture_tab_result_views.Visible = true;
                        hbox_change_modes_runs.Visible = true;
 
-                       align_check_vbox_contacts_graph_legend.Visible = false;
-                       vbox_contacts_graph_legend.Visible = false;
+                       //align_check_vbox_contacts_graph_legend.Visible = false;
+                       //vbox_contacts_graph_legend.Visible = false;
 
                        combo_race_analyzer_device.Active = 0;
                        forceSensorImageTestChange();
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index 3e2e0d7b6..73d734a7e 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -77,9 +77,9 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.Table event_execute_table_run_interval_values;
        [Widget] Gtk.Table event_execute_table_pulse_values;
        
-       [Widget] Gtk.Alignment align_check_vbox_contacts_graph_legend;
-       [Widget] Gtk.CheckButton check_vbox_contacts_graph_legend;
-       [Widget] Gtk.VBox vbox_contacts_graph_legend;
+//     [Widget] Gtk.Alignment align_check_vbox_contacts_graph_legend;
+//     [Widget] Gtk.CheckButton check_vbox_contacts_graph_legend;
+//     [Widget] Gtk.VBox vbox_contacts_graph_legend;
 
        //for the color change in the background of the cell label
        //[Widget] Gtk.EventBox event_execute_eventbox_jump_reactive_height;
@@ -331,7 +331,7 @@ public partial class ChronoJumpWindow
                vbox_contacts_simple_graph_controls.Visible = true;
                check_run_simple_show_time.Visible = false;
 
-               align_check_vbox_contacts_graph_legend.Visible = true;
+//             align_check_vbox_contacts_graph_legend.Visible = true;
                //vbox_contacts_graph_legend.Visible = false;
 
                notebook_results_data.Visible = false;
@@ -343,8 +343,8 @@ public partial class ChronoJumpWindow
                event_graph_label_graph_test.Visible = true;
                vbox_contacts_simple_graph_controls.Visible = false;
 
-               align_check_vbox_contacts_graph_legend.Visible = false;
-               vbox_contacts_graph_legend.Visible = false;
+//             align_check_vbox_contacts_graph_legend.Visible = false;
+//             vbox_contacts_graph_legend.Visible = false;
 
                //show reactive info
                event_execute_table_jump_reactive.Show();
@@ -370,7 +370,7 @@ public partial class ChronoJumpWindow
                vbox_contacts_simple_graph_controls.Visible = true;
                check_run_simple_show_time.Visible = true;
 
-               align_check_vbox_contacts_graph_legend.Visible = true;
+//             align_check_vbox_contacts_graph_legend.Visible = true;
                //vbox_contacts_graph_legend.Visible = false;
 
                notebook_results_data.Visible = false;
@@ -381,8 +381,8 @@ public partial class ChronoJumpWindow
                event_graph_label_graph_test.Visible = true;
                vbox_contacts_simple_graph_controls.Visible = false;
 
-               align_check_vbox_contacts_graph_legend.Visible = false;
-               vbox_contacts_graph_legend.Visible = false;
+//             align_check_vbox_contacts_graph_legend.Visible = false;
+//             vbox_contacts_graph_legend.Visible = false;
 
                //show run interval info
                event_execute_table_run_interval.Show();
@@ -404,7 +404,7 @@ public partial class ChronoJumpWindow
                event_graph_label_graph_test.Visible = true;
                vbox_contacts_simple_graph_controls.Visible = false;
 
-               align_check_vbox_contacts_graph_legend.Visible = true;
+//             align_check_vbox_contacts_graph_legend.Visible = true;
                //vbox_contacts_graph_legend.Visible = false;
 
                notebook_results_data.Visible = false;
@@ -415,8 +415,8 @@ public partial class ChronoJumpWindow
                event_graph_label_graph_test.Visible = true;
                vbox_contacts_simple_graph_controls.Visible = false;
 
-               align_check_vbox_contacts_graph_legend.Visible = false;
-               vbox_contacts_graph_legend.Visible = false;
+//             align_check_vbox_contacts_graph_legend.Visible = false;
+               //vbox_contacts_graph_legend.Visible = false;
 
                //show pulse info
                event_execute_table_pulse.Show();
@@ -763,6 +763,7 @@ public partial class ChronoJumpWindow
 
        private void on_check_vbox_contacts_graph_legend_clicked (object o, EventArgs args)
        {
+               /*
                LogB.Information("on_check_vbox_contacts_graph_legend_clicked (), check active: " +
                                check_vbox_contacts_graph_legend.Active.ToString());
 
@@ -770,6 +771,7 @@ public partial class ChronoJumpWindow
                        vbox_contacts_graph_legend.Visible = true;
                else
                        vbox_contacts_graph_legend.Visible = false;
+                       */
        }
 
        // Reactive jump 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]