some renaming, creating GuessingSetup scene and LabledSwitch
This commit is contained in:
16
resources/guessing/setup/ui.xml
Normal file
16
resources/guessing/setup/ui.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<template class="GuessingSetupScene" parent="GtkApplicationWindow">
|
||||
<property name="title">Guessing settings</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="content">
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="LabledSwitch" id="hiragana-enable">
|
||||
<!-- <property name="label_text">Enable hiragana?</property> -->
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
</interface>
|
||||
@@ -1,14 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<gresources>
|
||||
<gresource prefix="/org/foxarmy/learn-hieroglyph/">
|
||||
<file compressed="true" preprocess="xml-stripblanks">org.foxarmy.settings.gschema.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">menu/ui.xml</file>
|
||||
|
||||
<file compressed="true" preprocess="xml-stripblanks">guessing/game/ui.xml</file>
|
||||
<!-- <file compressed="true" preprocess="xml-stripblanks">guessing/settings/ui.xml</file> -->
|
||||
<file compressed="true" preprocess="xml-stripblanks">cards/settings/ui.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">guessing/setup/ui.xml</file>
|
||||
|
||||
<!-- <file compressed="true" preprocess="xml-stripblanks">cards/game/ui.xml</file> -->
|
||||
<file compressed="true" preprocess="xml-stripblanks">cards/setup/ui.xml</file>
|
||||
|
||||
<file compressed="true" preprocess="xml-stripblanks">widgets/labled_switch/template.ui.xml</file>
|
||||
</gresource>
|
||||
</gresources>
|
||||
|
||||
16
resources/widgets/labled_switch/template.ui.xml
Normal file
16
resources/widgets/labled_switch/template.ui.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<template class="LabledSwitch" parent="GtkWidget">
|
||||
<!-- <property name="layout-managet">GtkBoxLayout</property> -->
|
||||
<property name="label_text">Practice vocabulary with memory cards</property>
|
||||
<child>
|
||||
<object class="GtkSwitch" id="switch_obj">
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label_obj">
|
||||
<property name="label">There's a question:</property>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
</interface>
|
||||
Reference in New Issue
Block a user