Commit a4c9ab6e authored by Xavier de Blas's avatar Xavier de Blas

button_encoder_monthly_change_current_session for compujump admin user

parent 4d8c39ee
...@@ -1811,6 +1811,9 @@ ...@@ -1811,6 +1811,9 @@
<placeholder/> <placeholder/>
</child> </child>
<child> <child>
<placeholder/>
</child>
<child>
<widget class="GtkLabel" id="label_start_selector_jumps"> <widget class="GtkLabel" id="label_start_selector_jumps">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
...@@ -19185,42 +19188,6 @@ Concentric</property> ...@@ -19185,42 +19188,6 @@ Concentric</property>
<placeholder/> <placeholder/>
</child> </child>
<child> <child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<widget class="GtkLabel" id="label_force_sensor_ai_rfd_a"> <widget class="GtkLabel" id="label_force_sensor_ai_rfd_a">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
...@@ -19529,6 +19496,9 @@ Concentric</property> ...@@ -19529,6 +19496,9 @@ Concentric</property>
<placeholder/> <placeholder/>
</child> </child>
<child> <child>
<placeholder/>
</child>
<child>
<widget class="GtkCheckButton" id="checkbutton_force_sensor_ai_b"> <widget class="GtkCheckButton" id="checkbutton_force_sensor_ai_b">
<property name="width_request">30</property> <property name="width_request">30</property>
<property name="visible">True</property> <property name="visible">True</property>
...@@ -19635,6 +19605,9 @@ Concentric</property> ...@@ -19635,6 +19605,9 @@ Concentric</property>
<child> <child>
<placeholder/> <placeholder/>
</child> </child>
<child>
<placeholder/>
</child>
</widget> </widget>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
...@@ -24390,6 +24363,20 @@ then click this button.</property> ...@@ -24390,6 +24363,20 @@ then click this button.</property>
<property name="position">3</property> <property name="position">3</property>
</packing> </packing>
</child> </child>
<child>
<widget class="GtkButton" id="button_encoder_monthly_change_current_session">
<property name="label" translatable="yes">Change current session</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<signal name="clicked" handler="on_open_activate" swapped="no"/>
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack_type">end</property>
<property name="position">4</property>
</packing>
</child>
</widget> </widget>
<packing> <packing>
<property name="left_attach">1</property> <property name="left_attach">1</property>
...@@ -27910,6 +27897,9 @@ then click this button.</property> ...@@ -27910,6 +27897,9 @@ then click this button.</property>
<child> <child>
<placeholder/> <placeholder/>
</child> </child>
<child>
<placeholder/>
</child>
</widget> </widget>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
...@@ -3214,7 +3214,9 @@ public partial class ChronoJumpWindow ...@@ -3214,7 +3214,9 @@ public partial class ChronoJumpWindow
hbox_encoder_analyze_intersession.Visible = false; hbox_encoder_analyze_intersession.Visible = false;
check_encoder_separate_session_in_days.Active = false; check_encoder_separate_session_in_days.Active = false;
check_encoder_separate_session_in_days.Visible = false; check_encoder_separate_session_in_days.Visible = false;
button_encoder_monthly_change_current_session.Visible = false;
button_encoder_analyze_sensitiveness(); button_encoder_analyze_sensitiveness();
hbox_encoder_analyze_current_signal.Visible = true; hbox_encoder_analyze_current_signal.Visible = true;
...@@ -3267,7 +3269,9 @@ public partial class ChronoJumpWindow ...@@ -3267,7 +3269,9 @@ public partial class ChronoJumpWindow
hbox_encoder_analyze_intersession.Visible = false; hbox_encoder_analyze_intersession.Visible = false;
check_encoder_separate_session_in_days.Active = false; check_encoder_separate_session_in_days.Active = false;
check_encoder_separate_session_in_days.Visible = false; check_encoder_separate_session_in_days.Visible = false;
button_encoder_monthly_change_current_session.Visible = configChronojump.CompujumpUserIsAdmin(currentPerson);
button_encoder_analyze_sensitiveness(); button_encoder_analyze_sensitiveness();
hbox_encoder_analyze_current_signal.Visible = false; hbox_encoder_analyze_current_signal.Visible = false;
...@@ -3308,6 +3312,8 @@ public partial class ChronoJumpWindow ...@@ -3308,6 +3312,8 @@ public partial class ChronoJumpWindow
radiobutton_encoder_analyze_superpose.Visible = false; radiobutton_encoder_analyze_superpose.Visible = false;
radiobutton_encoder_analyze_neuromuscular_profile.Visible = false; radiobutton_encoder_analyze_neuromuscular_profile.Visible = false;
button_encoder_monthly_change_current_session.Visible = false;
showTriggerTab(false); showTriggerTab(false);
} }
...@@ -3332,7 +3338,7 @@ public partial class ChronoJumpWindow ...@@ -3332,7 +3338,7 @@ public partial class ChronoJumpWindow
hbox_encoder_analyze_intersession.Visible = false; hbox_encoder_analyze_intersession.Visible = false;
check_encoder_separate_session_in_days.Active = false; check_encoder_separate_session_in_days.Active = false;
check_encoder_separate_session_in_days.Visible = false; check_encoder_separate_session_in_days.Visible = false;
//this analysis only when not comparing //this analysis only when not comparing
radiobutton_encoder_analyze_instantaneous.Visible = false; radiobutton_encoder_analyze_instantaneous.Visible = false;
radiobutton_encoder_analyze_powerbars.Visible = false; radiobutton_encoder_analyze_powerbars.Visible = false;
...@@ -3342,6 +3348,8 @@ public partial class ChronoJumpWindow ...@@ -3342,6 +3348,8 @@ public partial class ChronoJumpWindow
radiobutton_encoder_analyze_superpose.Visible = false; radiobutton_encoder_analyze_superpose.Visible = false;
radiobutton_encoder_analyze_neuromuscular_profile.Visible = false; radiobutton_encoder_analyze_neuromuscular_profile.Visible = false;
button_encoder_monthly_change_current_session.Visible = false;
showTriggerTab(false); showTriggerTab(false);
} }
......
...@@ -73,6 +73,9 @@ public partial class ChronoJumpWindow ...@@ -73,6 +73,9 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Notebook notebook_encoder_capture_main; [Widget] Gtk.Notebook notebook_encoder_capture_main;
[Widget] Gtk.VBox vbox_treeview_encoder_at_second_page; [Widget] Gtk.VBox vbox_treeview_encoder_at_second_page;
//encoder ...
[Widget] Gtk.Button button_encoder_monthly_change_current_session;
//runsInterval //runsInterval
[Widget] Gtk.HBox hbox_runs_interval_compujump; [Widget] Gtk.HBox hbox_runs_interval_compujump;
[Widget] Gtk.RadioButton radio_run_interval_compujump_5m; [Widget] Gtk.RadioButton radio_run_interval_compujump_5m;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment