Add Education button programmed
[resumebuilder.git] / resources / resumebuilder.glade
index f9bc334..35c48a5 100644 (file)
@@ -2,6 +2,18 @@
 <!-- Generated with glade 3.22.1 -->
 <interface>
   <requires lib="gtk+" version="3.20"/>
+  <object class="GtkListStore" id="EducationStore">
+    <columns>
+      <!-- column-name Qualification -->
+      <column type="gchararray"/>
+      <!-- column-name Institution -->
+      <column type="gchararray"/>
+      <!-- column-name YearOfPassing -->
+      <column type="guint"/>
+      <!-- column-name GradePercentage -->
+      <column type="gchararray"/>
+    </columns>
+  </object>
   <object class="GtkWindow" id="MainWindow">
     <property name="name">MainWindow</property>
     <property name="can_focus">False</property>
@@ -13,6 +25,7 @@
       <object class="GtkNotebook">
         <property name="visible">True</property>
         <property name="can_focus">True</property>
+        <property name="scrollable">True</property>
         <child>
           <object class="GtkFixed">
             <property name="visible">True</property>
                 <signal name="clicked" handler="SaveButtonClicked" swapped="no"/>
               </object>
               <packing>
-                <property name="x">326</property>
-                <property name="y">424</property>
+                <property name="x">327</property>
+                <property name="y">493</property>
               </packing>
             </child>
             <child>
                 <property name="y">331</property>
               </packing>
             </child>
+            <child>
+              <object class="GtkLabel">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="label" translatable="yes">Contact Number</property>
+              </object>
+              <packing>
+                <property name="x">37</property>
+                <property name="y">423</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="ContactNumber">
+                <property name="width_request">220</property>
+                <property name="height_request">34</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="input_purpose">phone</property>
+              </object>
+              <packing>
+                <property name="x">224</property>
+                <property name="y">415</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel">
+                <property name="width_request">58</property>
+                <property name="height_request">20</property>
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="label" translatable="yes">E-Mail ID</property>
+              </object>
+              <packing>
+                <property name="x">37</property>
+                <property name="y">464</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="Email">
+                <property name="width_request">221</property>
+                <property name="height_request">34</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="input_purpose">email</property>
+              </object>
+              <packing>
+                <property name="x">224</property>
+                <property name="y">454</property>
+              </packing>
+            </child>
           </object>
           <packing>
             <property name="tab_fill">False</property>
           <object class="GtkFixed">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
+            <child>
+              <object class="GtkFrame">
+                <property name="width_request">437</property>
+                <property name="height_request">231</property>
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="label_xalign">0</property>
+                <property name="shadow_type">none</property>
+                <child>
+                  <object class="GtkScrolledWindow">
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="shadow_type">in</property>
+                    <child>
+                      <object class="GtkTreeView" id="EducationList">
+                        <property name="width_request">398</property>
+                        <property name="height_request">260</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="model">EducationStore</property>
+                        <property name="search_column">0</property>
+                        <property name="enable_grid_lines">both</property>
+                        <child internal-child="selection">
+                          <object class="GtkTreeSelection"/>
+                        </child>
+                        <child>
+                          <object class="GtkTreeViewColumn" id="ColQualification">
+                            <property name="title" translatable="yes">Qualification</property>
+                            <child>
+                              <object class="GtkCellRendererText" id="Qual"/>
+                              <attributes>
+                                <attribute name="text">0</attribute>
+                              </attributes>
+                            </child>
+                          </object>
+                        </child>
+                        <child>
+                          <object class="GtkTreeViewColumn" id="ColInstitution">
+                            <property name="title" translatable="yes">Institution</property>
+                            <child>
+                              <object class="GtkCellRendererText" id="Instit"/>
+                              <attributes>
+                                <attribute name="text">1</attribute>
+                              </attributes>
+                            </child>
+                          </object>
+                        </child>
+                        <child>
+                          <object class="GtkTreeViewColumn" id="ColYearofPassing">
+                            <property name="title" translatable="yes">Year of Passing</property>
+                            <child>
+                              <object class="GtkCellRendererText" id="YearPass"/>
+                              <attributes>
+                                <attribute name="text">2</attribute>
+                              </attributes>
+                            </child>
+                          </object>
+                        </child>
+                        <child>
+                          <object class="GtkTreeViewColumn" id="GradeOrPercentage">
+                            <property name="title" translatable="yes">Grade/Percentage</property>
+                            <child>
+                              <object class="GtkCellRendererText" id="GradePerc"/>
+                              <attributes>
+                                <attribute name="text">3</attribute>
+                              </attributes>
+                            </child>
+                          </object>
+                        </child>
+                      </object>
+                    </child>
+                  </object>
+                </child>
+                <child type="label_item">
+                  <placeholder/>
+                </child>
+              </object>
+              <packing>
+                <property name="x">10</property>
+                <property name="y">245</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="label" translatable="yes">Qualification Title</property>
+              </object>
+              <packing>
+                <property name="x">31</property>
+                <property name="y">33</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="QualificationTitle">
+                <property name="width_request">288</property>
+                <property name="height_request">34</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+              </object>
+              <packing>
+                <property name="x">159</property>
+                <property name="y">25</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="label" translatable="yes">Institution</property>
+              </object>
+              <packing>
+                <property name="x">31</property>
+                <property name="y">71</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="InstitutionName">
+                <property name="width_request">287</property>
+                <property name="height_request">34</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+              </object>
+              <packing>
+                <property name="x">159</property>
+                <property name="y">64</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="label" translatable="yes">Year of Passing</property>
+              </object>
+              <packing>
+                <property name="x">31</property>
+                <property name="y">110</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="YearPassing">
+                <property name="width_request">287</property>
+                <property name="height_request">34</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="input_purpose">digits</property>
+              </object>
+              <packing>
+                <property name="x">159</property>
+                <property name="y">104</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="label" translatable="yes">Grade/Percentage</property>
+              </object>
+              <packing>
+                <property name="x">31</property>
+                <property name="y">152</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="GradeOrPercentag">
+                <property name="width_request">287</property>
+                <property name="height_request">34</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="input_purpose">digits</property>
+              </object>
+              <packing>
+                <property name="x">159</property>
+                <property name="y">144</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="AddButton">
+                <property name="label" translatable="yes">Add</property>
+                <property name="width_request">92</property>
+                <property name="height_request">34</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">True</property>
+                <signal name="clicked" handler="AddEducationClicked" swapped="no"/>
+              </object>
+              <packing>
+                <property name="x">159</property>
+                <property name="y">198</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="UpdateButton">
+                <property name="label" translatable="yes">Update</property>
+                <property name="width_request">92</property>
+                <property name="height_request">34</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">True</property>
+                <signal name="clicked" handler="UpdateEducationClicked" swapped="no"/>
+              </object>
+              <packing>
+                <property name="x">256</property>
+                <property name="y">198</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="DeleteButton">
+                <property name="label" translatable="yes">Delete</property>
+                <property name="width_request">94</property>
+                <property name="height_request">34</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">True</property>
+                <signal name="clicked" handler="DeleteEducationClicked" swapped="no"/>
+              </object>
+              <packing>
+                <property name="x">353</property>
+                <property name="y">198</property>
+              </packing>
+            </child>
           </object>
           <packing>
             <property name="position">1</property>