ig3tool 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/ig3tool +1 -15
- data/lib/glade/printing.glade +461 -2
- data/lib/glade/products.glade +8 -4
- data/lib/glade/protjes.glade +2884 -0
- data/lib/glade/sales.glade +85 -83
- data/lib/glade/stock_print.png +0 -0
- data/lib/ui/{printenwindow.rb → OLD_printenwindow.rb} +2 -2
- data/lib/ui/automaatwindow.rb +4 -5
- data/lib/ui/gladehelper.rb +22 -10
- data/lib/ui/peoplewindow.rb +9 -2
- data/lib/ui/printingwindow.rb +197 -22
- data/lib/ui/productswindow.rb +23 -2
- data/lib/ui/protjes.rb +850 -0
- data/lib/ui/saleswindow.rb +15 -0
- metadata +8 -5
data/bin/ig3tool
CHANGED
@@ -75,20 +75,6 @@ module Ig3tool
|
|
75
75
|
@klasses <<= klass
|
76
76
|
end
|
77
77
|
|
78
|
-
|
79
|
-
def number_eval_widget(widget)
|
80
|
-
text = widget.text
|
81
|
-
text.strip!
|
82
|
-
text.gsub! /[^\d+\/*()-]/, ""
|
83
|
-
if text =~ /[+\/*()-]/
|
84
|
-
text = begin eval(text).to_s rescue "0" end
|
85
|
-
else
|
86
|
-
text = text.to_i.to_s
|
87
|
-
end
|
88
|
-
widget.text = text
|
89
|
-
0
|
90
|
-
end
|
91
|
-
|
92
78
|
end
|
93
79
|
|
94
80
|
# Toolwindow is het hoofd window
|
@@ -102,7 +88,7 @@ require "ui/peoplewindow"
|
|
102
88
|
require "ui/saleswindow"
|
103
89
|
require "ui/printingwindow.rb"
|
104
90
|
require "ui/newinterne.rb"
|
105
|
-
require "ui/
|
91
|
+
require "ui/protjes.rb"
|
106
92
|
require "ui/loginwindow.rb"
|
107
93
|
|
108
94
|
# Start de grafische interface
|
data/lib/glade/printing.glade
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
2
|
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
3
|
-
<!--Generated with glade3 3.
|
3
|
+
<!--Generated with glade3 3.4.3 on Fri Mar 28 19:20:43 2008 -->
|
4
4
|
<glade-interface>
|
5
5
|
<widget class="GtkWindow" id="window">
|
6
6
|
<property name="visible">True</property>
|
@@ -36,6 +36,7 @@
|
|
36
36
|
<property name="visible">True</property>
|
37
37
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
38
38
|
<property name="border_width">1</property>
|
39
|
+
<property name="label_xalign">0</property>
|
39
40
|
<property name="shadow_type">GTK_SHADOW_NONE</property>
|
40
41
|
<child>
|
41
42
|
<widget class="GtkAlignment" id="alignment1">
|
@@ -554,6 +555,7 @@ all people</property>
|
|
554
555
|
<property name="can_focus">True</property>
|
555
556
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
556
557
|
<property name="headers_visible">False</property>
|
558
|
+
<signal name="button_press_event" handler="log_click"/>
|
557
559
|
<signal name="row_activated" handler="fl_row_activated"/>
|
558
560
|
</widget>
|
559
561
|
</child>
|
@@ -703,13 +705,13 @@ all people</property>
|
|
703
705
|
<widget class="GtkFrame" id="printlog">
|
704
706
|
<property name="visible">True</property>
|
705
707
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
708
|
+
<property name="label_xalign">0</property>
|
706
709
|
<property name="shadow_type">GTK_SHADOW_NONE</property>
|
707
710
|
<child>
|
708
711
|
<widget class="GtkAlignment" id="alignment2">
|
709
712
|
<property name="visible">True</property>
|
710
713
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
711
714
|
<property name="top_padding">10</property>
|
712
|
-
<property name="bottom_padding">10</property>
|
713
715
|
<property name="left_padding">10</property>
|
714
716
|
<property name="right_padding">10</property>
|
715
717
|
<child>
|
@@ -738,6 +740,7 @@ all people</property>
|
|
738
740
|
<property name="headers_clickable">True</property>
|
739
741
|
<property name="enable_search">False</property>
|
740
742
|
<signal name="row_activated" handler="log_row_activated"/>
|
743
|
+
<signal name="button_release_event" handler="biglog_click"/>
|
741
744
|
</widget>
|
742
745
|
</child>
|
743
746
|
</widget>
|
@@ -767,6 +770,22 @@ all people</property>
|
|
767
770
|
<property name="position">1</property>
|
768
771
|
</packing>
|
769
772
|
</child>
|
773
|
+
<child>
|
774
|
+
<widget class="GtkAlignment" id="alignment21">
|
775
|
+
<property name="visible">True</property>
|
776
|
+
<property name="top_padding">5</property>
|
777
|
+
<child>
|
778
|
+
<widget class="GtkLabel" id="log_notification">
|
779
|
+
<property name="visible">True</property>
|
780
|
+
<property name="xalign">1</property>
|
781
|
+
</widget>
|
782
|
+
</child>
|
783
|
+
</widget>
|
784
|
+
<packing>
|
785
|
+
<property name="expand">False</property>
|
786
|
+
<property name="position">2</property>
|
787
|
+
</packing>
|
788
|
+
</child>
|
770
789
|
</widget>
|
771
790
|
</child>
|
772
791
|
</widget>
|
@@ -833,6 +852,446 @@ all people</property>
|
|
833
852
|
<property name="tab_fill">False</property>
|
834
853
|
</packing>
|
835
854
|
</child>
|
855
|
+
<child>
|
856
|
+
<widget class="GtkFrame" id="credits3">
|
857
|
+
<property name="visible">True</property>
|
858
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
859
|
+
<property name="border_width">1</property>
|
860
|
+
<property name="label_xalign">0</property>
|
861
|
+
<property name="shadow_type">GTK_SHADOW_NONE</property>
|
862
|
+
<child>
|
863
|
+
<widget class="GtkAlignment" id="alignment38">
|
864
|
+
<property name="visible">True</property>
|
865
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
866
|
+
<property name="left_padding">12</property>
|
867
|
+
<property name="right_padding">12</property>
|
868
|
+
<child>
|
869
|
+
<widget class="GtkVBox" id="vbox20">
|
870
|
+
<property name="visible">True</property>
|
871
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
872
|
+
<child>
|
873
|
+
<widget class="GtkAlignment" id="alignment39">
|
874
|
+
<property name="visible">True</property>
|
875
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
876
|
+
<child>
|
877
|
+
<widget class="GtkHBox" id="hbox15">
|
878
|
+
<property name="visible">True</property>
|
879
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
880
|
+
<child>
|
881
|
+
<widget class="GtkAlignment" id="alignment40">
|
882
|
+
<property name="width_request">120</property>
|
883
|
+
<property name="visible">True</property>
|
884
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
885
|
+
<property name="top_padding">10</property>
|
886
|
+
<property name="bottom_padding">10</property>
|
887
|
+
<child>
|
888
|
+
<widget class="GtkVBox" id="vbox21">
|
889
|
+
<property name="visible">True</property>
|
890
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
891
|
+
<child>
|
892
|
+
<widget class="GtkAlignment" id="alignment44">
|
893
|
+
<property name="visible">True</property>
|
894
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
895
|
+
<child>
|
896
|
+
<widget class="GtkComboBox" id="alias_debugger">
|
897
|
+
<property name="visible">True</property>
|
898
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
899
|
+
<property name="items" translatable="yes"></property>
|
900
|
+
<signal name="changed" handler="alias_changed"/>
|
901
|
+
</widget>
|
902
|
+
</child>
|
903
|
+
</widget>
|
904
|
+
<packing>
|
905
|
+
<property name="expand">False</property>
|
906
|
+
</packing>
|
907
|
+
</child>
|
908
|
+
<child>
|
909
|
+
<widget class="GtkAlignment" id="alignment45">
|
910
|
+
<property name="visible">True</property>
|
911
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
912
|
+
<property name="top_padding">10</property>
|
913
|
+
<child>
|
914
|
+
<widget class="GtkScrolledWindow" id="scrolledwindow6">
|
915
|
+
<property name="visible">True</property>
|
916
|
+
<property name="can_focus">True</property>
|
917
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
918
|
+
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
919
|
+
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
920
|
+
<property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
|
921
|
+
<child>
|
922
|
+
<widget class="GtkTreeView" id="aliases">
|
923
|
+
<property name="visible">True</property>
|
924
|
+
<property name="can_focus">True</property>
|
925
|
+
<property name="has_focus">True</property>
|
926
|
+
<property name="is_focus">True</property>
|
927
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
928
|
+
<property name="headers_visible">False</property>
|
929
|
+
<property name="rules_hint">True</property>
|
930
|
+
<property name="show_expanders">False</property>
|
931
|
+
<signal name="row_activated" handler="select_alias"/>
|
932
|
+
</widget>
|
933
|
+
</child>
|
934
|
+
</widget>
|
935
|
+
</child>
|
936
|
+
</widget>
|
937
|
+
<packing>
|
938
|
+
<property name="position">1</property>
|
939
|
+
</packing>
|
940
|
+
</child>
|
941
|
+
</widget>
|
942
|
+
</child>
|
943
|
+
</widget>
|
944
|
+
</child>
|
945
|
+
<child>
|
946
|
+
<widget class="GtkAlignment" id="alignment47">
|
947
|
+
<property name="visible">True</property>
|
948
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
949
|
+
<property name="top_padding">10</property>
|
950
|
+
<property name="bottom_padding">10</property>
|
951
|
+
<property name="left_padding">10</property>
|
952
|
+
<property name="right_padding">10</property>
|
953
|
+
<child>
|
954
|
+
<widget class="GtkVSeparator" id="vseparator4">
|
955
|
+
<property name="visible">True</property>
|
956
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
957
|
+
</widget>
|
958
|
+
</child>
|
959
|
+
</widget>
|
960
|
+
<packing>
|
961
|
+
<property name="expand">False</property>
|
962
|
+
<property name="position">1</property>
|
963
|
+
</packing>
|
964
|
+
</child>
|
965
|
+
<child>
|
966
|
+
<widget class="GtkVBox" id="vbox23">
|
967
|
+
<property name="visible">True</property>
|
968
|
+
<child>
|
969
|
+
<widget class="GtkAlignment" id="alignment48">
|
970
|
+
<property name="visible">True</property>
|
971
|
+
<child>
|
972
|
+
<widget class="GtkHBox" id="hbox16">
|
973
|
+
<property name="visible">True</property>
|
974
|
+
<child>
|
975
|
+
<widget class="GtkAlignment" id="alignment49">
|
976
|
+
<property name="visible">True</property>
|
977
|
+
<child>
|
978
|
+
<widget class="GtkVBox" id="vbox28">
|
979
|
+
<property name="visible">True</property>
|
980
|
+
<child>
|
981
|
+
<widget class="GtkLabel" id="label16">
|
982
|
+
<property name="visible">True</property>
|
983
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
984
|
+
<property name="xalign">1</property>
|
985
|
+
<property name="xpad">5</property>
|
986
|
+
<property name="label" translatable="yes">username:</property>
|
987
|
+
</widget>
|
988
|
+
<packing>
|
989
|
+
<property name="padding">5</property>
|
990
|
+
</packing>
|
991
|
+
</child>
|
992
|
+
<child>
|
993
|
+
<widget class="GtkLabel" id="label17">
|
994
|
+
<property name="visible">True</property>
|
995
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
996
|
+
<property name="xalign">1</property>
|
997
|
+
<property name="xpad">5</property>
|
998
|
+
<property name="label" translatable="yes">alias:</property>
|
999
|
+
</widget>
|
1000
|
+
<packing>
|
1001
|
+
<property name="padding">5</property>
|
1002
|
+
<property name="position">1</property>
|
1003
|
+
</packing>
|
1004
|
+
</child>
|
1005
|
+
</widget>
|
1006
|
+
</child>
|
1007
|
+
</widget>
|
1008
|
+
</child>
|
1009
|
+
<child>
|
1010
|
+
<widget class="GtkAlignment" id="alignment50">
|
1011
|
+
<property name="visible">True</property>
|
1012
|
+
<child>
|
1013
|
+
<widget class="GtkVBox" id="vbox29">
|
1014
|
+
<property name="visible">True</property>
|
1015
|
+
<child>
|
1016
|
+
<widget class="GtkEntry" id="alias_username">
|
1017
|
+
<property name="visible">True</property>
|
1018
|
+
<property name="can_focus">True</property>
|
1019
|
+
<property name="has_default">True</property>
|
1020
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1021
|
+
<property name="has_tooltip">True</property>
|
1022
|
+
<property name="tooltip_text">type the username or click a log-item</property>
|
1023
|
+
<property name="activates_default">True</property>
|
1024
|
+
</widget>
|
1025
|
+
</child>
|
1026
|
+
<child>
|
1027
|
+
<widget class="GtkEntry" id="alias_alias">
|
1028
|
+
<property name="visible">True</property>
|
1029
|
+
<property name="can_focus">True</property>
|
1030
|
+
<property name="has_default">True</property>
|
1031
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1032
|
+
<property name="has_tooltip">True</property>
|
1033
|
+
<property name="tooltip_text">type the username or click a log-item</property>
|
1034
|
+
<property name="activates_default">True</property>
|
1035
|
+
</widget>
|
1036
|
+
<packing>
|
1037
|
+
<property name="position">1</property>
|
1038
|
+
</packing>
|
1039
|
+
</child>
|
1040
|
+
</widget>
|
1041
|
+
</child>
|
1042
|
+
</widget>
|
1043
|
+
<packing>
|
1044
|
+
<property name="position">1</property>
|
1045
|
+
</packing>
|
1046
|
+
</child>
|
1047
|
+
</widget>
|
1048
|
+
</child>
|
1049
|
+
</widget>
|
1050
|
+
<packing>
|
1051
|
+
<property name="expand">False</property>
|
1052
|
+
</packing>
|
1053
|
+
</child>
|
1054
|
+
<child>
|
1055
|
+
<widget class="GtkAlignment" id="alignment51">
|
1056
|
+
<property name="visible">True</property>
|
1057
|
+
<child>
|
1058
|
+
<widget class="GtkAlignment" id="alignment52">
|
1059
|
+
<property name="visible">True</property>
|
1060
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1061
|
+
<property name="top_padding">10</property>
|
1062
|
+
<property name="bottom_padding">10</property>
|
1063
|
+
<child>
|
1064
|
+
<widget class="GtkHSeparator" id="hseparator4">
|
1065
|
+
<property name="visible">True</property>
|
1066
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1067
|
+
</widget>
|
1068
|
+
</child>
|
1069
|
+
</widget>
|
1070
|
+
</child>
|
1071
|
+
</widget>
|
1072
|
+
<packing>
|
1073
|
+
<property name="expand">False</property>
|
1074
|
+
<property name="position">1</property>
|
1075
|
+
</packing>
|
1076
|
+
</child>
|
1077
|
+
<child>
|
1078
|
+
<widget class="GtkAlignment" id="alignment58">
|
1079
|
+
<property name="visible">True</property>
|
1080
|
+
<child>
|
1081
|
+
<widget class="GtkVBox" id="vbox30">
|
1082
|
+
<property name="visible">True</property>
|
1083
|
+
<child>
|
1084
|
+
<widget class="GtkAlignment" id="alignment61">
|
1085
|
+
<property name="visible">True</property>
|
1086
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1087
|
+
<property name="xalign">1</property>
|
1088
|
+
<property name="yalign">0</property>
|
1089
|
+
<property name="xscale">0</property>
|
1090
|
+
<property name="yscale">0</property>
|
1091
|
+
<child>
|
1092
|
+
<widget class="GtkHButtonBox" id="hbuttonbox5">
|
1093
|
+
<property name="visible">True</property>
|
1094
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1095
|
+
<child>
|
1096
|
+
<widget class="GtkButton" id="apply4">
|
1097
|
+
<property name="visible">True</property>
|
1098
|
+
<property name="can_focus">True</property>
|
1099
|
+
<property name="receives_default">True</property>
|
1100
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1101
|
+
<property name="label" translatable="yes">gtk-apply</property>
|
1102
|
+
<property name="use_stock">True</property>
|
1103
|
+
<property name="response_id">0</property>
|
1104
|
+
<signal name="clicked" handler="alias_apply"/>
|
1105
|
+
</widget>
|
1106
|
+
</child>
|
1107
|
+
<child>
|
1108
|
+
<widget class="GtkButton" id="clear2">
|
1109
|
+
<property name="visible">True</property>
|
1110
|
+
<property name="can_focus">True</property>
|
1111
|
+
<property name="receives_default">True</property>
|
1112
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1113
|
+
<property name="label" translatable="yes">gtk-cancel</property>
|
1114
|
+
<property name="use_stock">True</property>
|
1115
|
+
<property name="response_id">0</property>
|
1116
|
+
<signal name="clicked" handler="alias_cancel"/>
|
1117
|
+
</widget>
|
1118
|
+
<packing>
|
1119
|
+
<property name="position">1</property>
|
1120
|
+
</packing>
|
1121
|
+
</child>
|
1122
|
+
</widget>
|
1123
|
+
</child>
|
1124
|
+
</widget>
|
1125
|
+
</child>
|
1126
|
+
<child>
|
1127
|
+
<widget class="GtkAlignment" id="alignment63">
|
1128
|
+
<property name="visible">True</property>
|
1129
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1130
|
+
<property name="xalign">1</property>
|
1131
|
+
<property name="yalign">0</property>
|
1132
|
+
<property name="xscale">0</property>
|
1133
|
+
<property name="yscale">0</property>
|
1134
|
+
<property name="top_padding">10</property>
|
1135
|
+
<child>
|
1136
|
+
<widget class="GtkHButtonBox" id="hbuttonbox7">
|
1137
|
+
<property name="visible">True</property>
|
1138
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1139
|
+
<child>
|
1140
|
+
<widget class="GtkButton" id="apply6">
|
1141
|
+
<property name="visible">True</property>
|
1142
|
+
<property name="can_focus">True</property>
|
1143
|
+
<property name="receives_default">True</property>
|
1144
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1145
|
+
<property name="label" translatable="yes">gtk-delete</property>
|
1146
|
+
<property name="use_stock">True</property>
|
1147
|
+
<property name="response_id">0</property>
|
1148
|
+
<signal name="clicked" handler="alias_delete"/>
|
1149
|
+
</widget>
|
1150
|
+
</child>
|
1151
|
+
<child>
|
1152
|
+
<widget class="GtkButton" id="button3">
|
1153
|
+
<property name="visible">True</property>
|
1154
|
+
<property name="can_focus">True</property>
|
1155
|
+
<property name="receives_default">True</property>
|
1156
|
+
<property name="tooltip" translatable="yes">deletes all the aliases for this user</property>
|
1157
|
+
<property name="response_id">0</property>
|
1158
|
+
<signal name="clicked" handler="alias_delete_all"/>
|
1159
|
+
<child>
|
1160
|
+
<widget class="GtkHBox" id="hbox17">
|
1161
|
+
<property name="visible">True</property>
|
1162
|
+
<child>
|
1163
|
+
<widget class="GtkImage" id="image10">
|
1164
|
+
<property name="visible">True</property>
|
1165
|
+
<property name="stock">gtk-delete</property>
|
1166
|
+
</widget>
|
1167
|
+
</child>
|
1168
|
+
<child>
|
1169
|
+
<widget class="GtkLabel" id="label18">
|
1170
|
+
<property name="visible">True</property>
|
1171
|
+
<property name="label" translatable="yes">Delete all</property>
|
1172
|
+
</widget>
|
1173
|
+
<packing>
|
1174
|
+
<property name="position">1</property>
|
1175
|
+
</packing>
|
1176
|
+
</child>
|
1177
|
+
</widget>
|
1178
|
+
</child>
|
1179
|
+
</widget>
|
1180
|
+
<packing>
|
1181
|
+
<property name="position">1</property>
|
1182
|
+
</packing>
|
1183
|
+
</child>
|
1184
|
+
</widget>
|
1185
|
+
</child>
|
1186
|
+
</widget>
|
1187
|
+
<packing>
|
1188
|
+
<property name="position">1</property>
|
1189
|
+
</packing>
|
1190
|
+
</child>
|
1191
|
+
</widget>
|
1192
|
+
</child>
|
1193
|
+
</widget>
|
1194
|
+
<packing>
|
1195
|
+
<property name="expand">False</property>
|
1196
|
+
<property name="position">2</property>
|
1197
|
+
</packing>
|
1198
|
+
</child>
|
1199
|
+
</widget>
|
1200
|
+
<packing>
|
1201
|
+
<property name="position">2</property>
|
1202
|
+
</packing>
|
1203
|
+
</child>
|
1204
|
+
</widget>
|
1205
|
+
</child>
|
1206
|
+
</widget>
|
1207
|
+
</child>
|
1208
|
+
<child>
|
1209
|
+
<widget class="GtkAlignment" id="alignment65">
|
1210
|
+
<property name="visible">True</property>
|
1211
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1212
|
+
<property name="bottom_padding">5</property>
|
1213
|
+
<property name="left_padding">5</property>
|
1214
|
+
<child>
|
1215
|
+
<widget class="GtkLabel" id="alias_notification">
|
1216
|
+
<property name="visible">True</property>
|
1217
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1218
|
+
<property name="xalign">1</property>
|
1219
|
+
<property name="xpad">5</property>
|
1220
|
+
<property name="use_markup">True</property>
|
1221
|
+
<property name="justify">GTK_JUSTIFY_RIGHT</property>
|
1222
|
+
</widget>
|
1223
|
+
</child>
|
1224
|
+
</widget>
|
1225
|
+
<packing>
|
1226
|
+
<property name="expand">False</property>
|
1227
|
+
<property name="fill">False</property>
|
1228
|
+
<property name="position">1</property>
|
1229
|
+
</packing>
|
1230
|
+
</child>
|
1231
|
+
</widget>
|
1232
|
+
</child>
|
1233
|
+
</widget>
|
1234
|
+
</child>
|
1235
|
+
<child>
|
1236
|
+
<widget class="GtkHBox" id="hbox20">
|
1237
|
+
<property name="visible">True</property>
|
1238
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1239
|
+
<child>
|
1240
|
+
<widget class="GtkImage" id="image11">
|
1241
|
+
<property name="visible">True</property>
|
1242
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1243
|
+
<property name="pixbuf">printer_klein.png</property>
|
1244
|
+
</widget>
|
1245
|
+
</child>
|
1246
|
+
<child>
|
1247
|
+
<widget class="GtkLabel" id="label19">
|
1248
|
+
<property name="visible">True</property>
|
1249
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1250
|
+
<property name="label" translatable="yes">ig3tool<b>printaliases</b></property>
|
1251
|
+
<property name="use_markup">True</property>
|
1252
|
+
</widget>
|
1253
|
+
<packing>
|
1254
|
+
<property name="position">1</property>
|
1255
|
+
</packing>
|
1256
|
+
</child>
|
1257
|
+
</widget>
|
1258
|
+
<packing>
|
1259
|
+
<property name="type">label_item</property>
|
1260
|
+
</packing>
|
1261
|
+
</child>
|
1262
|
+
</widget>
|
1263
|
+
<packing>
|
1264
|
+
<property name="position">2</property>
|
1265
|
+
</packing>
|
1266
|
+
</child>
|
1267
|
+
<child>
|
1268
|
+
<widget class="GtkVBox" id="vbox13">
|
1269
|
+
<property name="visible">True</property>
|
1270
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1271
|
+
<child>
|
1272
|
+
<widget class="GtkImage" id="image6">
|
1273
|
+
<property name="visible">True</property>
|
1274
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1275
|
+
<property name="pixbuf">printerlog_xklein.png</property>
|
1276
|
+
</widget>
|
1277
|
+
</child>
|
1278
|
+
<child>
|
1279
|
+
<widget class="GtkLabel" id="label6">
|
1280
|
+
<property name="visible">True</property>
|
1281
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
1282
|
+
<property name="label" translatable="yes">aliases</property>
|
1283
|
+
</widget>
|
1284
|
+
<packing>
|
1285
|
+
<property name="position">1</property>
|
1286
|
+
</packing>
|
1287
|
+
</child>
|
1288
|
+
</widget>
|
1289
|
+
<packing>
|
1290
|
+
<property name="type">tab</property>
|
1291
|
+
<property name="position">2</property>
|
1292
|
+
<property name="tab_fill">False</property>
|
1293
|
+
</packing>
|
1294
|
+
</child>
|
836
1295
|
</widget>
|
837
1296
|
</child>
|
838
1297
|
</widget>
|
data/lib/glade/products.glade
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
<?xml version="1.0" standalone="no"?>
|
2
|
-
<!DOCTYPE glade-interface SYSTEM "
|
3
|
-
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
3
|
+
<!--*- mode: xml -*-->
|
4
4
|
<glade-interface>
|
5
5
|
<widget class="GtkWindow" id="window">
|
6
6
|
<property name="title" translatable="yes">Producten</property>
|
@@ -99,7 +99,8 @@
|
|
99
99
|
<widget class="GtkEntry" id="barcode">
|
100
100
|
<property name="visible">True</property>
|
101
101
|
<property name="can_focus">True</property>
|
102
|
-
<
|
102
|
+
<signal name="delete_text" handler="barcode_del"/>
|
103
|
+
<signal name="insert_text" handler="barcode_ins"/>
|
103
104
|
</widget>
|
104
105
|
<packing>
|
105
106
|
<property name="left_attach">1</property>
|
@@ -231,6 +232,7 @@
|
|
231
232
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
232
233
|
<property name="label" translatable="yes">gtk-clear</property>
|
233
234
|
<property name="use_stock">True</property>
|
235
|
+
<property name="response_id">0</property>
|
234
236
|
<signal name="clicked" handler="btn_clear_clicked_cb"/>
|
235
237
|
</widget>
|
236
238
|
</child>
|
@@ -242,6 +244,7 @@
|
|
242
244
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
243
245
|
<property name="label" translatable="yes">gtk-apply</property>
|
244
246
|
<property name="use_stock">True</property>
|
247
|
+
<property name="response_id">0</property>
|
245
248
|
<signal name="clicked" handler="btn_apply_clicked_cb"/>
|
246
249
|
</widget>
|
247
250
|
<packing>
|
@@ -379,6 +382,7 @@
|
|
379
382
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
380
383
|
<property name="label" translatable="yes">gtk-add</property>
|
381
384
|
<property name="use_stock">True</property>
|
385
|
+
<property name="response_id">0</property>
|
382
386
|
<signal name="clicked" handler="add_button_clicked"/>
|
383
387
|
</widget>
|
384
388
|
<packing>
|