commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r109 - in gnue-invoice: . forms


From: kilo
Subject: r109 - in gnue-invoice: . forms
Date: Thu, 11 Nov 2004 06:42:20 -0600 (CST)

Author: kilo
Date: 2004-11-11 06:42:18 -0600 (Thu, 11 Nov 2004)
New Revision: 109

Modified:
   gnue-invoice/forms/ITEM_ItemType.gfd
   gnue-invoice/forms/ITEM_UnitType.gfd
   gnue-invoice/forms/TAX_Vat.gfd
   gnue-invoice/news
   gnue-invoice/todo
Log:
GNUe Invoice.
Dialog forms have toolbar too, no need for OK/Cancel buttons then.

Modified: gnue-invoice/forms/ITEM_ItemType.gfd
===================================================================
--- gnue-invoice/forms/ITEM_ItemType.gfd        2004-11-11 11:13:27 UTC (rev 
108)
+++ gnue-invoice/forms/ITEM_ItemType.gfd        2004-11-11 12:42:18 UTC (rev 
109)
@@ -26,12 +26,6 @@
 <form style="dialog" xmlns:c="GNUe:Layout:Char" title="Item type">
   <options/>
   
-  <trigger type="On-Startup">
-    form.setFeature('GUI:MENUBAR:SUPPRESS', True)
-    form.setFeature('GUI:TOOLBAR:SUPPRESS', True)
-    form.setFeature('GUI:STATUSBAR:SUPPRESS', True)
-  </trigger>
-  
   <datasource name="dtsITEM_ItemType" connection="invoice"
               table="ITEM_ItemType"/>
               
@@ -42,7 +36,7 @@
     </block>
   </logic>
   
-  <layout c:height="4" c:width="30">
+  <layout c:height="3" c:width="30">
     <page>
       <label name="lblItem Code:" c:height="1" c:width="5" c:x="1" c:y="1"
           text="Code:"/>
@@ -52,20 +46,6 @@
           text="Value:"/>
       <entry name="entItemValue" c:height="1" c:width="20" c:x="8" c:y="2"
           block="blkITEM_ItemType" field="fldItemValue" label=""/>
-      <button c:x="5" c:y="4" c:width="8" c:height="1" label="Ok">
-        <trigger name="Ok" type="On-Action">
-          if not blkITEM_ItemType.isSaved():
-            blkITEM_ItemType.commit()
-          close()
-        </trigger>
-      </button>
-      <button c:x="15" c:y="4" c:width="8" c:height="1" label="Cancel">
-        <trigger name="Cancel" type="On-Action">
-          if not blkITEM_ItemType.isSaved():
-            blkITEM_ItemType.rollback()
-          close()
-        </trigger>
-      </button>
     </page>
   </layout>
   

Modified: gnue-invoice/forms/ITEM_UnitType.gfd
===================================================================
--- gnue-invoice/forms/ITEM_UnitType.gfd        2004-11-11 11:13:27 UTC (rev 
108)
+++ gnue-invoice/forms/ITEM_UnitType.gfd        2004-11-11 12:42:18 UTC (rev 
109)
@@ -26,12 +26,6 @@
 <form style="dialog" xmlns:c="GNUe:Layout:Char" title="UnitType">
   <options/>
   
-  <trigger type="On-Startup">
-    form.setFeature('GUI:MENUBAR:SUPPRESS', True)
-    form.setFeature('GUI:TOOLBAR:SUPPRESS', True)
-    form.setFeature('GUI:STATUSBAR:SUPPRESS', True)
-  </trigger>
-  
   <datasource name="dtsITEM_UnitType" connection="invoice"
               table="ITEM_UnitType"/>
               
@@ -42,7 +36,7 @@
     </block>
   </logic>
   
-  <layout c:height="4" c:width="30">
+  <layout c:height="3" c:width="30">
     <page>
       <label name="lblItem Code:" c:height="1" c:width="5" c:x="1" c:y="1"
           text="Code:"/>
@@ -52,21 +46,7 @@
           text="Value:"/>
       <entry name="entItemValue" c:height="1" c:width="20" c:x="8" c:y="2"
           block="blkITEM_UnitType" field="fldItemValue" label=""/>
