-rw-r--r-- | noncore/net/wellenreiter/gui/configbase.ui | 193 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/gps.cpp | 17 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/gps.h | 19 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/gui.pro | 6 |
4 files changed, 231 insertions, 4 deletions
diff --git a/noncore/net/wellenreiter/gui/configbase.ui b/noncore/net/wellenreiter/gui/configbase.ui index 554fc29..c1da98d 100644 --- a/noncore/net/wellenreiter/gui/configbase.ui +++ b/noncore/net/wellenreiter/gui/configbase.ui | |||
@@ -1,207 +1,207 @@ | |||
1 | <!DOCTYPE UI><UI> | 1 | <!DOCTYPE UI><UI> |
2 | <class>WellenreiterConfigBase</class> | 2 | <class>WellenreiterConfigBase</class> |
3 | <widget> | 3 | <widget> |
4 | <class>QDialog</class> | 4 | <class>QDialog</class> |
5 | <property stdset="1"> | 5 | <property stdset="1"> |
6 | <name>name</name> | 6 | <name>name</name> |
7 | <cstring>WellenreiterConfigBase</cstring> | 7 | <cstring>WellenreiterConfigBase</cstring> |
8 | </property> | 8 | </property> |
9 | <property stdset="1"> | 9 | <property stdset="1"> |
10 | <name>geometry</name> | 10 | <name>geometry</name> |
11 | <rect> | 11 | <rect> |
12 | <x>0</x> | 12 | <x>0</x> |
13 | <y>0</y> | 13 | <y>0</y> |
14 | <width>230</width> | 14 | <width>286</width> |
15 | <height>287</height> | 15 | <height>280</height> |
16 | </rect> | 16 | </rect> |
17 | </property> | 17 | </property> |
18 | <property stdset="1"> | 18 | <property stdset="1"> |
19 | <name>caption</name> | 19 | <name>caption</name> |
20 | <string>Wellenreiter II COnfiguration Dialog</string> | 20 | <string>Wellenreiter II COnfiguration Dialog</string> |
21 | </property> | 21 | </property> |
22 | <property> | 22 | <property> |
23 | <name>layoutMargin</name> | 23 | <name>layoutMargin</name> |
24 | </property> | 24 | </property> |
25 | <property> | 25 | <property> |
26 | <name>layoutSpacing</name> | 26 | <name>layoutSpacing</name> |
27 | </property> | 27 | </property> |
28 | <grid> | 28 | <grid> |
29 | <property stdset="1"> | 29 | <property stdset="1"> |
30 | <name>margin</name> | 30 | <name>margin</name> |
31 | <number>2</number> | 31 | <number>2</number> |
32 | </property> | 32 | </property> |
33 | <property stdset="1"> | 33 | <property stdset="1"> |
34 | <name>spacing</name> | 34 | <name>spacing</name> |
35 | <number>3</number> | 35 | <number>3</number> |
36 | </property> | 36 | </property> |
37 | <widget row="0" column="0" > | 37 | <widget row="0" column="0" > |
38 | <class>QTabWidget</class> | 38 | <class>QTabWidget</class> |
39 | <property stdset="1"> | 39 | <property stdset="1"> |
40 | <name>name</name> | 40 | <name>name</name> |
41 | <cstring>tab</cstring> | 41 | <cstring>tab</cstring> |
42 | </property> | 42 | </property> |
43 | <property> | 43 | <property> |
44 | <name>layoutMargin</name> | 44 | <name>layoutMargin</name> |
45 | </property> | 45 | </property> |
46 | <property> | 46 | <property> |
47 | <name>layoutSpacing</name> | 47 | <name>layoutSpacing</name> |
48 | </property> | 48 | </property> |
49 | <widget> | 49 | <widget> |
50 | <class>QWidget</class> | 50 | <class>QWidget</class> |
51 | <property stdset="1"> | 51 | <property stdset="1"> |
52 | <name>name</name> | 52 | <name>name</name> |
53 | <cstring>tab</cstring> | 53 | <cstring>tab</cstring> |
54 | </property> | 54 | </property> |
55 | <attribute> | 55 | <attribute> |
56 | <name>title</name> | 56 | <name>title</name> |
57 | <string>Interface</string> | 57 | <string>Interface</string> |
58 | </attribute> | 58 | </attribute> |
59 | <grid> | 59 | <grid> |
60 | <property stdset="1"> | 60 | <property stdset="1"> |
61 | <name>margin</name> | 61 | <name>margin</name> |
62 | <number>5</number> | 62 | <number>5</number> |
63 | </property> | 63 | </property> |
64 | <property stdset="1"> | 64 | <property stdset="1"> |
65 | <name>spacing</name> | 65 | <name>spacing</name> |
66 | <number>3</number> | 66 | <number>3</number> |
67 | </property> | 67 | </property> |
68 | <widget row="0" column="0" > | 68 | <widget row="0" column="0" > |
69 | <class>QLabel</class> | 69 | <class>QLabel</class> |
70 | <property stdset="1"> | 70 | <property stdset="1"> |
71 | <name>name</name> | 71 | <name>name</name> |
72 | <cstring>TextLabel1_2</cstring> | 72 | <cstring>TextLabel1_2</cstring> |
73 | </property> | 73 | </property> |
74 | <property stdset="1"> | 74 | <property stdset="1"> |
75 | <name>enabled</name> | 75 | <name>enabled</name> |
76 | <bool>true</bool> | 76 | <bool>true</bool> |
77 | </property> | 77 | </property> |
78 | <property stdset="1"> | 78 | <property stdset="1"> |
79 | <name>text</name> | 79 | <name>text</name> |
80 | <string>Name:</string> | 80 | <string>Name:</string> |
81 | </property> | 81 | </property> |
82 | </widget> | 82 | </widget> |
83 | <widget row="1" column="0" > | 83 | <widget row="1" column="0" > |
84 | <class>QLabel</class> | 84 | <class>QLabel</class> |
85 | <property stdset="1"> | 85 | <property stdset="1"> |
86 | <name>name</name> | 86 | <name>name</name> |
87 | <cstring>TextLabel2_3</cstring> | 87 | <cstring>TextLabel2_3</cstring> |
88 | </property> | 88 | </property> |
89 | <property stdset="1"> | 89 | <property stdset="1"> |
90 | <name>enabled</name> | 90 | <name>enabled</name> |
91 | <bool>true</bool> | 91 | <bool>true</bool> |
92 | </property> | 92 | </property> |
93 | <property stdset="1"> | 93 | <property stdset="1"> |
94 | <name>text</name> | 94 | <name>text</name> |
95 | <string>Driver:</string> | 95 | <string>Driver:</string> |
96 | </property> | 96 | </property> |
97 | </widget> | 97 | </widget> |
98 | <widget row="2" column="0" rowspan="1" colspan="4" > | 98 | <widget row="2" column="0" rowspan="1" colspan="4" > |
99 | <class>QCheckBox</class> | 99 | <class>QCheckBox</class> |
100 | <property stdset="1"> | 100 | <property stdset="1"> |
101 | <name>name</name> | 101 | <name>name</name> |
102 | <cstring>prismHeader</cstring> | 102 | <cstring>prismHeader</cstring> |
103 | </property> | 103 | </property> |
104 | <property stdset="1"> | 104 | <property stdset="1"> |
105 | <name>text</name> | 105 | <name>text</name> |
106 | <string>Use additional PRISM header</string> | 106 | <string>Use additional PRISM header</string> |
107 | </property> | 107 | </property> |
108 | </widget> | 108 | </widget> |
109 | <widget row="6" column="0" rowspan="1" colspan="4" > | 109 | <widget row="6" column="0" rowspan="1" colspan="4" > |
110 | <class>QGroupBox</class> | 110 | <class>QGroupBox</class> |
111 | <property stdset="1"> | 111 | <property stdset="1"> |
112 | <name>name</name> | 112 | <name>name</name> |
113 | <cstring>GroupBox1</cstring> | 113 | <cstring>GroupBox1</cstring> |
114 | </property> | 114 | </property> |
115 | <property stdset="1"> | 115 | <property stdset="1"> |
116 | <name>enabled</name> | 116 | <name>enabled</name> |
117 | <bool>false</bool> | 117 | <bool>false</bool> |
118 | </property> | 118 | </property> |
119 | <property stdset="1"> | 119 | <property stdset="1"> |
120 | <name>title</name> | 120 | <name>title</name> |
121 | <string>Scan on channel</string> | 121 | <string>Scan on channel</string> |
122 | </property> | 122 | </property> |
123 | <property> | 123 | <property> |
124 | <name>layoutMargin</name> | 124 | <name>layoutMargin</name> |
125 | </property> | 125 | </property> |
126 | <property> | 126 | <property> |
127 | <name>layoutSpacing</name> | 127 | <name>layoutSpacing</name> |
128 | </property> | 128 | </property> |
129 | <grid> | 129 | <grid> |
130 | <property stdset="1"> | 130 | <property stdset="1"> |
131 | <name>margin</name> | 131 | <name>margin</name> |
132 | <number>4</number> | 132 | <number>4</number> |
133 | </property> | 133 | </property> |
134 | <property stdset="1"> | 134 | <property stdset="1"> |
135 | <name>spacing</name> | 135 | <name>spacing</name> |
136 | <number>2</number> | 136 | <number>2</number> |
137 | </property> | 137 | </property> |
138 | <widget row="1" column="1" > | 138 | <widget row="1" column="1" > |
139 | <class>QCheckBox</class> | 139 | <class>QCheckBox</class> |
140 | <property stdset="1"> | 140 | <property stdset="1"> |
141 | <name>name</name> | 141 | <name>name</name> |
142 | <cstring>channel6</cstring> | 142 | <cstring>channel6</cstring> |
143 | </property> | 143 | </property> |
144 | <property stdset="1"> | 144 | <property stdset="1"> |
145 | <name>text</name> | 145 | <name>text</name> |
146 | <string>6</string> | 146 | <string>6</string> |
147 | </property> | 147 | </property> |
148 | </widget> | 148 | </widget> |
149 | <widget row="1" column="3" > | 149 | <widget row="1" column="3" > |
150 | <class>QCheckBox</class> | 150 | <class>QCheckBox</class> |
151 | <property stdset="1"> | 151 | <property stdset="1"> |
152 | <name>name</name> | 152 | <name>name</name> |
153 | <cstring>channel8</cstring> | 153 | <cstring>channel8</cstring> |
154 | </property> | 154 | </property> |
155 | <property stdset="1"> | 155 | <property stdset="1"> |
156 | <name>text</name> | 156 | <name>text</name> |
157 | <string>8</string> | 157 | <string>8</string> |
158 | </property> | 158 | </property> |
159 | </widget> | 159 | </widget> |
160 | <widget row="0" column="2" > | 160 | <widget row="0" column="2" > |
161 | <class>QCheckBox</class> | 161 | <class>QCheckBox</class> |
162 | <property stdset="1"> | 162 | <property stdset="1"> |
163 | <name>name</name> | 163 | <name>name</name> |
164 | <cstring>channel2</cstring> | 164 | <cstring>channel2</cstring> |
165 | </property> | 165 | </property> |
166 | <property stdset="1"> | 166 | <property stdset="1"> |
167 | <name>text</name> | 167 | <name>text</name> |
168 | <string>2</string> | 168 | <string>2</string> |
169 | </property> | 169 | </property> |
170 | </widget> | 170 | </widget> |
171 | <widget row="1" column="4" > | 171 | <widget row="1" column="4" > |
172 | <class>QCheckBox</class> | 172 | <class>QCheckBox</class> |
173 | <property stdset="1"> | 173 | <property stdset="1"> |
174 | <name>name</name> | 174 | <name>name</name> |
175 | <cstring>channel9</cstring> | 175 | <cstring>channel9</cstring> |
176 | </property> | 176 | </property> |
177 | <property stdset="1"> | 177 | <property stdset="1"> |
178 | <name>text</name> | 178 | <name>text</name> |
179 | <string>9</string> | 179 | <string>9</string> |
180 | </property> | 180 | </property> |
181 | </widget> | 181 | </widget> |
182 | <widget row="0" column="1" > | 182 | <widget row="0" column="1" > |
183 | <class>QCheckBox</class> | 183 | <class>QCheckBox</class> |
184 | <property stdset="1"> | 184 | <property stdset="1"> |
185 | <name>name</name> | 185 | <name>name</name> |
186 | <cstring>channel1</cstring> | 186 | <cstring>channel1</cstring> |
187 | </property> | 187 | </property> |
188 | <property stdset="1"> | 188 | <property stdset="1"> |
189 | <name>text</name> | 189 | <name>text</name> |
190 | <string>1</string> | 190 | <string>1</string> |
191 | </property> | 191 | </property> |
192 | </widget> | 192 | </widget> |
193 | <widget row="0" column="0" > | 193 | <widget row="0" column="0" > |
194 | <class>QCheckBox</class> | 194 | <class>QCheckBox</class> |
195 | <property stdset="1"> | 195 | <property stdset="1"> |
196 | <name>name</name> | 196 | <name>name</name> |
197 | <cstring>channelAll</cstring> | 197 | <cstring>channelAll</cstring> |
198 | </property> | 198 | </property> |
199 | <property stdset="1"> | 199 | <property stdset="1"> |
200 | <name>text</name> | 200 | <name>text</name> |
201 | <string>All</string> | 201 | <string>All</string> |
202 | </property> | 202 | </property> |
203 | </widget> | 203 | </widget> |
204 | <widget row="2" column="1" > | 204 | <widget row="2" column="1" > |
205 | <class>QCheckBox</class> | 205 | <class>QCheckBox</class> |
206 | <property stdset="1"> | 206 | <property stdset="1"> |
207 | <name>name</name> | 207 | <name>name</name> |
@@ -776,262 +776,451 @@ | |||
776 | <property stdset="1"> | 776 | <property stdset="1"> |
777 | <name>name</name> | 777 | <name>name</name> |
778 | <cstring>GroupBox3</cstring> | 778 | <cstring>GroupBox3</cstring> |
779 | </property> | 779 | </property> |
780 | <property stdset="1"> | 780 | <property stdset="1"> |
781 | <name>enabled</name> | 781 | <name>enabled</name> |
782 | <bool>false</bool> | 782 | <bool>false</bool> |
783 | </property> | 783 | </property> |
784 | <property stdset="1"> | 784 | <property stdset="1"> |
785 | <name>title</name> | 785 | <name>title</name> |
786 | <string>Link Level</string> | 786 | <string>Link Level</string> |
787 | </property> | 787 | </property> |
788 | <grid> | 788 | <grid> |
789 | <property stdset="1"> | 789 | <property stdset="1"> |
790 | <name>margin</name> | 790 | <name>margin</name> |
791 | <number>11</number> | 791 | <number>11</number> |
792 | </property> | 792 | </property> |
793 | <property stdset="1"> | 793 | <property stdset="1"> |
794 | <name>spacing</name> | 794 | <name>spacing</name> |
795 | <number>6</number> | 795 | <number>6</number> |
796 | </property> | 796 | </property> |
797 | <widget row="0" column="0" > | 797 | <widget row="0" column="0" > |
798 | <class>QLabel</class> | 798 | <class>QLabel</class> |
799 | <property stdset="1"> | 799 | <property stdset="1"> |
800 | <name>name</name> | 800 | <name>name</name> |
801 | <cstring>TextLabel1_5</cstring> | 801 | <cstring>TextLabel1_5</cstring> |
802 | </property> | 802 | </property> |
803 | <property stdset="1"> | 803 | <property stdset="1"> |
804 | <name>text</name> | 804 | <name>text</name> |
805 | <string>Fake Mac:</string> | 805 | <string>Fake Mac:</string> |
806 | </property> | 806 | </property> |
807 | </widget> | 807 | </widget> |
808 | <widget row="1" column="0" rowspan="1" colspan="2" > | 808 | <widget row="1" column="0" rowspan="1" colspan="2" > |
809 | <class>QCheckBox</class> | 809 | <class>QCheckBox</class> |
810 | <property stdset="1"> | 810 | <property stdset="1"> |
811 | <name>name</name> | 811 | <name>name</name> |
812 | <cstring>sendProbeRequests</cstring> | 812 | <cstring>sendProbeRequests</cstring> |
813 | </property> | 813 | </property> |
814 | <property stdset="1"> | 814 | <property stdset="1"> |
815 | <name>text</name> | 815 | <name>text</name> |
816 | <string>Send proble requests</string> | 816 | <string>Send proble requests</string> |
817 | </property> | 817 | </property> |
818 | </widget> | 818 | </widget> |
819 | <widget row="0" column="1" > | 819 | <widget row="0" column="1" > |
820 | <class>QComboBox</class> | 820 | <class>QComboBox</class> |
821 | <item> | 821 | <item> |
822 | <property> | 822 | <property> |
823 | <name>text</name> | 823 | <name>text</name> |
824 | <string><automatic></string> | 824 | <string><automatic></string> |
825 | </property> | 825 | </property> |
826 | </item> | 826 | </item> |
827 | <item> | 827 | <item> |
828 | <property> | 828 | <property> |
829 | <name>text</name> | 829 | <name>text</name> |
830 | <string>44:44:44:44:44:44</string> | 830 | <string>44:44:44:44:44:44</string> |
831 | </property> | 831 | </property> |
832 | </item> | 832 | </item> |
833 | <property stdset="1"> | 833 | <property stdset="1"> |
834 | <name>name</name> | 834 | <name>name</name> |
835 | <cstring>fakeMac</cstring> | 835 | <cstring>fakeMac</cstring> |
836 | </property> | 836 | </property> |
837 | <property stdset="1"> | 837 | <property stdset="1"> |
838 | <name>sizePolicy</name> | 838 | <name>sizePolicy</name> |
839 | <sizepolicy> | 839 | <sizepolicy> |
840 | <hsizetype>7</hsizetype> | 840 | <hsizetype>7</hsizetype> |
841 | <vsizetype>0</vsizetype> | 841 | <vsizetype>0</vsizetype> |
842 | </sizepolicy> | 842 | </sizepolicy> |
843 | </property> | 843 | </property> |
844 | <property stdset="1"> | 844 | <property stdset="1"> |
845 | <name>editable</name> | 845 | <name>editable</name> |
846 | <bool>true</bool> | 846 | <bool>true</bool> |
847 | </property> | 847 | </property> |
848 | <property stdset="1"> | 848 | <property stdset="1"> |
849 | <name>currentItem</name> | 849 | <name>currentItem</name> |
850 | <number>1</number> | 850 | <number>1</number> |
851 | </property> | 851 | </property> |
852 | <property stdset="1"> | 852 | <property stdset="1"> |
853 | <name>autoCompletion</name> | 853 | <name>autoCompletion</name> |
854 | <bool>true</bool> | 854 | <bool>true</bool> |
855 | </property> | 855 | </property> |
856 | </widget> | 856 | </widget> |
857 | <widget row="2" column="0" rowspan="1" colspan="2" > | 857 | <widget row="2" column="0" rowspan="1" colspan="2" > |
858 | <class>QCheckBox</class> | 858 | <class>QCheckBox</class> |
859 | <property stdset="1"> | 859 | <property stdset="1"> |
860 | <name>name</name> | 860 | <name>name</name> |
861 | <cstring>tryToAuthenticate</cstring> | 861 | <cstring>tryToAuthenticate</cstring> |
862 | </property> | 862 | </property> |
863 | <property stdset="1"> | 863 | <property stdset="1"> |
864 | <name>text</name> | 864 | <name>text</name> |
865 | <string>Try to authenticate</string> | 865 | <string>Try to authenticate</string> |
866 | </property> | 866 | </property> |
867 | </widget> | 867 | </widget> |
868 | </grid> | 868 | </grid> |
869 | </widget> | 869 | </widget> |
870 | <widget row="0" column="0" > | 870 | <widget row="0" column="0" > |
871 | <class>QCheckBox</class> | 871 | <class>QCheckBox</class> |
872 | <property stdset="1"> | 872 | <property stdset="1"> |
873 | <name>name</name> | 873 | <name>name</name> |
874 | <cstring>enableActiveScanning</cstring> | 874 | <cstring>enableActiveScanning</cstring> |
875 | </property> | 875 | </property> |
876 | <property stdset="1"> | 876 | <property stdset="1"> |
877 | <name>enabled</name> | 877 | <name>enabled</name> |
878 | <bool>false</bool> | 878 | <bool>false</bool> |
879 | </property> | 879 | </property> |
880 | <property stdset="1"> | 880 | <property stdset="1"> |
881 | <name>text</name> | 881 | <name>text</name> |
882 | <string>Enable active scanning</string> | 882 | <string>Enable active scanning</string> |
883 | </property> | 883 | </property> |
884 | </widget> | 884 | </widget> |
885 | <widget row="2" column="0" > | 885 | <widget row="2" column="0" > |
886 | <class>QGroupBox</class> | 886 | <class>QGroupBox</class> |
887 | <property stdset="1"> | 887 | <property stdset="1"> |
888 | <name>name</name> | 888 | <name>name</name> |
889 | <cstring>GroupBox4</cstring> | 889 | <cstring>GroupBox4</cstring> |
890 | </property> | 890 | </property> |
891 | <property stdset="1"> | 891 | <property stdset="1"> |
892 | <name>enabled</name> | 892 | <name>enabled</name> |
893 | <bool>false</bool> | 893 | <bool>false</bool> |
894 | </property> | 894 | </property> |
895 | <property stdset="1"> | 895 | <property stdset="1"> |
896 | <name>title</name> | 896 | <name>title</name> |
897 | <string>IP Level</string> | 897 | <string>IP Level</string> |
898 | </property> | 898 | </property> |
899 | <grid> | 899 | <grid> |
900 | <property stdset="1"> | 900 | <property stdset="1"> |
901 | <name>margin</name> | 901 | <name>margin</name> |
902 | <number>11</number> | 902 | <number>11</number> |
903 | </property> | 903 | </property> |
904 | <property stdset="1"> | 904 | <property stdset="1"> |
905 | <name>spacing</name> | 905 | <name>spacing</name> |
906 | <number>6</number> | 906 | <number>6</number> |
907 | </property> | 907 | </property> |
908 | <widget row="1" column="0" rowspan="1" colspan="2" > | 908 | <widget row="1" column="0" rowspan="1" colspan="2" > |
909 | <class>QCheckBox</class> | 909 | <class>QCheckBox</class> |
910 | <property stdset="1"> | 910 | <property stdset="1"> |
911 | <name>name</name> | 911 | <name>name</name> |
912 | <cstring>CheckBox24</cstring> | 912 | <cstring>CheckBox24</cstring> |
913 | </property> | 913 | </property> |
914 | <property stdset="1"> | 914 | <property stdset="1"> |
915 | <name>text</name> | 915 | <name>text</name> |
916 | <string>Request DHCP Address</string> | 916 | <string>Request DHCP Address</string> |
917 | </property> | 917 | </property> |
918 | </widget> | 918 | </widget> |
919 | <widget row="0" column="0" > | 919 | <widget row="0" column="0" > |
920 | <class>QLabel</class> | 920 | <class>QLabel</class> |
921 | <property stdset="1"> | 921 | <property stdset="1"> |
922 | <name>name</name> | 922 | <name>name</name> |
923 | <cstring>TextLabel1_5_2</cstring> | 923 | <cstring>TextLabel1_5_2</cstring> |
924 | </property> | 924 | </property> |
925 | <property stdset="1"> | 925 | <property stdset="1"> |
926 | <name>text</name> | 926 | <name>text</name> |
927 | <string>Fake IP:</string> | 927 | <string>Fake IP:</string> |
928 | </property> | 928 | </property> |
929 | </widget> | 929 | </widget> |
930 | <widget row="0" column="1" > | 930 | <widget row="0" column="1" > |
931 | <class>QComboBox</class> | 931 | <class>QComboBox</class> |
932 | <item> | 932 | <item> |
933 | <property> | 933 | <property> |
934 | <name>text</name> | 934 | <name>text</name> |
935 | <string>192.168.125.1</string> | 935 | <string>192.168.125.1</string> |
936 | </property> | 936 | </property> |
937 | </item> | 937 | </item> |
938 | <item> | 938 | <item> |
939 | <property> | 939 | <property> |
940 | <name>text</name> | 940 | <name>text</name> |
941 | <string><automatic></string> | 941 | <string><automatic></string> |
942 | </property> | 942 | </property> |
943 | </item> | 943 | </item> |
944 | <property stdset="1"> | 944 | <property stdset="1"> |
945 | <name>name</name> | 945 | <name>name</name> |
946 | <cstring>fakeIP</cstring> | 946 | <cstring>fakeIP</cstring> |
947 | </property> | 947 | </property> |
948 | <property stdset="1"> | 948 | <property stdset="1"> |
949 | <name>sizePolicy</name> | 949 | <name>sizePolicy</name> |
950 | <sizepolicy> | 950 | <sizepolicy> |
951 | <hsizetype>7</hsizetype> | 951 | <hsizetype>7</hsizetype> |
952 | <vsizetype>0</vsizetype> | 952 | <vsizetype>0</vsizetype> |
953 | </sizepolicy> | 953 | </sizepolicy> |
954 | </property> | 954 | </property> |
955 | <property stdset="1"> | 955 | <property stdset="1"> |
956 | <name>editable</name> | 956 | <name>editable</name> |
957 | <bool>true</bool> | 957 | <bool>true</bool> |
958 | </property> | 958 | </property> |
959 | <property stdset="1"> | 959 | <property stdset="1"> |
960 | <name>currentItem</name> | 960 | <name>currentItem</name> |
961 | <number>0</number> | 961 | <number>0</number> |
962 | </property> | 962 | </property> |
963 | </widget> | 963 | </widget> |
964 | </grid> | 964 | </grid> |
965 | </widget> | 965 | </widget> |
966 | </grid> | 966 | </grid> |
967 | </widget> | 967 | </widget> |
968 | <widget> | ||
969 | <class>QWidget</class> | ||
970 | <property stdset="1"> | ||
971 | <name>name</name> | ||
972 | <cstring>tab</cstring> | ||
973 | </property> | ||
974 | <attribute> | ||
975 | <name>title</name> | ||
976 | <string>GPS</string> | ||
977 | </attribute> | ||
978 | <widget> | ||
979 | <class>QLayoutWidget</class> | ||
980 | <property stdset="1"> | ||
981 | <name>name</name> | ||
982 | <cstring>Layout1</cstring> | ||
983 | </property> | ||
984 | <property stdset="1"> | ||
985 | <name>geometry</name> | ||
986 | <rect> | ||
987 | <x>10</x> | ||
988 | <y>40</y> | ||
989 | <width>216</width> | ||
990 | <height>27</height> | ||
991 | </rect> | ||
992 | </property> | ||
993 | <hbox> | ||
994 | <property stdset="1"> | ||
995 | <name>margin</name> | ||
996 | <number>0</number> | ||
997 | </property> | ||
998 | <property stdset="1"> | ||
999 | <name>spacing</name> | ||
1000 | <number>6</number> | ||
1001 | </property> | ||
1002 | <widget> | ||
1003 | <class>QLabel</class> | ||
1004 | <property stdset="1"> | ||
1005 | <name>name</name> | ||
1006 | <cstring>TextLabel1_4</cstring> | ||
1007 | </property> | ||
1008 | <property stdset="1"> | ||
1009 | <name>text</name> | ||
1010 | <string>Host</string> | ||
1011 | </property> | ||
1012 | </widget> | ||
1013 | <widget> | ||
1014 | <class>QComboBox</class> | ||
1015 | <item> | ||
1016 | <property> | ||
1017 | <name>text</name> | ||
1018 | <string>localhost</string> | ||
1019 | </property> | ||
1020 | </item> | ||
1021 | <property stdset="1"> | ||
1022 | <name>name</name> | ||
1023 | <cstring>ComboBox8</cstring> | ||
1024 | </property> | ||
1025 | <property stdset="1"> | ||
1026 | <name>enabled</name> | ||
1027 | <bool>false</bool> | ||
1028 | </property> | ||
1029 | <property stdset="1"> | ||
1030 | <name>editable</name> | ||
1031 | <bool>true</bool> | ||
1032 | </property> | ||
1033 | <property stdset="1"> | ||
1034 | <name>currentItem</name> | ||
1035 | <number>0</number> | ||
1036 | </property> | ||
1037 | </widget> | ||
1038 | <widget> | ||
1039 | <class>QLabel</class> | ||
1040 | <property stdset="1"> | ||
1041 | <name>name</name> | ||
1042 | <cstring>TextLabel2_2</cstring> | ||
1043 | </property> | ||
1044 | <property stdset="1"> | ||
1045 | <name>text</name> | ||
1046 | <string>:</string> | ||
1047 | </property> | ||
1048 | </widget> | ||
1049 | <widget> | ||
1050 | <class>QSpinBox</class> | ||
1051 | <property stdset="1"> | ||
1052 | <name>name</name> | ||
1053 | <cstring>SpinBox2</cstring> | ||
1054 | </property> | ||
1055 | <property stdset="1"> | ||
1056 | <name>enabled</name> | ||
1057 | <bool>false</bool> | ||
1058 | </property> | ||
1059 | <property stdset="1"> | ||
1060 | <name>maxValue</name> | ||
1061 | <number>65535</number> | ||
1062 | </property> | ||
1063 | <property stdset="1"> | ||
1064 | <name>minValue</name> | ||
1065 | <number>1024</number> | ||
1066 | </property> | ||
1067 | <property stdset="1"> | ||
1068 | <name>value</name> | ||
1069 | <number>2947</number> | ||
1070 | </property> | ||
1071 | </widget> | ||
1072 | </hbox> | ||
1073 | </widget> | ||
1074 | <widget> | ||
1075 | <class>QCheckBox</class> | ||
1076 | <property stdset="1"> | ||
1077 | <name>name</name> | ||
1078 | <cstring>enableGPS</cstring> | ||
1079 | </property> | ||
1080 | <property stdset="1"> | ||
1081 | <name>geometry</name> | ||
1082 | <rect> | ||
1083 | <x>10</x> | ||
1084 | <y>10</y> | ||
1085 | <width>199</width> | ||
1086 | <height>21</height> | ||
1087 | </rect> | ||
1088 | </property> | ||
1089 | <property stdset="1"> | ||
1090 | <name>text</name> | ||
1091 | <string>Enable GPS logging w/ gpsd</string> | ||
1092 | </property> | ||
1093 | </widget> | ||
1094 | <widget> | ||
1095 | <class>QCheckBox</class> | ||
1096 | <property stdset="1"> | ||
1097 | <name>name</name> | ||
1098 | <cstring>startGPS</cstring> | ||
1099 | </property> | ||
1100 | <property stdset="1"> | ||
1101 | <name>geometry</name> | ||
1102 | <rect> | ||
1103 | <x>10</x> | ||
1104 | <y>80</y> | ||
1105 | <width>171</width> | ||
1106 | <height>21</height> | ||
1107 | </rect> | ||
1108 | </property> | ||
1109 | <property stdset="1"> | ||
1110 | <name>text</name> | ||
1111 | <string>Start gpsd on localhost</string> | ||
1112 | </property> | ||
1113 | </widget> | ||
1114 | <widget> | ||
1115 | <class>QLineEdit</class> | ||
1116 | <property stdset="1"> | ||
1117 | <name>name</name> | ||
1118 | <cstring>commandGPS</cstring> | ||
1119 | </property> | ||
1120 | <property stdset="1"> | ||
1121 | <name>enabled</name> | ||
1122 | <bool>false</bool> | ||
1123 | </property> | ||
1124 | <property stdset="1"> | ||
1125 | <name>geometry</name> | ||
1126 | <rect> | ||
1127 | <x>10</x> | ||
1128 | <y>110</y> | ||
1129 | <width>210</width> | ||
1130 | <height>22</height> | ||
1131 | </rect> | ||
1132 | </property> | ||
1133 | <property stdset="1"> | ||
1134 | <name>text</name> | ||
1135 | <string>gpsd -p /dev/ttyS3 -s 57600</string> | ||
1136 | </property> | ||
1137 | </widget> | ||
1138 | </widget> | ||
968 | </widget> | 1139 | </widget> |
969 | </grid> | 1140 | </grid> |
970 | </widget> | 1141 | </widget> |
971 | <customwidgets> | 1142 | <customwidgets> |
972 | <customwidget> | 1143 | <customwidget> |
973 | <class>ProtocolListView</class> | 1144 | <class>ProtocolListView</class> |
974 | <header location="local">protolistview.h</header> | 1145 | <header location="local">protolistview.h</header> |
975 | <sizehint> | 1146 | <sizehint> |
976 | <width>100</width> | 1147 | <width>100</width> |
977 | <height>100</height> | 1148 | <height>100</height> |
978 | </sizehint> | 1149 | </sizehint> |
979 | <container>0</container> | 1150 | <container>0</container> |
980 | <sizepolicy> | 1151 | <sizepolicy> |
981 | <hordata>3</hordata> | 1152 | <hordata>3</hordata> |
982 | <verdata>3</verdata> | 1153 | <verdata>3</verdata> |
983 | </sizepolicy> | 1154 | </sizepolicy> |
984 | <pixmap>image0</pixmap> | 1155 | <pixmap>image0</pixmap> |
985 | </customwidget> | 1156 | </customwidget> |
986 | </customwidgets> | 1157 | </customwidgets> |
987 | <images> | 1158 | <images> |
988 | <image> | 1159 | <image> |
989 | <name>image0</name> | 1160 | <name>image0</name> |
990 | <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data> | 1161 | <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data> |
991 | </image> | 1162 | </image> |
992 | </images> | 1163 | </images> |
993 | <connections> | 1164 | <connections> |
994 | <connection> | 1165 | <connection> |
995 | <sender>hopChannels</sender> | 1166 | <sender>hopChannels</sender> |
996 | <signal>toggled(bool)</signal> | 1167 | <signal>toggled(bool)</signal> |
997 | <receiver>hopInterval</receiver> | 1168 | <receiver>hopInterval</receiver> |
998 | <slot>setEnabled(bool)</slot> | 1169 | <slot>setEnabled(bool)</slot> |
999 | </connection> | 1170 | </connection> |
1000 | <connection> | 1171 | <connection> |
1001 | <sender>hopChannels</sender> | 1172 | <sender>hopChannels</sender> |
1002 | <signal>toggled(bool)</signal> | 1173 | <signal>toggled(bool)</signal> |
1003 | <receiver>TextLabel1</receiver> | 1174 | <receiver>TextLabel1</receiver> |
1004 | <slot>setEnabled(bool)</slot> | 1175 | <slot>setEnabled(bool)</slot> |
1005 | </connection> | 1176 | </connection> |
1006 | <connection> | 1177 | <connection> |
1007 | <sender>enableActiveScanning</sender> | 1178 | <sender>enableActiveScanning</sender> |
1008 | <signal>toggled(bool)</signal> | 1179 | <signal>toggled(bool)</signal> |
1009 | <receiver>GroupBox3</receiver> | 1180 | <receiver>GroupBox3</receiver> |
1010 | <slot>setEnabled(bool)</slot> | 1181 | <slot>setEnabled(bool)</slot> |
1011 | </connection> | 1182 | </connection> |
1012 | <connection> | 1183 | <connection> |
1013 | <sender>enableActiveScanning</sender> | 1184 | <sender>enableActiveScanning</sender> |
1014 | <signal>toggled(bool)</signal> | 1185 | <signal>toggled(bool)</signal> |
1015 | <receiver>GroupBox4</receiver> | 1186 | <receiver>GroupBox4</receiver> |
1016 | <slot>setEnabled(bool)</slot> | 1187 | <slot>setEnabled(bool)</slot> |
1017 | </connection> | 1188 | </connection> |
1018 | <connection> | 1189 | <connection> |
1019 | <sender>writeCaptureFile</sender> | 1190 | <sender>writeCaptureFile</sender> |
1020 | <signal>toggled(bool)</signal> | 1191 | <signal>toggled(bool)</signal> |
1021 | <receiver>getCaptureFileName</receiver> | 1192 | <receiver>getCaptureFileName</receiver> |
1022 | <slot>setEnabled(bool)</slot> | 1193 | <slot>setEnabled(bool)</slot> |
1023 | </connection> | 1194 | </connection> |
1024 | <connection> | 1195 | <connection> |
1025 | <sender>writeCaptureFile</sender> | 1196 | <sender>writeCaptureFile</sender> |
1026 | <signal>toggled(bool)</signal> | 1197 | <signal>toggled(bool)</signal> |
1027 | <receiver>captureFileName</receiver> | 1198 | <receiver>captureFileName</receiver> |
1028 | <slot>setEnabled(bool)</slot> | 1199 | <slot>setEnabled(bool)</slot> |
1029 | </connection> | 1200 | </connection> |
1030 | <connection> | 1201 | <connection> |
1031 | <sender>writeCaptureFile</sender> | 1202 | <sender>writeCaptureFile</sender> |
1032 | <signal>toggled(bool)</signal> | 1203 | <signal>toggled(bool)</signal> |
1033 | <receiver>capturePackets</receiver> | 1204 | <receiver>capturePackets</receiver> |
1034 | <slot>setEnabled(bool)</slot> | 1205 | <slot>setEnabled(bool)</slot> |
1035 | </connection> | 1206 | </connection> |
1207 | <connection> | ||
1208 | <sender>enableGPS</sender> | ||
1209 | <signal>toggled(bool)</signal> | ||
1210 | <receiver>ComboBox8</receiver> | ||
1211 | <slot>setEnabled(bool)</slot> | ||
1212 | </connection> | ||
1213 | <connection> | ||
1214 | <sender>enableGPS</sender> | ||
1215 | <signal>toggled(bool)</signal> | ||
1216 | <receiver>SpinBox2</receiver> | ||
1217 | <slot>setEnabled(bool)</slot> | ||
1218 | </connection> | ||
1219 | <connection> | ||
1220 | <sender>startGPS</sender> | ||
1221 | <signal>toggled(bool)</signal> | ||
1222 | <receiver>commandGPS</receiver> | ||
1223 | <slot>setEnabled(bool)</slot> | ||
1224 | </connection> | ||
1036 | </connections> | 1225 | </connections> |
1037 | </UI> | 1226 | </UI> |
diff --git a/noncore/net/wellenreiter/gui/gps.cpp b/noncore/net/wellenreiter/gui/gps.cpp new file mode 100644 index 0000000..c3bff53 --- a/dev/null +++ b/noncore/net/wellenreiter/gui/gps.cpp | |||
@@ -0,0 +1,17 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2003 Michael 'Mickey' Lauer. All rights reserved. | ||
3 | ** | ||
4 | ** This file is part of Opie Environment. | ||
5 | ** | ||
6 | ** This file may be distributed and/or modified under the terms of the | ||
7 | ** GNU General Public License version 2 as published by the Free Software | ||
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
9 | ** packaging of this file. | ||
10 | ** | ||
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
13 | ** | ||
14 | **********************************************************************/ | ||
15 | |||
16 | #include "gps.h" | ||
17 | |||
diff --git a/noncore/net/wellenreiter/gui/gps.h b/noncore/net/wellenreiter/gui/gps.h new file mode 100644 index 0000000..e7c3dce --- a/dev/null +++ b/noncore/net/wellenreiter/gui/gps.h | |||
@@ -0,0 +1,19 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2003 Michael 'Mickey' Lauer. All rights reserved. | ||
3 | ** | ||
4 | ** This file is part of Opie Environment. | ||
5 | ** | ||
6 | ** This file may be distributed and/or modified under the terms of the | ||
7 | ** GNU General Public License version 2 as published by the Free Software | ||
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
9 | ** packaging of this file. | ||
10 | ** | ||
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
13 | ** | ||
14 | **********************************************************************/ | ||
15 | |||
16 | #ifndef GPS_H | ||
17 | #define GPS_H | ||
18 | |||
19 | #endif // GPS_H | ||
diff --git a/noncore/net/wellenreiter/gui/gui.pro b/noncore/net/wellenreiter/gui/gui.pro index ee239a3..5ff4290 100644 --- a/noncore/net/wellenreiter/gui/gui.pro +++ b/noncore/net/wellenreiter/gui/gui.pro | |||
@@ -1,65 +1,67 @@ | |||
1 | MOC_DIR = ./tmp | 1 | MOC_DIR = ./tmp |
2 | OBJECTS_DIR = ./tmp | 2 | OBJECTS_DIR = ./tmp |
3 | DESTDIR = $(OPIEDIR)/bin | 3 | DESTDIR = $(OPIEDIR)/bin |
4 | TEMPLATE = app | 4 | TEMPLATE = app |
5 | CONFIG = qt warn_on debug | 5 | CONFIG = qt warn_on debug |
6 | 6 | ||
7 | HEADERS = wellenreiterbase.h \ | 7 | HEADERS = wellenreiterbase.h \ |
8 | mainwindow.h \ | 8 | mainwindow.h \ |
9 | wellenreiter.h \ | 9 | wellenreiter.h \ |
10 | scanlist.h \ | 10 | scanlist.h \ |
11 | logwindow.h \ | 11 | logwindow.h \ |
12 | hexwindow.h \ | 12 | hexwindow.h \ |
13 | statwindow.h \ | 13 | statwindow.h \ |
14 | configwindow.h \ | 14 | configwindow.h \ |
15 | graphwindow.h \ | 15 | graphwindow.h \ |
16 | protolistview.h | 16 | protolistview.h \ |
17 | gps.h | ||
17 | 18 | ||
18 | SOURCES = main.cpp \ | 19 | SOURCES = main.cpp \ |
19 | mainwindow.cpp \ | 20 | mainwindow.cpp \ |
20 | wellenreiterbase.cpp \ | 21 | wellenreiterbase.cpp \ |
21 | wellenreiter.cpp \ | 22 | wellenreiter.cpp \ |
22 | scanlist.cpp \ | 23 | scanlist.cpp \ |
23 | logwindow.cpp \ | 24 | logwindow.cpp \ |
24 | hexwindow.cpp \ | 25 | hexwindow.cpp \ |
25 | statwindow.cpp \ | 26 | statwindow.cpp \ |
26 | configwindow.cpp \ | 27 | configwindow.cpp \ |
27 | graphwindow.cpp \ | 28 | graphwindow.cpp \ |
28 | protolistview.cpp | 29 | protolistview.cpp \ |
30 | gps.cpp | ||
29 | 31 | ||
30 | INCLUDEPATH += $(OPIEDIR)/include | 32 | INCLUDEPATH += $(OPIEDIR)/include |
31 | DEPENDPATH += $(OPIEDIR)/include | 33 | DEPENDPATH += $(OPIEDIR)/include |
32 | INTERFACES = configbase.ui | 34 | INTERFACES = configbase.ui |
33 | TARGET = wellenreiter | 35 | TARGET = wellenreiter |
34 | 36 | ||
35 | !contains( platform, x11 ) { | 37 | !contains( platform, x11 ) { |
36 | message( qws ) | 38 | message( qws ) |
37 | include ( $(OPIEDIR)/include.pro ) | 39 | include ( $(OPIEDIR)/include.pro ) |
38 | LIBS += -lqpe -lopie -lopiecore2 -lopieui2 -lopienet2 -lstdc++ | 40 | LIBS += -lqpe -lopie -lopiecore2 -lopieui2 -lopienet2 -lstdc++ |
39 | } | 41 | } |
40 | 42 | ||
41 | contains( platform, x11 ) { | 43 | contains( platform, x11 ) { |
42 | LIBS += -L$(OPIEDIR)/output/lib -Wl,-rpath,$(OPIEDIR)/output/lib -Wl,-rpath,/usr/local/lib -lwellenreiter | 44 | LIBS += -L$(OPIEDIR)/output/lib -Wl,-rpath,$(OPIEDIR)/output/lib -Wl,-rpath,/usr/local/lib -lwellenreiter |
43 | SOURCES += resource.cpp | 45 | SOURCES += resource.cpp |
44 | HEADERS += resource.h | 46 | HEADERS += resource.h |
45 | DESTDIR = $(OPIEDIR)/output/bin | 47 | DESTDIR = $(OPIEDIR)/output/bin |
46 | } | 48 | } |
47 | 49 | ||
48 | TRANSLATIONS = ../../../../i18n/de/wellenreiter.ts \ | 50 | TRANSLATIONS = ../../../../i18n/de/wellenreiter.ts \ |
49 | ../../../../i18n/nl/wellenreiter.ts \ | 51 | ../../../../i18n/nl/wellenreiter.ts \ |
50 | ../../../../i18n/da/wellenreiter.ts \ | 52 | ../../../../i18n/da/wellenreiter.ts \ |
51 | ../../../../i18n/xx/wellenreiter.ts \ | 53 | ../../../../i18n/xx/wellenreiter.ts \ |
52 | ../../../../i18n/en/wellenreiter.ts \ | 54 | ../../../../i18n/en/wellenreiter.ts \ |
53 | ../../../../i18n/es/wellenreiter.ts \ | 55 | ../../../../i18n/es/wellenreiter.ts \ |
54 | ../../../../i18n/fr/wellenreiter.ts \ | 56 | ../../../../i18n/fr/wellenreiter.ts \ |
55 | ../../../../i18n/hu/wellenreiter.ts \ | 57 | ../../../../i18n/hu/wellenreiter.ts \ |
56 | ../../../../i18n/ja/wellenreiter.ts \ | 58 | ../../../../i18n/ja/wellenreiter.ts \ |
57 | ../../../../i18n/ko/wellenreiter.ts \ | 59 | ../../../../i18n/ko/wellenreiter.ts \ |
58 | ../../../../i18n/no/wellenreiter.ts \ | 60 | ../../../../i18n/no/wellenreiter.ts \ |
59 | ../../../../i18n/pl/wellenreiter.ts \ | 61 | ../../../../i18n/pl/wellenreiter.ts \ |
60 | ../../../../i18n/pt/wellenreiter.ts \ | 62 | ../../../../i18n/pt/wellenreiter.ts \ |
61 | ../../../../i18n/pt_BR/wellenreiter.ts \ | 63 | ../../../../i18n/pt_BR/wellenreiter.ts \ |
62 | ../../../../i18n/sl/wellenreiter.ts \ | 64 | ../../../../i18n/sl/wellenreiter.ts \ |
63 | ../../../../i18n/zh_CN/wellenreiter.ts \ | 65 | ../../../../i18n/zh_CN/wellenreiter.ts \ |
64 | ../../../../i18n/zh_TW/wellenreiter.ts | 66 | ../../../../i18n/zh_TW/wellenreiter.ts |
65 | 67 | ||