scientific-programming-exer.../exam/ex03/main.glade

346 lines
15 KiB
Plaintext
Raw Permalink Normal View History

2019-01-31 16:51:05 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<signal name="destroy" handler="onDestroy" swapped="no"/>
<child>
<object class="GtkNotebook">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="question_view">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Question</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="answer_view">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="placeholder_text" translatable="yes">Answer</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<placeholder/>
</child>
<child>
<object class="GtkButton" id="submit_answer_button">
<property name="label" translatable="yes">Submit Answer</property>
<property name="visible">True</property>
2019-01-31 18:53:49 +00:00
<property name="sensitive">False</property>
2019-01-31 16:51:05 +00:00
<property name="can_focus">True</property>
<property name="receives_default">True</property>
2019-01-31 18:53:49 +00:00
<signal name="clicked" handler="on_submit_answer_button_clicked" swapped="no"/>
2019-01-31 16:51:05 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
2019-01-31 18:53:49 +00:00
<property name="spacing">4</property>
2019-01-31 16:51:05 +00:00
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="answer_was_correct_view">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">No question has been answered </property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="correct_answer_view">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">No question has been answered </property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="next_question_button">
<property name="label" translatable="yes">Next Question</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
2019-01-31 18:53:49 +00:00
<signal name="clicked" handler="on_next_question_button_clicked" swapped="no"/>
2019-01-31 16:51:05 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
2019-01-31 18:53:49 +00:00
<property name="fill">False</property>
<property name="padding">2</property>
2019-01-31 16:51:05 +00:00
<property name="position">3</property>
</packing>
</child>
<child>
<placeholder/>
</child>
</object>
</child>
<child type="tab">
<object class="GtkLabel" id="exercise_frame">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Exercises</property>
</object>
<packing>
<property name="tab_fill">False</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
2019-01-31 18:53:49 +00:00
<property name="spacing">12</property>
2019-01-31 16:51:05 +00:00
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Load questions from file</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkFileChooserButton" id="load_from_file_chooser">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="title" translatable="yes"/>
2019-01-31 18:53:49 +00:00
<signal name="file-set" handler="on_load_from_file_chooser_file_set" swapped="no"/>
2019-01-31 16:51:05 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Manually add question</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkEntry" id="add_question_question_view">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="placeholder_text" translatable="yes">Question</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="add_question_answer_view">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="placeholder_text" translatable="yes">Answer</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="manually_add_submit_button">
<property name="label" translatable="yes">Submit</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<signal name="clicked" handler="on_manually_add_submit_button_clicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">3</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
2019-01-31 18:53:49 +00:00
<property name="spacing">25</property>
2019-01-31 16:51:05 +00:00
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Save questions to file</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
2019-01-31 18:53:49 +00:00
<object class="GtkButton" id="save_questions_to_file_button">
<property name="label" translatable="yes">Save Questions to File</property>
2019-01-31 16:51:05 +00:00
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
2019-01-31 18:53:49 +00:00
<signal name="clicked" handler="on_save_questions_to_file_button_clicked" swapped="no"/>
2019-01-31 16:51:05 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
2019-01-31 18:53:49 +00:00
<property name="position">1</property>
2019-01-31 16:51:05 +00:00
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">4</property>
</packing>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child type="tab">
<object class="GtkLabel" id="settings_frame">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Settings</property>
</object>
<packing>
<property name="position">1</property>
<property name="tab_fill">False</property>
</packing>
</child>
</object>
</child>
</object>
</interface>