php__gtk_vies/vies.glade
Frederic G. Marand 979e72c5ad Updated for 2010 URL of the WSDL contract. Various improvements.
- added vies.png: image of the UI
- added eu_flags.jpg: the photo used in the About box
- glade: added quit PDC handler
- code: updated WSDL URL
- code: new bracing style
- code: pre-launch requirements check
2010-09-21 09:05:15 +00:00

459 lines
20 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
<!--Generated with glade3 3.0.2 on Mon Apr 09 18:38:56 2007 by Marand@PC-OSI-->
<glade-interface>
<widget class="GtkWindow" id="w">
<property name="title" translatable="yes">Check EU VAT ID using VIES</property>
<property name="default_width">320</property>
<property name="default_height">300</property>
<signal name="destroy" handler="on_quit_action"/>
<child>
<widget class="GtkVBox" id="vb">
<property name="visible">True</property>
<property name="spacing">1</property>
<child>
<widget class="GtkMenuBar" id="ab">
<property name="visible">True</property>
<child>
<widget class="GtkMenuItem" id="abc_file">
<property name="visible">True</property>
<property name="label" translatable="yes">_File</property>
<property name="use_underline">True</property>
<child>
<widget class="GtkMenu" id="menu1">
<property name="visible">True</property>
<child>
<widget class="GtkSeparatorMenuItem" id="separatormenuitem1">
<property name="visible">True</property>
</widget>
</child>
<child>
<widget class="GtkMenuItem" id="pdc_save">
<property name="visible">True</property>
<property name="label" translatable="yes">Save</property>
<property name="use_underline">True</property>
</widget>
</child>
<child>
<widget class="GtkMenuItem" id="pdc_quit">
<property name="visible">True</property>
<property name="label" translatable="yes">Quit</property>
<property name="use_underline">True</property>
<signal name="activate" handler="on_quit_action"/>
</widget>
</child>
</widget>
</child>
</widget>
</child>
<child>
<widget class="GtkMenuItem" id="abc_edit">
<property name="visible">True</property>
<property name="label" translatable="yes">_Edit</property>
<property name="use_underline">True</property>
<child>
<widget class="GtkMenu" id="menu2">
<property name="visible">True</property>
<child>
<widget class="GtkMenuItem" id="pdc_preferences">
<property name="visible">True</property>
<property name="label" translatable="yes">_Preferences</property>
<property name="use_underline">True</property>
</widget>
</child>
</widget>
</child>
</widget>
</child>
<child>
<widget class="GtkMenuItem" id="abc_help">
<property name="visible">True</property>
<property name="label" translatable="yes">_Help</property>
<property name="use_underline">True</property>
<child>
<widget class="GtkMenu" id="menu3">
<property name="visible">True</property>
<child>
<widget class="GtkMenuItem" id="pdc_about">
<property name="visible">True</property>
<property name="label" translatable="yes">_About</property>
<property name="use_underline">True</property>
<signal name="activate" handler="on_pdc_about_activate"/>
</widget>
</child>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property name="expand">False</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hb">
<property name="visible">True</property>
<child>
<widget class="GtkComboBox" id="cb_country">
<property name="visible">True</property>
<property name="items" translatable="yes">AT - Austria
BE - Belgium
BG - Bulgaria
CY - Cyprus
CZ - Czech Republic
DE - Germany
DK - Denmark
EE - Estonia
EL - Greece
ES - Spain
FI - Finland
FR - France
GB - United Kingdom
HU - Hungary
IE - Ireland
IT - Italy
LT - Lituhania
LU - Luxembourg
LV - Latvia
MT - Malta
NL - The Netherlands
PL - Poland
PT - Portugal
RO - Romania
SE - Sweden
SI - Slovenia
SK - Slovakia</property>
</widget>
<packing>
<property name="padding">2</property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="en_vat">
<property name="visible">True</property>
</widget>
<packing>
<property name="position">1</property>
</packing>
</child>
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
<child>
<widget class="GtkButton" id="btn">
<property name="visible">True</property>
<property name="border_width">1</property>
<property name="label" translatable="yes">_Check VAT number</property>
<property name="use_underline">True</property>
<signal name="clicked" handler="on_btn_clicked"/>
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="padding">2</property>
<property name="position">2</property>
</packing>
</child>
<child>
<widget class="GtkNotebook" id="nb">
<property name="visible">True</property>
<property name="tab_pos">GTK_POS_BOTTOM</property>
<property name="show_tabs">False</property>
<property name="homogeneous">True</property>
<child>
<widget class="GtkScrolledWindow" id="sw">
<property name="visible">True</property>
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<child>
<widget class="GtkTextView" id="tv">
<property name="visible">True</property>
<property name="text" translatable="yes">This applet allows EU companies to check the validity of
EU VAT registrations according to the official EU VIES
(VAT Information Exchange System) service.
More detail about the service is available at
http://ec.europa.eu/taxation_customs/vies/en/vieshome.htm</property>
</widget>
</child>
</widget>
<packing>
<property name="tab_expand">False</property>
</packing>
</child>
<child>
<placeholder/>
<packing>
<property name="type">tab</property>
</packing>
</child>
<child>
<widget class="GtkTable" id="tbl">
<property name="visible">True</property>
<property name="border_width">1</property>
<property name="n_rows">6</property>
<property name="n_columns">2</property>
<property name="column_spacing">2</property>
<property name="row_spacing">2</property>
<child>
<widget class="GtkLabel" id="lbCountryCode">
<property name="visible">True</property>
<property name="xalign">1</property>
<property name="xpad">5</property>
<property name="label" translatable="yes">Country Code</property>
<property name="single_line_mode">True</property>
</widget>
<packing>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="lbCountryCodeVal">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="xpad">5</property>
<property name="label" translatable="yes">?</property>
<property name="single_line_mode">True</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="lbRequestDateVal">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="xpad">5</property>
<property name="label" translatable="yes">?</property>
<property name="single_line_mode">True</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="lbVatNumberVal">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="xpad">5</property>
<property name="label" translatable="yes">?</property>
<property name="single_line_mode">True</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="lbNameVal">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="xpad">5</property>
<property name="label" translatable="yes">---</property>
<property name="single_line_mode">True</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">4</property>
<property name="bottom_attach">5</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="lbAddressVal">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="xpad">5</property>
<property name="label" translatable="yes">---
</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">5</property>
<property name="bottom_attach">6</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options">GTK_FILL</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="lbVatNumber">
<property name="visible">True</property>
<property name="xalign">1</property>
<property name="xpad">5</property>
<property name="label" translatable="yes">VAT number</property>
<property name="single_line_mode">True</property>
</widget>
<packing>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="lbRequestDate">
<property name="visible">True</property>
<property name="xalign">1</property>
<property name="xpad">5</property>
<property name="label" translatable="yes">Request Date</property>
<property name="single_line_mode">True</property>
</widget>
<packing>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="lbValid">
<property name="visible">True</property>
<property name="xalign">1</property>
<property name="xpad">5</property>
<property name="label" translatable="yes">Valid ?</property>
<property name="single_line_mode">True</property>
</widget>
<packing>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="lbName">
<property name="visible">True</property>
<property name="xalign">1</property>
<property name="xpad">5</property>
<property name="label" translatable="yes">Name</property>
<property name="single_line_mode">True</property>
</widget>
<packing>
<property name="top_attach">4</property>
<property name="bottom_attach">5</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="lbAddress">
<property name="visible">True</property>
<property name="xalign">1</property>
<property name="yalign">0</property>
<property name="xpad">5</property>
<property name="label" translatable="yes">Address</property>
<property name="single_line_mode">True</property>
</widget>
<packing>
<property name="top_attach">5</property>
<property name="bottom_attach">6</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options">GTK_FILL</property>
</packing>
</child>
<child>
<widget class="GtkImage" id="imgValid">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="stock">gtk-dialog-question</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="y_options"></property>
</packing>
</child>
</widget>
<packing>
<property name="position">1</property>
<property name="tab_expand">False</property>
</packing>
</child>
<child>
<placeholder/>
<packing>
<property name="type">tab</property>
</packing>
</child>
</widget>
<packing>
<property name="position">3</property>
</packing>
</child>
<child>
<widget class="GtkStatusbar" id="sb">
<property name="visible">True</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="position">4</property>
</packing>
</child>
</widget>
</child>
</widget>
<widget class="GtkAboutDialog" id="dl_about">
<property name="border_width">5</property>
<property name="title">About VIES Client</property>
<property name="resizable">False</property>
<property name="version">$Id: vies.glade,v 1.2 2010-09-21 09:05:15 fgm Exp $</property>
<property name="copyright" translatable="yes">(c) 2007-2010 Frédéric G. MARAND</property>
<property name="comments" translatable="yes">A PHP-GTK client for the EU
VAT Information Exchange System</property>
<property name="website">http://blog.riff.org/</property>
<property name="website_label" translatable="yes">Riff Blog</property>
<property name="license" translatable="yes">CeCILL 2.0</property>
<property name="authors">Frédéric G. MARAND</property>
<property name="documenters">Frédéric G. MARAND</property>
<property name="artists">Photo:
http://www.flickr.com/photos/jamespaullong/132456441/
Photo normally licensed under CC BY NC ND
Specific ND-exemption for this application
granted by the photo author.</property>
<property name="logo">eu_flags.jpg</property>
<child internal-child="vbox">
<widget class="GtkVBox" id="dl_vb">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK</property>
<property name="spacing">2</property>
<child>
<placeholder/>
</child>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area1">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK</property>
<property name="layout_style">GTK_BUTTONBOX_END</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
</widget>
</child>
</widget>
</glade-interface>