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 @@
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<widget class="GtkLabel" id="label_start_selector_jumps">
<property name="visible">True</property>
<property name="can_focus">False</property>
......@@ -19185,42 +19188,6 @@ Concentric</property>
<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>
<placeholder/>
</child>
<child>
<widget class="GtkLabel" id="label_force_sensor_ai_rfd_a">
<property name="visible">True</property>
<property name="can_focus">False</property>
......@@ -19529,6 +19496,9 @@ Concentric</property>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<widget class="GtkCheckButton" id="checkbutton_force_sensor_ai_b">
<property name="width_request">30</property>
<property name="visible">True</property>
......@@ -19635,6 +19605,9 @@ Concentric</property>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</widget>
<packing>
<property name="expand">False</property>
......@@ -24390,6 +24363,20 @@ then click this button.</property>
<property name="position">3</property>
</packing>
</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>
<packing>
<property name="left_attach">1</property>
......@@ -27910,6 +27897,9 @@ then click this button.</property>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</widget>
<packing>
<property name="expand">False</property>
......@@ -3215,6 +3215,8 @@ public partial class ChronoJumpWindow
check_encoder_separate_session_in_days.Active = false;
check_encoder_separate_session_in_days.Visible = false;
button_encoder_monthly_change_current_session.Visible = false;
button_encoder_analyze_sensitiveness();
hbox_encoder_analyze_current_signal.Visible = true;
......@@ -3268,6 +3270,8 @@ public partial class ChronoJumpWindow
check_encoder_separate_session_in_days.Active = false;
check_encoder_separate_session_in_days.Visible = false;
button_encoder_monthly_change_current_session.Visible = configChronojump.CompujumpUserIsAdmin(currentPerson);
button_encoder_analyze_sensitiveness();
hbox_encoder_analyze_current_signal.Visible = false;
......@@ -3308,6 +3312,8 @@ public partial class ChronoJumpWindow
radiobutton_encoder_analyze_superpose.Visible = false;
radiobutton_encoder_analyze_neuromuscular_profile.Visible = false;
button_encoder_monthly_change_current_session.Visible = false;
showTriggerTab(false);
}
......@@ -3342,6 +3348,8 @@ public partial class ChronoJumpWindow
radiobutton_encoder_analyze_superpose.Visible = false;
radiobutton_encoder_analyze_neuromuscular_profile.Visible = false;
button_encoder_monthly_change_current_session.Visible = false;
showTriggerTab(false);
}
......
......@@ -73,6 +73,9 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Notebook notebook_encoder_capture_main;
[Widget] Gtk.VBox vbox_treeview_encoder_at_second_page;
//encoder ...
[Widget] Gtk.Button button_encoder_monthly_change_current_session;
//runsInterval
[Widget] Gtk.HBox hbox_runs_interval_compujump;
[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