-          <button c:x="5" c:y="4" c:width="8" c:height="1" label="Ok">
-        <trigger name="Ok" type="On-Action">
-          if not blkITEM_UnitType.isSaved():
-            blkITEM_UnitType.commit()
-          close()
-        </trigger>
-      </button>
-      <button c:x="15" c:y="4" c:width="8" c:height="1" label="Cancel">
-        <trigger name="Cancel" type="On-Action">
-          if not blkITEM_UnitType.isSaved():
-            blkITEM_UnitType.rollback()
-          close()
-        </trigger>
-      </button>
-</page>
+    </page>
   </layout>
   
 </form>

Modified: gnue-invoice/forms/TAX_Vat.gfd
===================================================================
--- gnue-invoice/forms/TAX_Vat.gfd      2004-11-11 11:13:27 UTC (rev 108)
+++ gnue-invoice/forms/TAX_Vat.gfd      2004-11-11 12:42:18 UTC (rev 109)
@@ -26,12 +26,6 @@
 <form style="dialog" xmlns:c="GNUe:Layout:Char" title="VAT">
   <options/>
   
-  <trigger type="On-Startup">
-    form.setFeature('GUI:MENUBAR:SUPPRESS', True)
-    form.setFeature('GUI:TOOLBAR:SUPPRESS', True)
-    form.setFeature('GUI:STATUSBAR:SUPPRESS', True)
-  </trigger>
-  
   <datasource name="dtsTAX_Vat" connection="invoice" table="TAX_Vat"/>
   
   <logic>
@@ -48,7 +42,7 @@
     </block>
   </logic>
   
-  <layout c:height="6" c:width="55">
+  <layout c:height="5" c:width="55">
     <page>
       <label name="lblTax Name:" c:height="1" c:width="11" c:x="1" c:y="1"
           text="VAT name:"/>
@@ -66,20 +60,6 @@
           text="Valid until:"/>
       <entry name="entTaxValiduntil" c:height="1" c:width="10" c:x="14" c:y="4"
           block="blkTAX_Vat" field="fldTaxValiduntil" label=""/>
-      <button c:x="5" c:y="6" c:width="8" c:height="1" label="Ok">
-        <trigger name="Ok" type="On-Action">
-          if not blkTAX_Vat.isSaved():
-            blkTAX_Vat.commit()
-          close()
-        </trigger>
-      </button>
-      <button c:x="15" c:y="6" c:width="8" c:height="1" label="Cancel">
-        <trigger name="Cancel" type="On-Action">
-          if not blkTAX_Vat.isSaved():
-            blkTAX_Vat.rollback()
-          close()
-        </trigger>
-      </button>
     </page>
   </layout>
   

Modified: gnue-invoice/news
===================================================================
--- gnue-invoice/news   2004-11-11 11:13:27 UTC (rev 108)
+++ gnue-invoice/news   2004-11-11 12:42:18 UTC (rev 109)
@@ -2,6 +2,12 @@
 *************************
 GNUe Invoice - Project CV
 *************************
+New features / changes by 2004.11.11
+* Converted Item-related forms to use dialogs to edit dropdown valuesets.
+  As dialogs are modal, the dropdown valueset refreshes automaticaly
+  on closing the dialog, so there is no need any further for the '@' button
+  to refresh it manually.
+  
 New features / changes by 2004.10.28
 * Display the display the sum of an invoice line.
 

Modified: gnue-invoice/todo
===================================================================
--- gnue-invoice/todo   2004-11-11 11:13:27 UTC (rev 108)
+++ gnue-invoice/todo   2004-11-11 12:42:18 UTC (rev 109)
@@ -4,6 +4,14 @@
 *************************************
 
 
+PROPERLY INITIALIZE DATE DUE ENTRY
+==================================
+    When producing several invoices continously, it is not cleared after
+    a commit... it shows the previously committed invoice's due date.
+
+    Status: in progress
+
+
 AUTOMATICALLY COMPUTE DATE DUE
 ==============================
     When selecting a payment method, the date due is automatically computed
@@ -14,14 +22,6 @@
         makes an infinite loop
 
 
-PROPERLY INITIALIZE DATE DUE ENTRY
-==================================
-    When producing several invoices continously, it is not cleared after
-    a commit... it shows the previously committed invoice's due date.
-
-    Status: not started
-
-
 DISPLAY AND HANDLE DATE DATA UNIFORMLY
 ======================================
     Now different dates are displayed differently





reply via email to

[Prev in Thread] Current Thread [Next in Thread]