[chronojump] Forcesensor export unsensitive image options



commit 124025ee296454fefd94cf469023aa442afe997f
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Mar 26 12:47:53 2021 +0100

    Forcesensor export unsensitive image options

 glade/app1.glade                   | 32 +++++++++++++++++++-------------
 src/gui/app1/forceSensorAnalyze.cs |  4 ++++
 2 files changed, 23 insertions(+), 13 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index e24fbad6..3b7c8be9 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -24525,6 +24525,9 @@ Concentric</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -25143,7 +25146,7 @@ Concentric</property>
                                                             </packing>
                                                             </child>
                                                             <child>
-                                                            <widget class="GtkHBox" id="hbox199">
+                                                            <widget class="GtkHBox" 
id="hbox_force_sensor_export_images">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">24</property>
@@ -30608,18 +30611,6 @@ 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>
@@ -30656,6 +30647,18 @@ 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>
@@ -39063,6 +39066,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/forceSensorAnalyze.cs b/src/gui/app1/forceSensorAnalyze.cs
index 5fc33ef1..4749bf65 100644
--- a/src/gui/app1/forceSensorAnalyze.cs
+++ b/src/gui/app1/forceSensorAnalyze.cs
@@ -152,6 +152,7 @@ public partial class ChronoJumpWindow
 
        [Widget] Gtk.Notebook notebook_force_sensor_export;
        [Widget] Gtk.Label label_force_sensor_export_data;
+       [Widget] Gtk.HBox hbox_force_sensor_export_images;
        [Widget] Gtk.CheckButton check_force_sensor_export_images;
        [Widget] Gtk.HBox hbox_force_sensor_export_width_height;
        [Widget] Gtk.SpinButton spinbutton_force_sensor_export_image_width;
@@ -753,6 +754,7 @@ public partial class ChronoJumpWindow
                forceSensorButtonsSensitive(false);
                hbox_force_sensor_analyze_top_modes.Sensitive = false;
                button_force_sensor_analyze_options.Sensitive = false;
+               hbox_force_sensor_export_images.Sensitive = false;
 
                //store new width/height if changed
                Sqlite.Open();
@@ -813,6 +815,7 @@ public partial class ChronoJumpWindow
                        forceSensorButtonsSensitive(true);
                        hbox_force_sensor_analyze_top_modes.Sensitive = true;
                        button_force_sensor_analyze_options.Sensitive = true;
+                       hbox_force_sensor_export_images.Sensitive = true;
                }
        }
        private void on_button_force_sensor_export_file_selected (string selectedFileName)
@@ -832,6 +835,7 @@ public partial class ChronoJumpWindow
                forceSensorButtonsSensitive(true);
                hbox_force_sensor_analyze_top_modes.Sensitive = true;
                button_force_sensor_analyze_options.Sensitive = true;
+               hbox_force_sensor_export_images.Sensitive = true;
        }
 
        private void forceSensorDoGraphAI(bool windowResizedAndZoom)


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