]> saetta.ns0.it Git - zakform/tests/commitdiff
Added test for integer with thousand saparators.
authorAndrea Zagli <azagli@libero.it>
Mon, 12 Dec 2016 15:15:57 +0000 (16:15 +0100)
committerAndrea Zagli <azagli@libero.it>
Mon, 12 Dec 2016 15:15:57 +0000 (16:15 +0100)
data/zakformtests/db/main.db
data/zakformtests/gui/main.ui
data/zakformtests/xml/main.xml

index d5d48345fb21c4b045641a5c9f2001fa5341112b..219453daa7d408754f2a2aaf385b1865e8a1c56b 100644 (file)
Binary files a/data/zakformtests/db/main.db and b/data/zakformtests/db/main.db differ
index 43d6b48201127bc3bbd85982c273494be9f34346..4b63601c6c7a65281106ae7709de69027e9d5f4f 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.18.3 -->
+<!-- Generated with glade 3.20.0 -->
 <interface>
   <requires lib="gtk+" version="3.12"/>
   <object class="GtkAdjustment" id="adjustment1">
                 <property name="top_attach">10</property>
               </packing>
             </child>
+            <child>
+              <object class="GtkLabel" id="label33">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="label" translatable="yes">Integer</property>
+                <property name="xalign">0</property>
+              </object>
+              <packing>
+                <property name="left_attach">0</property>
+                <property name="top_attach">11</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="entry5">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="top_attach">11</property>
+              </packing>
+            </child>
           </object>
           <packing>
             <property name="expand">False</property>
         </child>
       </object>
     </child>
+    <child type="titlebar">
+      <placeholder/>
+    </child>
   </object>
 </interface>
index 4ce778dbcbe0867d82b7ef706d6828567c0f6542..24360f0f911a16686c568e63e8268b8828d08b89 100644 (file)
@@ -105,7 +105,7 @@ and                                  some            tabs
        <label>label5</label>
   </element>
 
-    <element type="zak_form_gtk_form_element_entry">
+  <element type="zak_form_gtk_form_element_entry">
        <name>date_from</name>
        <type>datetime</type>
        <format>%d/%m/%Y</format>
@@ -114,7 +114,7 @@ and                                  some            tabs
        <validator type="zak_form_element_validator_date">%d/%m/%Y</validator>
   </element>
 
-    <element type="zak_form_gtk_form_element_entry">
+  <element type="zak_form_gtk_form_element_entry">
        <name>date_to</name>
        <type>datetime</type>
        <format>%d/%m/%Y</format>
@@ -123,6 +123,13 @@ and                                         some            tabs
        <validator type="zak_form_element_validator_date">%d/%m/%Y</validator>
   </element>
 
+  <element type="zak_form_gtk_form_element_entry">
+       <name>useless</name>
+       <type>integer</type>
+       <widget>entry5</widget>
+       <label>label33</label>
+  </element>
+
   <validator type="zak_form_validator_compare_date" type_comp="lt" element1="date_from" format1="%d/%m/%Y" element2="date_to" format2="%d/%m/%Y"></validator>
 
 </zakform>