Input prodotto singolo

This commit is contained in:
La Programmatrice Verde
2026-01-25 13:50:30 +01:00
parent 52615c33aa
commit bee12abffb
2 changed files with 244 additions and 5 deletions

View File

@@ -23,13 +23,121 @@
<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<EmptySpace min="0" pref="400" max="32767" attributes="0"/>
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="19" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Group type="102" alignment="0" attributes="0">
<Component id="lblPrezzo" max="32767" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="lblQuantita" max="32767" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
<Component id="btnPrezzo" min="-2" max="-2" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="btnQuantita" min="-2" max="-2" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
<Component id="txtPrezzo" min="-2" pref="109" max="-2" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="txtQuantita" max="32767" attributes="0"/>
</Group>
</Group>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="btnImportoTotale" min="-2" max="-2" attributes="0"/>
<Group type="102" attributes="0">
<Component id="txtImportoTotale" pref="101" max="32767" attributes="0"/>
<EmptySpace min="-2" pref="27" max="-2" attributes="0"/>
<Component id="btnAggiungi" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="22" max="-2" attributes="0"/>
</Group>
<Component id="lblImportoTotale" max="32767" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<EmptySpace min="0" pref="300" max="32767" attributes="0"/>
<Group type="102" alignment="0" attributes="0">
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="lblPrezzo" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="lblQuantita" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="lblImportoTotale" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="26" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="txtPrezzo" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="txtQuantita" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="txtImportoTotale" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="btnAggiungi" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="26" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="btnPrezzo" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="btnQuantita" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="btnImportoTotale" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace pref="23" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
</Layout>
<SubComponents>
<Component class="javax.swing.JLabel" name="lblPrezzo">
<Properties>
<Property name="text" type="java.lang.String" value="Prezzo"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="lblQuantita">
<Properties>
<Property name="text" type="java.lang.String" value="Quantit&#xe0;"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="lblImportoTotale">
<Properties>
<Property name="text" type="java.lang.String" value="Importo totale"/>
</Properties>
</Component>
<Component class="javax.swing.JTextField" name="txtPrezzo">
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtPrezzoActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JTextField" name="txtQuantita">
<Events>
<EventHandler event="focusGained" listener="java.awt.event.FocusListener" parameters="java.awt.event.FocusEvent" handler="txtQuantitaFocusGained"/>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtQuantitaActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JTextField" name="txtImportoTotale">
<Properties>
<Property name="editable" type="boolean" value="false"/>
</Properties>
</Component>
<Component class="javax.swing.JButton" name="btnAggiungi">
<Properties>
<Property name="text" type="java.lang.String" value="Aggiungi"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnAggiungiActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JButton" name="btnPrezzo">
<Properties>
<Property name="text" type="java.lang.String" value="Media prezzo"/>
</Properties>
</Component>
<Component class="javax.swing.JButton" name="btnQuantita">
<Properties>
<Property name="text" type="java.lang.String" value="Media quantit&#xe0;"/>
</Properties>
</Component>
<Component class="javax.swing.JButton" name="btnImportoTotale">
<Properties>
<Property name="text" type="java.lang.String" value="Tot. vendite"/>
</Properties>
</Component>
</SubComponents>
</Form>