Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

bluephonedlg.cpp

00001 #include <klocale.h> 00002 /**************************************************************************** 00003 ** Form implementation generated from reading ui file '/home/noopy/bluephone/src/bluephonedlg.ui' 00004 ** 00005 ** Created: Mon Aug 16 22:04:35 2004 00006 ** by: The User Interface Compiler ($Id: qt/main.cpp 3.2.3 edited May 19 14:22 $) 00007 ** 00008 ** WARNING! All changes made in this file will be lost! 00009 ****************************************************************************/ 00010 00011 #include "bluephonedlg.h" 00012 00013 #include <qvariant.h> 00014 #include <qpushbutton.h> 00015 #include <qtabwidget.h> 00016 #include <qwidget.h> 00017 #include <qgroupbox.h> 00018 #include <qlabel.h> 00019 #include <qlineedit.h> 00020 #include <qprogressbar.h> 00021 #include <qheader.h> 00022 #include <qlistview.h> 00023 #include <qbuttongroup.h> 00024 #include <qradiobutton.h> 00025 #include <qspinbox.h> 00026 #include <kled.h> 00027 #include <qlayout.h> 00028 #include <qtooltip.h> 00029 #include <qwhatsthis.h> 00030 #include <qaction.h> 00031 #include <qmenubar.h> 00032 #include <qpopupmenu.h> 00033 #include <qtoolbar.h> 00034 #include <qimage.h> 00035 #include <qpixmap.h> 00036 00037 #include "/home/noopy/bluephone/src/bluephonedlg.ui.h" 00038 static const char* const img0_bluephonedlg[] = { 00039 "22 22 7 1", 00040 ". c None", 00041 "# c #000000", 00042 "b c #292c29", 00043 "c c #5a5d5a", 00044 "d c #838583", 00045 "e c #c5c2c5", 00046 "a c #ffffff", 00047 "......................", 00048 "....##########........", 00049 "....#aaaaaaa#b#.......", 00050 "....#aaaaaaa#cb#......", 00051 "....#aaaaaaa#dcb#.....", 00052 "....#aaaaaaa#edcb#....", 00053 "....#aaaaaaa#aedcb#...", 00054 "....#aaaaaaa#######...", 00055 "....#aaaaaaaaaaaaa#...", 00056 "....#aaaaaaaaaaaaa#...", 00057 "....#aaaaaaaaaaaaa#...", 00058 "....#aaaaaaaaaaaaa#...", 00059 "....#aaaaaaaaaaaaa#...", 00060 "....#aaaaaaaaaaaaa#...", 00061 "....#aaaaaaaaaaaaa#...", 00062 "....#aaaaaaaaaaaaa#...", 00063 "....#aaaaaaaaaaaaa#...", 00064 "....#aaaaaaaaaaaaa#...", 00065 "....#aaaaaaaaaaaaa#...", 00066 "....###############...", 00067 "......................", 00068 "......................"}; 00069 00070 static const char* const img1_bluephonedlg[] = { 00071 "22 22 5 1", 00072 ". c None", 00073 "# c #000000", 00074 "c c #838100", 00075 "a c #ffff00", 00076 "b c #ffffff", 00077 "......................", 00078 "......................", 00079 "......................", 00080 "............####....#.", 00081 "...........#....##.##.", 00082 "..................###.", 00083 ".................####.", 00084 ".####...........#####.", 00085 "#abab##########.......", 00086 "#babababababab#.......", 00087 "#ababababababa#.......", 00088 "#babababababab#.......", 00089 "#ababab###############", 00090 "#babab##cccccccccccc##", 00091 "#abab##cccccccccccc##.", 00092 "#bab##cccccccccccc##..", 00093 "#ab##cccccccccccc##...", 00094 "#b##cccccccccccc##....", 00095 "###cccccccccccc##.....", 00096 "##cccccccccccc##......", 00097 "###############.......", 00098 "......................"}; 00099 00100 static const char* const img2_bluephonedlg[] = { 00101 "22 22 5 1", 00102 ". c None", 00103 "# c #000000", 00104 "a c #838100", 00105 "b c #c5c2c5", 00106 "c c #cdb6d5", 00107 "......................", 00108 ".####################.", 00109 ".#aa#bbbbbbbbbbbb#bb#.", 00110 ".#aa#bbbbbbbbbbbb#bb#.", 00111 ".#aa#bbbbbbbbbcbb####.", 00112 ".#aa#bbbccbbbbbbb#aa#.", 00113 ".#aa#bbbccbbbbbbb#aa#.", 00114 ".#aa#bbbbbbbbbbbb#aa#.", 00115 ".#aa#bbbbbbbbbbbb#aa#.", 00116 ".#aa#bbbbbbbbbbbb#aa#.", 00117 ".#aa#bbbbbbbbbbbb#aa#.", 00118 ".#aaa############aaa#.", 00119 ".#aaaaaaaaaaaaaaaaaa#.", 00120 ".#aaaaaaaaaaaaaaaaaa#.", 00121 ".#aaa#############aa#.", 00122 ".#aaa#########bbb#aa#.", 00123 ".#aaa#########bbb#aa#.", 00124 ".#aaa#########bbb#aa#.", 00125 ".#aaa#########bbb#aa#.", 00126 ".#aaa#########bbb#aa#.", 00127 "..##################..", 00128 "......................"}; 00129 00130 static const char* const img3_bluephonedlg[] = { 00131 "22 22 88 2", 00132 "Qt c None", 00133 ".2 c #000000", 00134 ".S c #08ff08", 00135 "#v c #100810", 00136 ".U c #101010", 00137 "#c c #101018", 00138 ".M c #181018", 00139 "#e c #181818", 00140 ".A c #181820", 00141 ".L c #201820", 00142 "#l c #202020", 00143 ".z c #202029", 00144 "#m c #292029", 00145 "#u c #292829", 00146 "#n c #292831", 00147 ".R c #29ff29", 00148 "#o c #312831", 00149 ".T c #313031", 00150 "#p c #313039", 00151 ".Z c #31ff31", 00152 "#q c #393039", 00153 "#t c #393839", 00154 ".y c #393841", 00155 "#s c #413841", 00156 ".o c #414041", 00157 "#h c #4a4852", 00158 ".n c #5a505a", 00159 "#r c #5a5962", 00160 ".I c #5ace5a", 00161 "#b c #6a616a", 00162 ".p c #6a696a", 00163 ".x c #6a6973", 00164 ".Y c #6aff62", 00165 ".l c #736973", 00166 ".t c #7b717b", 00167 ".s c #7b7183", 00168 ".0 c #7bff7b", 00169 ".r c #837983", 00170 ".u c #83798b", 00171 "#g c #83858b", 00172 ".v c #8b7994", 00173 "#i c #8b858b", 00174 ".w c #8b8594", 00175 "#j c #8b8d8b", 00176 ".8 c #8b8d94", 00177 ".m c #948d94", 00178 "#k c #948d9c", 00179 "#f c #949594", 00180 ".q c #94959c", 00181 ".J c #94c694", 00182 "#d c #9c959c", 00183 "#a c #9c95a4", 00184 ".k c #9c9d9c", 00185 ".N c #9c9da4", 00186 ".H c #9ccea4", 00187 ".K c #a49da4", 00188 "#. c #a49dac", 00189 ".i c #a4a5a4", 00190 ".3 c #a4a5ac", 00191 "## c #ac9dac", 00192 ".V c #aca5ac", 00193 ".d c #acaeac", 00194 ".j c #acaeb4", 00195 ".9 c #b4aeb4", 00196 ".# c #b4b6b4", 00197 ".a c #bdbebd", 00198 ".7 c #bdd6bd", 00199 ".c c #c5c6c5", 00200 ".5 c #cdc6cd", 00201 ".b c #cdcecd", 00202 ".4 c #cdced5", 00203 ".F c #d5ced5", 00204 ".G c #d5cede", 00205 ".h c #d5d6d5", 00206 ".E c #d5d6de", 00207 ".Q c #d5ffd5", 00208 ".B c #ded6de", 00209 ".1 c #ded6e6", 00210 ".g c #dedede", 00211 ".D c #dedee6", 00212 ".6 c #e6dee6", 00213 ".f c #e6e6e6", 00214 ".C c #e6e6ee", 00215 ".X c #e6ffe6", 00216 ".O c #eee6ee", 00217 ".e c #eeeeee", 00218 ".W c #f6f6f6", 00219 ".P c #ffffff", 00220 "QtQtQtQtQtQt.#.a.b.b.b.b.c.c.a.a.d.aQtQtQtQt", 00221 "QtQtQtQtQtQt.a.e.f.f.f.f.f.e.e.e.g.aQtQtQtQt", 00222 "QtQtQtQtQtQt.a.c.c.c.b.b.c.c.c.c.a.cQtQtQtQt", 00223 "QtQtQtQtQtQt.#.a.a.a.a.#.a.a.#.#.d.aQtQtQtQt", 00224 "QtQtQtQtQt.c.d.c.a.c.c.c.a.a.a.c.#QtQtQtQtQt", 00225 "QtQtQtQtQt.a.a.#.a.a.a.a.a.a.c.c.#QtQtQtQtQt", 00226 "QtQtQtQtQt.a.#.c.a.a.a.a.a.c.a.c.dQtQtQtQtQt", 00227 "QtQtQtQtQt.c.a.a.a.a.a.a.a.a.a.a.#QtQtQtQtQt", 00228 "QtQtQtQtQt.d.b.f.g.g.g.g.g.g.h.g.i.i.jQtQtQt", 00229 "QtQtQt.a.k.l.#.h.b.h.b.h.b.h.g.g.m.n.o.p.#Qt", 00230 "QtQt.a.q.r.s.t.t.t.t.t.t.t.u.v.w.x.y.z.A.o.i", 00231 "Qt.a.k.B.C.D.B.E.E.E.E.F.G.H.I.J.K.o.L.L.M.y", 00232 ".a.N.O.P.P.P.P.P.P.P.P.P.Q.R.S.R.b.v.T.A.U.L", 00233 ".V.W.P.P.P.P.P.P.P.P.P.P.X.Y.Z.0.P.1.t.A.2.L", 00234 ".3.E.4.5.4.h.E.E.g.6.D.B.D.E.7.F.4.5.8.M.2.A", 00235 ".m.9.j.V.3#..3.K#.#..i#..K#.###a.q.8#b#c.2.L", 00236 ".m.j.j#..3.K.K.K.N.K.N.N.N.N#a#d#d.w#b#c.2#e", 00237 "#f#.#..K.N.K.N.N.N#a.k#a#d#d#d#a.m#g#b.M.2#h", 00238 ".m.3.K.K#a.k#a#d#a.k#a#d#a#d.q.m.8#i.x#c#e.d", 00239 "#f#g#i.w#j.w#i.8.w#i.8.8.m.8.m#k.8.w#b#e#fQt", 00240 ".#.l.z.A#l.z#m#m#m#n#o#o#p#p#q#q#p#o#p#fQtQt", 00241 "QtQt.d#r#s#s#t#p.T.T.T#u#u.z#e#e#v.o.kQtQtQt"}; 00242 00243 static const char* const img4_bluephonedlg[] = { 00244 "22 22 3 1", 00245 ". c None", 00246 "# c #000083", 00247 "a c #838183", 00248 "......................", 00249 "......................", 00250 "......................", 00251 "......................", 00252 "......................", 00253 "...........######a....", 00254 "..#......##########...", 00255 "..##...####......##a..", 00256 "..###.###.........##..", 00257 "..######..........##..", 00258 "..#####...........##..", 00259 "..######..........##..", 00260 "..#######.........##..", 00261 "..########.......##a..", 00262 "...............a###...", 00263 "...............###....", 00264 "......................", 00265 "......................", 00266 "......................", 00267 "......................", 00268 "......................", 00269 "......................"}; 00270 00271 static const char* const img5_bluephonedlg[] = { 00272 "22 22 3 1", 00273 ". c None", 00274 "a c #000083", 00275 "# c #838183", 00276 "......................", 00277 "......................", 00278 "......................", 00279 "......................", 00280 "......................", 00281 "....#aaaaaa...........", 00282 "...aaaaaaaaaa......a..", 00283 "..#aa......aaaa...aa..", 00284 "..aa.........aaa.aaa..", 00285 "..aa..........aaaaaa..", 00286 "..aa...........aaaaa..", 00287 "..aa..........aaaaaa..", 00288 "..aa.........aaaaaaa..", 00289 "..#aa.......aaaaaaaa..", 00290 "...aaa#...............", 00291 "....aaa...............", 00292 "......................", 00293 "......................", 00294 "......................", 00295 "......................", 00296 "......................", 00297 "......................"}; 00298 00299 static const char* const img6_bluephonedlg[] = { 00300 "22 22 3 1", 00301 ". c None", 00302 "# c #000000", 00303 "a c #000083", 00304 "......................", 00305 ".......#.....#........", 00306 ".......#.....#........", 00307 ".......#.....#........", 00308 ".......#....##........", 00309 ".......##...#.........", 00310 "........#...#.........", 00311 "........##.##.........", 00312 ".........###..........", 00313 ".........###..........", 00314 "..........#...........", 00315 ".........a#a..........", 00316 "........aa.aaa........", 00317 ".......a.a.a..a.......", 00318 "......a..a.a...a......", 00319 ".....a...a.a....a.....", 00320 "....a....a.a....a.....", 00321 "....a....a..a...a.....", 00322 "....a....a..a..a......", 00323 "....a...a....aa.......", 00324 ".....aaa..............", 00325 "......................"}; 00326 00327 static const char* const img7_bluephonedlg[] = { 00328 "22 22 6 1", 00329 ". c None", 00330 "# c #000000", 00331 "b c #000083", 00332 "c c #393cff", 00333 "d c #8b89ff", 00334 "a c #ffffff", 00335 "......................", 00336 "......................", 00337 "########..............", 00338 "#aaaaaa##.............", 00339 "#a####a#a#............", 00340 "#aaaaaa#aa#...........", 00341 "#a####a#bbbbbbbb......", 00342 "#aaaaaa#baaaaaabb.....", 00343 "#a#####aba####abcb....", 00344 "#aaaaaaabaaaaaabdcb...", 00345 "#a#####aba####abadcb..", 00346 "#aaaaaaabaaaaaabbbbbb.", 00347 "#a#####aba####aaaaaab.", 00348 "#aaaaaaabaaaaaaaaaaab.", 00349 "#a#####aba#########ab.", 00350 "#aaaaaaabaaaaaaaaaaab.", 00351 "########ba#########ab.", 00352 "........baaaaaaaaaaab.", 00353 "........ba#########ab.", 00354 "........baaaaaaaaaaab.", 00355 "........bbbbbbbbbbbbb.", 00356 "......................"}; 00357 00358 static const char* const img8_bluephonedlg[] = { 00359 "22 22 8 1", 00360 ". c None", 00361 "# c #000000", 00362 "e c #000083", 00363 "c c #838100", 00364 "b c #838183", 00365 "d c #c5c2c5", 00366 "a c #ffff00", 00367 "f c #ffffff", 00368 "......................", 00369 ".......#####..........", 00370 "..######aaa######.....", 00371 ".######aaaaa######....", 00372 "##bcb##a###a##bcb##...", 00373 "#bcb#ddddddddd#bcb#...", 00374 "#cbc#ddddddddd#cbc#...", 00375 "#bcb###########bcb#...", 00376 "#cbcbcbcbcbcbcbcbc#...", 00377 "#bcbcbcbcbcbcbcbcb#...", 00378 "#cbcbcbceeeeeeeeee#...", 00379 "#bcbcbcbefffffffefe...", 00380 "#cbcbcbcefeeeeefeffe..", 00381 "#bcbcbcbefffffffefffe.", 00382 "#cbcbcbcefeeeeefeffffe", 00383 "#bcbcbcbefffffffeeeeee", 00384 "#cbcbcbcefeeeeeffffffe", 00385 "#bcbcbcbeffffffffffffe", 00386 "#cbcbcbcefeeeeeeeeeefe", 00387 ".#######effffffffffffe", 00388 "........eeeeeeeeeeeeee", 00389 "......................"}; 00390 00391 static const char* const img9_bluephonedlg[] = { 00392 "22 22 106 2", 00393 "Qt c None", 00394 "#N c #202020", 00395 "#J c #292829", 00396 "#K c #393839", 00397 "#M c #414041", 00398 ".m c #5a595a", 00399 "#r c #5a716a", 00400 "#A c #5a9d83", 00401 "#B c #626162", 00402 ".N c #62696a", 00403 "#G c #62716a", 00404 "#v c #62ae8b", 00405 "#H c #6a696a", 00406 ".c c #6a7173", 00407 "#D c #6a7973", 00408 ".l c #6a797b", 00409 ".W c #6a857b", 00410 ".t c #6a8d7b", 00411 "#x c #6a9583", 00412 "#w c #6aae94", 00413 ".u c #737173", 00414 ".v c #737973", 00415 ".g c #73797b", 00416 ".D c #738d83", 00417 ".7 c #739583", 00418 "#d c #73958b", 00419 "#z c #73a59c", 00420 "#p c #73b694", 00421 "#o c #73be9c", 00422 ".b c #7b797b", 00423 ".O c #7b8583", 00424 "#a c #7bae94", 00425 "#q c #7bae9c", 00426 "#i c #7bb69c", 00427 ".5 c #7bbe9c", 00428 "#b c #7bbea4", 00429 "#h c #7bc69c", 00430 "#y c #7bc6a4", 00431 ".8 c #838583", 00432 ".4 c #8385b4", 00433 ".h c #839d94", 00434 "#n c #83a5ac", 00435 ".V c #83aea4", 00436 "#E c #83b69c", 00437 "#F c #83b6a4", 00438 "#j c #83bea4", 00439 "#t c #83c6a4", 00440 "#l c #83ceac", 00441 ".E c #8b8d8b", 00442 "#g c #8b8dbd", 00443 "## c #8b95b4", 00444 "#m c #8baebd", 00445 "#c c #8bb6a4", 00446 ".L c #8bc6ac", 00447 ".T c #8bceac", 00448 "#f c #8bceb4", 00449 ".a c #949594", 00450 ".n c #94a59c", 00451 "#u c #94a5cd", 00452 ".k c #94beac", 00453 ".M c #94c6ac", 00454 ".6 c #94c6b4", 00455 ".B c #94ceb4", 00456 ".1 c #94d6b4", 00457 ".C c #94d6bd", 00458 ".9 c #94debd", 00459 ".K c #9c95d5", 00460 ".d c #9c9d9c", 00461 ".w c #9cbeb4", 00462 "#. c #9cbed5", 00463 "#s c #9ccebd", 00464 ".2 c #9ccecd", 00465 ".0 c #9cdebd", 00466 ".S c #9ce6bd", 00467 ".Z c #9ce6c5", 00468 ".U c #a495de", 00469 "#L c #a4a5a4", 00470 ".A c #a4b6de", 00471 ".3 c #a4b6ee", 00472 ".I c #a4cecd", 00473 "#k c #a4dec5", 00474 ".s c #a4e6c5", 00475 ".f c #acaeac", 00476 ".J c #acaeee", 00477 ".R c #acb6de", 00478 ".i c #accec5", 00479 ".P c #acd6c5", 00480 ".j c #acdecd", 00481 "#e c #ace6cd", 00482 ".# c #b4b6b4", 00483 ".H c #b4bede", 00484 ".Q c #b4dede", 00485 ".r c #b4eed5", 00486 ".e c #bdbebd", 00487 ".z c #bdc6f6", 00488 ".y c #bdd6ff", 00489 ".X c #bde6d5", 00490 ".q c #bdeede", 00491 ".Y c #bdf6de", 00492 "#I c #c5c6c5", 00493 ".x c #c5def6", 00494 ".p c #c5f6e6", 00495 "#C c #cdd6cd", 00496 ".G c #cddeff", 00497 ".o c #cdffee", 00498 ".F c #d5fff6", 00499 "QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", 00500 "QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", 00501 "QtQtQt.#.a.b.c.c.b.d.eQtQtQtQtQtQtQtQtQtQtQt", 00502 "QtQt.f.g.h.i.j.j.k.l.b.#QtQtQtQtQtQtQtQtQtQt", 00503 "Qt.f.m.n.o.o.p.q.r.s.t.u.eQtQtQtQtQtQtQtQtQt", 00504 ".e.v.w.q.p.x.y.z.A.B.C.D.EQtQtQtQtQtQtQtQtQt", 00505 ".d.h.F.q.G.H.I.I.J.K.L.M.N.#QtQtQtQtQtQtQtQt", 00506 ".O.P.o.Q.R.B.S.T.A.U.V.B.W.dQtQtQtQtQtQtQtQt", 00507 ".g.X.Y.Z.Z.0.1.2.3.4.5.6.7.8QtQtQtQtQtQtQtQt", 00508 ".g.j.r.0.9.1#..3###a#b#c#d.8QtQtQtQtQtQtQtQt", 00509 ".v.P#e.1.1#f.A#g.5#h#i#j.W.EQtQtQtQtQtQtQtQt", 00510 ".E#c#k#f.L#l#m#n#o#p#p#q#r.fQtQtQtQtQtQtQtQt", 00511 ".f.g#s#t#t#b#u.4#v#w#w#x.u.eQtQtQtQtQtQtQtQt", 00512 "Qt.E.t#y#b.5#z#d#p#A#A#B.d#C.f.eQtQtQtQtQtQt", 00513 "Qt.e.b#D#E#F#j#i#a.7.m.dQt.f#B.m.fQtQtQtQtQt", 00514 "QtQt.e.E.N#D.W.W#G#H.fQtQt#I.b#J#K.E.eQtQtQt", 00515 "QtQtQtQt.#.d.E.a#L#IQtQtQtQtQt#L#M#J#H.fQtQt", 00516 "QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.e.u#N#K.aQt", 00517 "QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.d#K#N#H", 00518 "QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.##B.m", 00519 "QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", 00520 "QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt"}; 00521 00522 00523 /* 00524 * Constructs a FormBluePhone as a child of 'parent', with the 00525 * name 'name' and widget flags set to 'f'. 00526 * 00527 */ 00528 FormBluePhone::FormBluePhone( QWidget* parent, const char* name, WFlags fl ) 00529 : QMainWindow( parent, name, fl ), 00530 image0( (const char **) img0_bluephonedlg ), 00531 image1( (const char **) img1_bluephonedlg ), 00532 image2( (const char **) img2_bluephonedlg ), 00533 image3( (const char **) img3_bluephonedlg ), 00534 image4( (const char **) img4_bluephonedlg ), 00535 image5( (const char **) img5_bluephonedlg ), 00536 image6( (const char **) img6_bluephonedlg ), 00537 image7( (const char **) img7_bluephonedlg ), 00538 image8( (const char **) img8_bluephonedlg ), 00539 image9( (const char **) img9_bluephonedlg ) 00540 { 00541 (void)statusBar(); 00542 if ( !name ) 00543 setName( "FormBluePhone" ); 00544 setBackgroundOrigin( QMainWindow::WidgetOrigin ); 00545 setCentralWidget( new QWidget( this, "qt_central_widget" ) ); 00546 FormBluePhoneLayout = new QVBoxLayout( centralWidget(), 11, 6, "FormBluePhoneLayout"); 00547 00548 tabWidgetMain = new QTabWidget( centralWidget(), "tabWidgetMain" ); 00549 00550 tab = new QWidget( tabWidgetMain, "tab" ); 00551 tabLayout = new QVBoxLayout( tab, 11, 6, "tabLayout"); 00552 00553 layout66 = new QVBoxLayout( 0, 0, 6, "layout66"); 00554 00555 groupBoxPhoneOverview = new QGroupBox( tab, "groupBoxPhoneOverview" ); 00556 groupBoxPhoneOverview->setColumnLayout(0, Qt::Vertical ); 00557 groupBoxPhoneOverview->layout()->setSpacing( 6 ); 00558 groupBoxPhoneOverview->layout()->setMargin( 11 ); 00559 groupBoxPhoneOverviewLayout = new QVBoxLayout( groupBoxPhoneOverview->layout() ); 00560 groupBoxPhoneOverviewLayout->setAlignment( Qt::AlignTop ); 00561 00562 layout61 = new QHBoxLayout( 0, 0, 6, "layout61"); 00563 00564 layout59 = new QGridLayout( 0, 1, 1, 0, 6, "layout59"); 00565 00566 textLabelPhoneModel = new QLabel( groupBoxPhoneOverview, "textLabelPhoneModel" ); 00567 00568 layout59->addWidget( textLabelPhoneModel, 1, 0 ); 00569 00570 lineEditPhoneModel = new QLineEdit( groupBoxPhoneOverview, "lineEditPhoneModel" ); 00571 lineEditPhoneModel->setPaletteBackgroundColor( QColor( 238, 238, 230 ) ); 00572 lineEditPhoneModel->setFrameShape( QLineEdit::NoFrame ); 00573 lineEditPhoneModel->setFrameShadow( QLineEdit::Plain ); 00574 lineEditPhoneModel->setReadOnly( TRUE ); 00575 00576 layout59->addWidget( lineEditPhoneModel, 1, 1 ); 00577 00578 textLabelPhoneManufacturer = new QLabel( groupBoxPhoneOverview, "textLabelPhoneManufacturer" ); 00579 00580 layout59->addWidget( textLabelPhoneManufacturer, 0, 0 ); 00581 00582 progressBarPhoneBattery = new QProgressBar( groupBoxPhoneOverview, "progressBarPhoneBattery" ); 00583 00584 layout59->addWidget( progressBarPhoneBattery, 4, 1 ); 00585 00586 textLabelPhoneStatus = new QLabel( groupBoxPhoneOverview, "textLabelPhoneStatus" ); 00587 00588 layout59->addWidget( textLabelPhoneStatus, 3, 0 ); 00589 00590 lineEditPhoneRevision = new QLineEdit( groupBoxPhoneOverview, "lineEditPhoneRevision" ); 00591 lineEditPhoneRevision->setPaletteBackgroundColor( QColor( 238, 238, 230 ) ); 00592 lineEditPhoneRevision->setFrameShape( QLineEdit::NoFrame ); 00593 lineEditPhoneRevision->setFrameShadow( QLineEdit::Plain ); 00594 lineEditPhoneRevision->setReadOnly( TRUE ); 00595 00596 layout59->addWidget( lineEditPhoneRevision, 2, 1 ); 00597 QSpacerItem* spacer = new QSpacerItem( 561, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00598 layout59->addMultiCell( spacer, 5, 5, 0, 1 ); 00599 00600 textLabelPhoneRevision = new QLabel( groupBoxPhoneOverview, "textLabelPhoneRevision" ); 00601 00602 layout59->addWidget( textLabelPhoneRevision, 2, 0 ); 00603 00604 lineEditPhoneManufacturer = new QLineEdit( groupBoxPhoneOverview, "lineEditPhoneManufacturer" ); 00605 lineEditPhoneManufacturer->setPaletteBackgroundColor( QColor( 238, 238, 230 ) ); 00606 lineEditPhoneManufacturer->setBackgroundOrigin( QLineEdit::ParentOrigin ); 00607 lineEditPhoneManufacturer->setFrameShape( QLineEdit::NoFrame ); 00608 lineEditPhoneManufacturer->setFrameShadow( QLineEdit::Plain ); 00609 lineEditPhoneManufacturer->setReadOnly( TRUE ); 00610 00611 layout59->addWidget( lineEditPhoneManufacturer, 0, 1 ); 00612 00613 lineEditPhoneStatus = new QLineEdit( groupBoxPhoneOverview, "lineEditPhoneStatus" ); 00614 lineEditPhoneStatus->setPaletteBackgroundColor( QColor( 238, 238, 230 ) ); 00615 lineEditPhoneStatus->setFrameShape( QLineEdit::NoFrame ); 00616 lineEditPhoneStatus->setFrameShadow( QLineEdit::Plain ); 00617 lineEditPhoneStatus->setReadOnly( TRUE ); 00618 00619 layout59->addWidget( lineEditPhoneStatus, 3, 1 ); 00620 00621 textLabelPhoneBattery = new QLabel( groupBoxPhoneOverview, "textLabelPhoneBattery" ); 00622 00623 layout59->addWidget( textLabelPhoneBattery, 4, 0 ); 00624 layout61->addLayout( layout59 ); 00625 QSpacerItem* spacer_2 = new QSpacerItem( 30, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00626 layout61->addItem( spacer_2 ); 00627 00628 layout60 = new QVBoxLayout( 0, 0, 6, "layout60"); 00629 QSpacerItem* spacer_3 = new QSpacerItem( 31, 81, QSizePolicy::Minimum, QSizePolicy::Expanding ); 00630 layout60->addItem( spacer_3 ); 00631 QSpacerItem* spacer_4 = new QSpacerItem( 91, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00632 layout60->addItem( spacer_4 ); 00633 00634 pushButtonPhoneGetInfo = new QPushButton( groupBoxPhoneOverview, "pushButtonPhoneGetInfo" ); 00635 layout60->addWidget( pushButtonPhoneGetInfo ); 00636 layout61->addLayout( layout60 ); 00637 groupBoxPhoneOverviewLayout->addLayout( layout61 ); 00638 layout66->addWidget( groupBoxPhoneOverview ); 00639 QSpacerItem* spacer_5 = new QSpacerItem( 21, 31, QSizePolicy::Minimum, QSizePolicy::Expanding ); 00640 layout66->addItem( spacer_5 ); 00641 00642 groupBoxPhoneLink = new QGroupBox( tab, "groupBoxPhoneLink" ); 00643 groupBoxPhoneLink->setColumnLayout(0, Qt::Vertical ); 00644 groupBoxPhoneLink->layout()->setSpacing( 6 ); 00645 groupBoxPhoneLink->layout()->setMargin( 11 ); 00646 groupBoxPhoneLinkLayout = new QVBoxLayout( groupBoxPhoneLink->layout() ); 00647 groupBoxPhoneLinkLayout->setAlignment( Qt::AlignTop ); 00648 00649 layout65 = new QHBoxLayout( 0, 0, 6, "layout65"); 00650 00651 layout64 = new QGridLayout( 0, 1, 1, 0, 6, "layout64"); 00652 00653 textLabelPhoneState = new QLabel( groupBoxPhoneLink, "textLabelPhoneState" ); 00654 00655 layout64->addWidget( textLabelPhoneState, 0, 0 ); 00656 QSpacerItem* spacer_6 = new QSpacerItem( 561, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00657 layout64->addMultiCell( spacer_6, 1, 2, 0, 2 ); 00658 00659 lineEditPhoneConnected = new QLineEdit( groupBoxPhoneLink, "lineEditPhoneConnected" ); 00660 lineEditPhoneConnected->setPaletteBackgroundColor( QColor( 238, 238, 230 ) ); 00661 lineEditPhoneConnected->setFrameShape( QLineEdit::NoFrame ); 00662 lineEditPhoneConnected->setFrameShadow( QLineEdit::Plain ); 00663 lineEditPhoneConnected->setReadOnly( TRUE ); 00664 00665 layout64->addMultiCellWidget( lineEditPhoneConnected, 0, 0, 1, 2 ); 00666 QSpacerItem* spacer_7 = new QSpacerItem( 21, 31, QSizePolicy::Minimum, QSizePolicy::Expanding ); 00667 layout64->addItem( spacer_7, 2, 2 ); 00668 layout65->addLayout( layout64 ); 00669 QSpacerItem* spacer_8 = new QSpacerItem( 31, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00670 layout65->addItem( spacer_8 ); 00671 00672 layout63 = new QVBoxLayout( 0, 0, 6, "layout63"); 00673 QSpacerItem* spacer_9 = new QSpacerItem( 91, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00674 layout63->addItem( spacer_9 ); 00675 00676 pushButtonPhoneDisconnect = new QPushButton( groupBoxPhoneLink, "pushButtonPhoneDisconnect" ); 00677 layout63->addWidget( pushButtonPhoneDisconnect ); 00678 00679 pushButtonPhoneConnect = new QPushButton( groupBoxPhoneLink, "pushButtonPhoneConnect" ); 00680 layout63->addWidget( pushButtonPhoneConnect ); 00681 layout65->addLayout( layout63 ); 00682 groupBoxPhoneLinkLayout->addLayout( layout65 ); 00683 layout66->addWidget( groupBoxPhoneLink ); 00684 tabLayout->addLayout( layout66 ); 00685 tabWidgetMain->insertTab( tab, QString("") ); 00686 00687 tab_2 = new QWidget( tabWidgetMain, "tab_2" ); 00688 tabLayout_2 = new QVBoxLayout( tab_2, 11, 6, "tabLayout_2"); 00689 00690 layout58 = new QVBoxLayout( 0, 0, 6, "layout58"); 00691 00692 groupBoxFileUpload = new QGroupBox( tab_2, "groupBoxFileUpload" ); 00693 groupBoxFileUpload->setColumnLayout(0, Qt::Vertical ); 00694 groupBoxFileUpload->layout()->setSpacing( 6 ); 00695 groupBoxFileUpload->layout()->setMargin( 11 ); 00696 groupBoxFileUploadLayout = new QVBoxLayout( groupBoxFileUpload->layout() ); 00697 groupBoxFileUploadLayout->setAlignment( Qt::AlignTop ); 00698 00699 layout56 = new QHBoxLayout( 0, 0, 6, "layout56"); 00700 00701 layout55 = new QGridLayout( 0, 1, 1, 0, 6, "layout55"); 00702 00703 textLabelFileFile = new QLabel( groupBoxFileUpload, "textLabelFileFile" ); 00704 00705 layout55->addWidget( textLabelFileFile, 0, 0 ); 00706 00707 lineEditFileNameOnPhone = new QLineEdit( groupBoxFileUpload, "lineEditFileNameOnPhone" ); 00708 lineEditFileNameOnPhone->setFrameShadow( QLineEdit::Sunken ); 00709 lineEditFileNameOnPhone->setReadOnly( TRUE ); 00710 00711 layout55->addWidget( lineEditFileNameOnPhone, 1, 1 ); 00712 00713 textFileNameOnPhone = new QLabel( groupBoxFileUpload, "textFileNameOnPhone" ); 00714 00715 layout55->addWidget( textFileNameOnPhone, 1, 0 ); 00716 QSpacerItem* spacer_10 = new QSpacerItem( 561, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00717 layout55->addMultiCell( spacer_10, 2, 2, 0, 1 ); 00718 00719 lineEditFilePath = new QLineEdit( groupBoxFileUpload, "lineEditFilePath" ); 00720 lineEditFilePath->setFrameShadow( QLineEdit::Sunken ); 00721 lineEditFilePath->setReadOnly( TRUE ); 00722 00723 layout55->addWidget( lineEditFilePath, 0, 1 ); 00724 layout56->addLayout( layout55 ); 00725 QSpacerItem* spacer_11 = new QSpacerItem( 31, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00726 layout56->addItem( spacer_11 ); 00727 00728 layout52 = new QVBoxLayout( 0, 0, 6, "layout52"); 00729 00730 pushButtonFileBrowse = new QPushButton( groupBoxFileUpload, "pushButtonFileBrowse" ); 00731 layout52->addWidget( pushButtonFileBrowse ); 00732 QSpacerItem* spacer_12 = new QSpacerItem( 91, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00733 layout52->addItem( spacer_12 ); 00734 00735 pushButtonFileSend = new QPushButton( groupBoxFileUpload, "pushButtonFileSend" ); 00736 layout52->addWidget( pushButtonFileSend ); 00737 layout56->addLayout( layout52 ); 00738 groupBoxFileUploadLayout->addLayout( layout56 ); 00739 layout58->addWidget( groupBoxFileUpload ); 00740 QSpacerItem* spacer_13 = new QSpacerItem( 21, 31, QSizePolicy::Minimum, QSizePolicy::Expanding ); 00741 layout58->addItem( spacer_13 ); 00742 00743 groupBoxFileInfo = new QGroupBox( tab_2, "groupBoxFileInfo" ); 00744 groupBoxFileInfo->setColumnLayout(0, Qt::Vertical ); 00745 groupBoxFileInfo->layout()->setSpacing( 6 ); 00746 groupBoxFileInfo->layout()->setMargin( 11 ); 00747 groupBoxFileInfoLayout = new QVBoxLayout( groupBoxFileInfo->layout() ); 00748 groupBoxFileInfoLayout->setAlignment( Qt::AlignTop ); 00749 00750 layout57 = new QHBoxLayout( 0, 0, 6, "layout57"); 00751 00752 layout54 = new QGridLayout( 0, 1, 1, 0, 6, "layout54"); 00753 00754 textLabelFileType = new QLabel( groupBoxFileInfo, "textLabelFileType" ); 00755 00756 layout54->addWidget( textLabelFileType, 0, 0 ); 00757 00758 textLabelFileSize = new QLabel( groupBoxFileInfo, "textLabelFileSize" ); 00759 00760 layout54->addWidget( textLabelFileSize, 1, 0 ); 00761 00762 textLabelFileDimensions = new QLabel( groupBoxFileInfo, "textLabelFileDimensions" ); 00763 00764 layout54->addWidget( textLabelFileDimensions, 2, 0 ); 00765 00766 lineEditFileSize = new QLineEdit( groupBoxFileInfo, "lineEditFileSize" ); 00767 lineEditFileSize->setFrameShadow( QLineEdit::Plain ); 00768 lineEditFileSize->setReadOnly( TRUE ); 00769 00770 layout54->addWidget( lineEditFileSize, 1, 1 ); 00771 00772 lineEditFileDimensions = new QLineEdit( groupBoxFileInfo, "lineEditFileDimensions" ); 00773 lineEditFileDimensions->setFrameShadow( QLineEdit::Plain ); 00774 lineEditFileDimensions->setReadOnly( TRUE ); 00775 00776 layout54->addWidget( lineEditFileDimensions, 2, 1 ); 00777 QSpacerItem* spacer_14 = new QSpacerItem( 561, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00778 layout54->addMultiCell( spacer_14, 3, 3, 0, 1 ); 00779 00780 lineEditFileType = new QLineEdit( groupBoxFileInfo, "lineEditFileType" ); 00781 lineEditFileType->setFrameShadow( QLineEdit::Plain ); 00782 lineEditFileType->setReadOnly( TRUE ); 00783 00784 layout54->addWidget( lineEditFileType, 0, 1 ); 00785 layout57->addLayout( layout54 ); 00786 QSpacerItem* spacer_15 = new QSpacerItem( 131, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00787 layout57->addItem( spacer_15 ); 00788 groupBoxFileInfoLayout->addLayout( layout57 ); 00789 layout58->addWidget( groupBoxFileInfo ); 00790 tabLayout_2->addLayout( layout58 ); 00791 tabWidgetMain->insertTab( tab_2, QString("") ); 00792 00793 TabPage = new QWidget( tabWidgetMain, "TabPage" ); 00794 TabPageLayout = new QVBoxLayout( TabPage, 11, 6, "TabPageLayout"); 00795 00796 layout10 = new QHBoxLayout( 0, 0, 6, "layout10"); 00797 00798 layout9 = new QVBoxLayout( 0, 0, 6, "layout9"); 00799 00800 listViewSms = new QListView( TabPage, "listViewSms" ); 00801 listViewSms->addColumn( tr2i18n( "Id" ) ); 00802 listViewSms->addColumn( tr2i18n( "State" ) ); 00803 listViewSms->addColumn( tr2i18n( "Date " ) ); 00804 listViewSms->addColumn( tr2i18n( "From " ) ); 00805 listViewSms->addColumn( tr2i18n( "Message " ) ); 00806 listViewSms->setAllColumnsShowFocus( TRUE ); 00807 listViewSms->setShowSortIndicator( TRUE ); 00808 layout9->addWidget( listViewSms ); 00809 QSpacerItem* spacer_16 = new QSpacerItem( 560, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00810 layout9->addItem( spacer_16 ); 00811 layout10->addLayout( layout9 ); 00812 QSpacerItem* spacer_17 = new QSpacerItem( 30, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00813 layout10->addItem( spacer_17 ); 00814 00815 layout8 = new QVBoxLayout( 0, 0, 6, "layout8"); 00816 00817 pushButtonSmsRead = new QPushButton( TabPage, "pushButtonSmsRead" ); 00818 layout8->addWidget( pushButtonSmsRead ); 00819 QSpacerItem* spacer_18 = new QSpacerItem( 20, 21, QSizePolicy::Minimum, QSizePolicy::Expanding ); 00820 layout8->addItem( spacer_18 ); 00821 00822 pushButtonSmsView = new QPushButton( TabPage, "pushButtonSmsView" ); 00823 layout8->addWidget( pushButtonSmsView ); 00824 00825 pushButtonSmsReply = new QPushButton( TabPage, "pushButtonSmsReply" ); 00826 layout8->addWidget( pushButtonSmsReply ); 00827 00828 pushButtonSmsNew = new QPushButton( TabPage, "pushButtonSmsNew" ); 00829 layout8->addWidget( pushButtonSmsNew ); 00830 QSpacerItem* spacer_19 = new QSpacerItem( 20, 21, QSizePolicy::Minimum, QSizePolicy::Expanding ); 00831 layout8->addItem( spacer_19 ); 00832 00833 pushButtonSmsSave = new QPushButton( TabPage, "pushButtonSmsSave" ); 00834 layout8->addWidget( pushButtonSmsSave ); 00835 00836 pushButtonSmsSaveAll = new QPushButton( TabPage, "pushButtonSmsSaveAll" ); 00837 layout8->addWidget( pushButtonSmsSaveAll ); 00838 QSpacerItem* spacer_20 = new QSpacerItem( 20, 21, QSizePolicy::Minimum, QSizePolicy::Expanding ); 00839 layout8->addItem( spacer_20 ); 00840 00841 pushButtonSmsDelete = new QPushButton( TabPage, "pushButtonSmsDelete" ); 00842 layout8->addWidget( pushButtonSmsDelete ); 00843 00844 pushButtonSmsDeleteAll = new QPushButton( TabPage, "pushButtonSmsDeleteAll" ); 00845 layout8->addWidget( pushButtonSmsDeleteAll ); 00846 QSpacerItem* spacer_21 = new QSpacerItem( 90, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00847 layout8->addItem( spacer_21 ); 00848 layout10->addLayout( layout8 ); 00849 TabPageLayout->addLayout( layout10 ); 00850 tabWidgetMain->insertTab( TabPage, QString("") ); 00851 00852 TabPage_2 = new QWidget( tabWidgetMain, "TabPage_2" ); 00853 TabPageLayout_2 = new QVBoxLayout( TabPage_2, 11, 6, "TabPageLayout_2"); 00854 00855 layout13 = new QHBoxLayout( 0, 0, 6, "layout13"); 00856 00857 layout12 = new QVBoxLayout( 0, 0, 6, "layout12"); 00858 00859 listViewContacts = new QListView( TabPage_2, "listViewContacts" ); 00860 listViewContacts->addColumn( tr2i18n( "Pos" ) ); 00861 listViewContacts->addColumn( tr2i18n( "Type " ) ); 00862 listViewContacts->addColumn( tr2i18n( "Name " ) ); 00863 listViewContacts->addColumn( tr2i18n( "Number " ) ); 00864 listViewContacts->setSelectionMode( QListView::Single ); 00865 listViewContacts->setAllColumnsShowFocus( TRUE ); 00866 listViewContacts->setShowSortIndicator( TRUE ); 00867 layout12->addWidget( listViewContacts ); 00868 QSpacerItem* spacer_22 = new QSpacerItem( 561, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00869 layout12->addItem( spacer_22 ); 00870 layout13->addLayout( layout12 ); 00871 QSpacerItem* spacer_23 = new QSpacerItem( 31, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00872 layout13->addItem( spacer_23 ); 00873 00874 layout11 = new QVBoxLayout( 0, 0, 6, "layout11"); 00875 00876 pushButtonContactsRead = new QPushButton( TabPage_2, "pushButtonContactsRead" ); 00877 layout11->addWidget( pushButtonContactsRead ); 00878 QSpacerItem* spacer_24 = new QSpacerItem( 20, 21, QSizePolicy::Minimum, QSizePolicy::Expanding ); 00879 layout11->addItem( spacer_24 ); 00880 00881 pushButtonContactsNew = new QPushButton( TabPage_2, "pushButtonContactsNew" ); 00882 layout11->addWidget( pushButtonContactsNew ); 00883 00884 pushButtonContactsEdit = new QPushButton( TabPage_2, "pushButtonContactsEdit" ); 00885 layout11->addWidget( pushButtonContactsEdit ); 00886 00887 pushButtonContactsDelete = new QPushButton( TabPage_2, "pushButtonContactsDelete" ); 00888 layout11->addWidget( pushButtonContactsDelete ); 00889 QSpacerItem* spacer_25 = new QSpacerItem( 20, 21, QSizePolicy::Minimum, QSizePolicy::Expanding ); 00890 layout11->addItem( spacer_25 ); 00891 00892 pushButtonContactsBackup = new QPushButton( TabPage_2, "pushButtonContactsBackup" ); 00893 layout11->addWidget( pushButtonContactsBackup ); 00894 00895 pushButtonContactsRestore = new QPushButton( TabPage_2, "pushButtonContactsRestore" ); 00896 layout11->addWidget( pushButtonContactsRestore ); 00897 QSpacerItem* spacer_26 = new QSpacerItem( 20, 21, QSizePolicy::Minimum, QSizePolicy::Expanding ); 00898 layout11->addItem( spacer_26 ); 00899 00900 pushButtonContactsCall = new QPushButton( TabPage_2, "pushButtonContactsCall" ); 00901 layout11->addWidget( pushButtonContactsCall ); 00902 00903 pushButtonContactsSms = new QPushButton( TabPage_2, "pushButtonContactsSms" ); 00904 layout11->addWidget( pushButtonContactsSms ); 00905 QSpacerItem* spacer_27 = new QSpacerItem( 91, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00906 layout11->addItem( spacer_27 ); 00907 layout13->addLayout( layout11 ); 00908 TabPageLayout_2->addLayout( layout13 ); 00909 tabWidgetMain->insertTab( TabPage_2, QString("") ); 00910 00911 TabPage_3 = new QWidget( tabWidgetMain, "TabPage_3" ); 00912 TabPageLayout_3 = new QVBoxLayout( TabPage_3, 11, 6, "TabPageLayout_3"); 00913 00914 layout74 = new QVBoxLayout( 0, 0, 6, "layout74"); 00915 00916 groupBoxSettingsGeneral = new QGroupBox( TabPage_3, "groupBoxSettingsGeneral" ); 00917 groupBoxSettingsGeneral->setColumnLayout(0, Qt::Vertical ); 00918 groupBoxSettingsGeneral->layout()->setSpacing( 6 ); 00919 groupBoxSettingsGeneral->layout()->setMargin( 11 ); 00920 groupBoxSettingsGeneralLayout = new QVBoxLayout( groupBoxSettingsGeneral->layout() ); 00921 groupBoxSettingsGeneralLayout->setAlignment( Qt::AlignTop ); 00922 00923 layout73 = new QHBoxLayout( 0, 0, 6, "layout73"); 00924 00925 layout72 = new QGridLayout( 0, 1, 1, 0, 6, "layout72"); 00926 00927 textLabelSettingsUse = new QLabel( groupBoxSettingsGeneral, "textLabelSettingsUse" ); 00928 00929 layout72->addWidget( textLabelSettingsUse, 0, 0 ); 00930 00931 buttonGroupSettingsStartup = new QButtonGroup( groupBoxSettingsGeneral, "buttonGroupSettingsStartup" ); 00932 buttonGroupSettingsStartup->setFrameShape( QButtonGroup::NoFrame ); 00933 buttonGroupSettingsStartup->setFrameShadow( QButtonGroup::Plain ); 00934 00935 radioButtonSettingsYes = new QRadioButton( buttonGroupSettingsStartup, "radioButtonSettingsYes" ); 00936 radioButtonSettingsYes->setGeometry( QRect( 20, 10, 70, 21 ) ); 00937 00938 radioButtonSettingsNo = new QRadioButton( buttonGroupSettingsStartup, "radioButtonSettingsNo" ); 00939 radioButtonSettingsNo->setGeometry( QRect( 120, 10, 70, 21 ) ); 00940 radioButtonSettingsNo->setChecked( FALSE ); 00941 00942 layout72->addWidget( buttonGroupSettingsStartup, 1, 1 ); 00943 00944 buttonGroupSettingsConnect = new QButtonGroup( groupBoxSettingsGeneral, "buttonGroupSettingsConnect" ); 00945 buttonGroupSettingsConnect->setFrameShape( QButtonGroup::NoFrame ); 00946 buttonGroupSettingsConnect->setFrameShadow( QButtonGroup::Plain ); 00947 00948 radioButtonSettingsIrDA = new QRadioButton( buttonGroupSettingsConnect, "radioButtonSettingsIrDA" ); 00949 radioButtonSettingsIrDA->setGeometry( QRect( 130, 20, 90, 21 ) ); 00950 radioButtonSettingsIrDA->setChecked( FALSE ); 00951 00952 radioButtonSettingsSerial = new QRadioButton( buttonGroupSettingsConnect, "radioButtonSettingsSerial" ); 00953 radioButtonSettingsSerial->setGeometry( QRect( 230, 20, 100, 21 ) ); 00954 radioButtonSettingsSerial->setChecked( FALSE ); 00955 00956 radioButtonSettingsBluetooth = new QRadioButton( buttonGroupSettingsConnect, "radioButtonSettingsBluetooth" ); 00957 radioButtonSettingsBluetooth->setGeometry( QRect( 20, 20, 90, 21 ) ); 00958 radioButtonSettingsBluetooth->setChecked( FALSE ); 00959 00960 layout72->addWidget( buttonGroupSettingsConnect, 0, 1 ); 00961 QSpacerItem* spacer_28 = new QSpacerItem( 561, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00962 layout72->addMultiCell( spacer_28, 2, 2, 0, 1 ); 00963 00964 textLabelSettingsStartup = new QLabel( groupBoxSettingsGeneral, "textLabelSettingsStartup" ); 00965 00966 layout72->addWidget( textLabelSettingsStartup, 1, 0 ); 00967 layout73->addLayout( layout72 ); 00968 QSpacerItem* spacer_29 = new QSpacerItem( 69, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00969 layout73->addItem( spacer_29 ); 00970 00971 layout28 = new QVBoxLayout( 0, 0, 6, "layout28"); 00972 QSpacerItem* spacer_30 = new QSpacerItem( 21, 71, QSizePolicy::Minimum, QSizePolicy::Expanding ); 00973 layout28->addItem( spacer_30 ); 00974 QSpacerItem* spacer_31 = new QSpacerItem( 91, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00975 layout28->addItem( spacer_31 ); 00976 00977 pushButtonSettingsSave = new QPushButton( groupBoxSettingsGeneral, "pushButtonSettingsSave" ); 00978 layout28->addWidget( pushButtonSettingsSave ); 00979 layout73->addLayout( layout28 ); 00980 groupBoxSettingsGeneralLayout->addLayout( layout73 ); 00981 layout74->addWidget( groupBoxSettingsGeneral ); 00982 QSpacerItem* spacer_32 = new QSpacerItem( 21, 149, QSizePolicy::Minimum, QSizePolicy::Expanding ); 00983 layout74->addItem( spacer_32 ); 00984 00985 groupBoxSettingsBluetooth = new QGroupBox( TabPage_3, "groupBoxSettingsBluetooth" ); 00986 groupBoxSettingsBluetooth->setColumnLayout(0, Qt::Vertical ); 00987 groupBoxSettingsBluetooth->layout()->setSpacing( 6 ); 00988 groupBoxSettingsBluetooth->layout()->setMargin( 11 ); 00989 groupBoxSettingsBluetoothLayout = new QVBoxLayout( groupBoxSettingsBluetooth->layout() ); 00990 groupBoxSettingsBluetoothLayout->setAlignment( Qt::AlignTop ); 00991 00992 layout21 = new QHBoxLayout( 0, 0, 6, "layout21"); 00993 00994 layout19 = new QVBoxLayout( 0, 0, 6, "layout19"); 00995 00996 layout18 = new QHBoxLayout( 0, 0, 6, "layout18"); 00997 00998 textLabelSettingsAddress = new QLabel( groupBoxSettingsBluetooth, "textLabelSettingsAddress" ); 00999 layout18->addWidget( textLabelSettingsAddress ); 01000 QSpacerItem* spacer_33 = new QSpacerItem( 300, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 01001 layout18->addItem( spacer_33 ); 01002 01003 lineEditSettingsAddress = new QLineEdit( groupBoxSettingsBluetooth, "lineEditSettingsAddress" ); 01004 lineEditSettingsAddress->setFrameShadow( QLineEdit::Sunken ); 01005 lineEditSettingsAddress->setReadOnly( FALSE ); 01006 layout18->addWidget( lineEditSettingsAddress ); 01007 layout19->addLayout( layout18 ); 01008 01009 layout17 = new QHBoxLayout( 0, 0, 6, "layout17"); 01010 01011 textLabelSettingsPort = new QLabel( groupBoxSettingsBluetooth, "textLabelSettingsPort" ); 01012 layout17->addWidget( textLabelSettingsPort ); 01013 QSpacerItem* spacer_34 = new QSpacerItem( 401, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); 01014 layout17->addItem( spacer_34 ); 01015 01016 spinBoxSettingsPort = new QSpinBox( groupBoxSettingsBluetooth, "spinBoxSettingsPort" ); 01017 spinBoxSettingsPort->setMaxValue( 16 ); 01018 spinBoxSettingsPort->setMinValue( 1 ); 01019 spinBoxSettingsPort->setValue( 10 ); 01020 layout17->addWidget( spinBoxSettingsPort ); 01021 layout19->addLayout( layout17 ); 01022 QSpacerItem* spacer_35 = new QSpacerItem( 561, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 01023 layout19->addItem( spacer_35 ); 01024 layout21->addLayout( layout19 ); 01025 QSpacerItem* spacer_36 = new QSpacerItem( 31, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 01026 layout21->addItem( spacer_36 ); 01027 01028 layout20 = new QVBoxLayout( 0, 0, 6, "layout20"); 01029 01030 pushButtonSettingsGetAddress = new QPushButton( groupBoxSettingsBluetooth, "pushButtonSettingsGetAddress" ); 01031 layout20->addWidget( pushButtonSettingsGetAddress ); 01032 QSpacerItem* spacer_37 = new QSpacerItem( 91, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 01033 layout20->addItem( spacer_37 ); 01034 QSpacerItem* spacer_38 = new QSpacerItem( 91, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 01035 layout20->addItem( spacer_38 ); 01036 layout21->addLayout( layout20 ); 01037 groupBoxSettingsBluetoothLayout->addLayout( layout21 ); 01038 layout74->addWidget( groupBoxSettingsBluetooth ); 01039 TabPageLayout_3->addLayout( layout74 ); 01040 tabWidgetMain->insertTab( TabPage_3, QString("") ); 01041 01042 TabPage_4 = new QWidget( tabWidgetMain, "TabPage_4" ); 01043 TabPageLayout_4 = new QVBoxLayout( TabPage_4, 11, 6, "TabPageLayout_4"); 01044 01045 layout35 = new QVBoxLayout( 0, 0, 6, "layout35"); 01046 01047 groupBoxHelpConfig = new QGroupBox( TabPage_4, "groupBoxHelpConfig" ); 01048 groupBoxHelpConfig->setColumnLayout(0, Qt::Vertical ); 01049 groupBoxHelpConfig->layout()->setSpacing( 6 ); 01050 groupBoxHelpConfig->layout()->setMargin( 11 ); 01051 groupBoxHelpConfigLayout = new QVBoxLayout( groupBoxHelpConfig->layout() ); 01052 groupBoxHelpConfigLayout->setAlignment( Qt::AlignTop ); 01053 01054 layout34 = new QVBoxLayout( 0, 0, 6, "layout34"); 01055 01056 textLabelHelpGeneral = new QLabel( groupBoxHelpConfig, "textLabelHelpGeneral" ); 01057 layout34->addWidget( textLabelHelpGeneral ); 01058 QSpacerItem* spacer_39 = new QSpacerItem( 701, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 01059 layout34->addItem( spacer_39 ); 01060 groupBoxHelpConfigLayout->addLayout( layout34 ); 01061 layout35->addWidget( groupBoxHelpConfig ); 01062 QSpacerItem* spacer_40 = new QSpacerItem( 21, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); 01063 layout35->addItem( spacer_40 ); 01064 01065 groupBoxHelpUsage = new QGroupBox( TabPage_4, "groupBoxHelpUsage" ); 01066 groupBoxHelpUsage->setColumnLayout(0, Qt::Vertical ); 01067 groupBoxHelpUsage->layout()->setSpacing( 6 ); 01068 groupBoxHelpUsage->layout()->setMargin( 11 ); 01069 groupBoxHelpUsageLayout = new QVBoxLayout( groupBoxHelpUsage->layout() ); 01070 groupBoxHelpUsageLayout->setAlignment( Qt::AlignTop ); 01071 01072 layout33 = new QVBoxLayout( 0, 0, 6, "layout33"); 01073 01074 textLabelHelpUsage = new QLabel( groupBoxHelpUsage, "textLabelHelpUsage" ); 01075 textLabelHelpUsage->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter ) ); 01076 layout33->addWidget( textLabelHelpUsage ); 01077 QSpacerItem* spacer_41 = new QSpacerItem( 701, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 01078 layout33->addItem( spacer_41 ); 01079 groupBoxHelpUsageLayout->addLayout( layout33 ); 01080 layout35->addWidget( groupBoxHelpUsage ); 01081 TabPageLayout_4->addLayout( layout35 ); 01082 tabWidgetMain->insertTab( TabPage_4, QString("") ); 01083 FormBluePhoneLayout->addWidget( tabWidgetMain ); 01084 01085 layout67 = new QHBoxLayout( 0, 0, 6, "layout67"); 01086 QSpacerItem* spacer_42 = new QSpacerItem( 660, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 01087 layout67->addItem( spacer_42 ); 01088 01089 kLedPhoneStateRed = new KLed( centralWidget(), "kLedPhoneStateRed" ); 01090 kLedPhoneStateRed->setState( KLed::Off ); 01091 kLedPhoneStateRed->setColor( QColor( 255, 0, 0 ) ); 01092 layout67->addWidget( kLedPhoneStateRed ); 01093 01094 kLedPhoneStateOrange = new KLed( centralWidget(), "kLedPhoneStateOrange" ); 01095 kLedPhoneStateOrange->setState( KLed::Off ); 01096 kLedPhoneStateOrange->setColor( QColor( 255, 255, 0 ) ); 01097 layout67->addWidget( kLedPhoneStateOrange ); 01098 01099 kLedPhoneStateGreen = new KLed( centralWidget(), "kLedPhoneStateGreen" ); 01100 kLedPhoneStateGreen->setState( KLed::Off ); 01101 kLedPhoneStateGreen->setColor( QColor( 0, 255, 0 ) ); 01102 layout67->addWidget( kLedPhoneStateGreen ); 01103 FormBluePhoneLayout->addLayout( layout67 ); 01104 01105 // actions 01106 fileNewAction = new QAction( this, "fileNewAction" ); 01107 fileNewAction->setIconSet( QIconSet( image0 ) ); 01108 fileNewAction->setVisible( FALSE ); 01109 fileOpenAction = new QAction( this, "fileOpenAction" ); 01110 fileOpenAction->setIconSet( QIconSet( image1 ) ); 01111 fileOpenAction->setVisible( FALSE ); 01112 fileSaveAction = new QAction( this, "fileSaveAction" ); 01113 fileSaveAction->setIconSet( QIconSet( image2 ) ); 01114 fileSaveAction->setVisible( FALSE ); 01115 fileSaveAsAction = new QAction( this, "fileSaveAsAction" ); 01116 fileSaveAsAction->setVisible( FALSE ); 01117 filePrintAction = new QAction( this, "filePrintAction" ); 01118 filePrintAction->setIconSet( QIconSet( image3 ) ); 01119 filePrintAction->setVisible( FALSE ); 01120 fileExitAction = new QAction( this, "fileExitAction" ); 01121 editUndoAction = new QAction( this, "editUndoAction" ); 01122 editUndoAction->setIconSet( QIconSet( image4 ) ); 01123 editUndoAction->setVisible( FALSE ); 01124 editRedoAction = new QAction( this, "editRedoAction" ); 01125 editRedoAction->setIconSet( QIconSet( image5 ) ); 01126 editRedoAction->setVisible( FALSE ); 01127 editCutAction = new QAction( this, "editCutAction" ); 01128 editCutAction->setIconSet( QIconSet( image6 ) ); 01129 editCopyAction = new QAction( this, "editCopyAction" ); 01130 editCopyAction->setIconSet( QIconSet( image7 ) ); 01131 editPasteAction = new QAction( this, "editPasteAction" ); 01132 editPasteAction->setIconSet( QIconSet( image8 ) ); 01133 editFindAction = new QAction( this, "editFindAction" ); 01134 editFindAction->setIconSet( QIconSet( image9 ) ); 01135 editFindAction->setVisible( FALSE ); 01136 helpContentsAction = new QAction( this, "helpContentsAction" ); 01137 helpContentsAction->setVisible( FALSE ); 01138 helpIndexAction = new QAction( this, "helpIndexAction" ); 01139 helpIndexAction->setVisible( FALSE ); 01140 helpAboutAction = new QAction( this, "helpAboutAction" ); 01141 01142 01143 // toolbars 01144 01145 01146 // menubar 01147 menubar = new QMenuBar( this, "menubar" ); 01148 01149 01150 fileMenu = new QPopupMenu( this ); 01151 fileNewAction->addTo( fileMenu ); 01152 fileOpenAction->addTo( fileMenu ); 01153 fileSaveAction->addTo( fileMenu ); 01154 fileSaveAsAction->addTo( fileMenu ); 01155 filePrintAction->addTo( fileMenu ); 01156 fileExitAction->addTo( fileMenu ); 01157 menubar->insertItem( QString(""), fileMenu, 1 ); 01158 01159 helpMenu = new QPopupMenu( this ); 01160 helpContentsAction->addTo( helpMenu ); 01161 helpIndexAction->addTo( helpMenu ); 01162 helpAboutAction->addTo( helpMenu ); 01163 menubar->insertItem( QString(""), helpMenu, 2 ); 01164 01165 languageChange(); 01166 resize( QSize(739, 584).expandedTo(minimumSizeHint()) ); 01167 clearWState( WState_Polished ); 01168 01169 // signals and slots connections 01170 connect( fileExitAction, SIGNAL( activated() ), this, SLOT( fileExit() ) ); 01171 connect( helpAboutAction, SIGNAL( activated() ), this, SLOT( helpAbout() ) ); 01172 connect( pushButtonContactsBackup, SIGNAL( clicked() ), this, SLOT( contactsBackup() ) ); 01173 connect( pushButtonContactsCall, SIGNAL( clicked() ), this, SLOT( contactsCall() ) ); 01174 connect( pushButtonContactsDelete, SIGNAL( clicked() ), this, SLOT( contactsDelete() ) ); 01175 connect( pushButtonContactsEdit, SIGNAL( clicked() ), this, SLOT( contactsEdit() ) ); 01176 connect( pushButtonContactsNew, SIGNAL( clicked() ), this, SLOT( contactsNew() ) ); 01177 connect( pushButtonContactsRead, SIGNAL( clicked() ), this, SLOT( contactsRead() ) ); 01178 connect( pushButtonContactsRestore, SIGNAL( clicked() ), this, SLOT( contactsRestore() ) ); 01179 connect( pushButtonContactsSms, SIGNAL( clicked() ), this, SLOT( contactsSms() ) ); 01180 connect( pushButtonFileSend, SIGNAL( clicked() ), this, SLOT( fileSend() ) ); 01181 connect( pushButtonPhoneConnect, SIGNAL( clicked() ), this, SLOT( phoneConnect() ) ); 01182 connect( pushButtonPhoneDisconnect, SIGNAL( clicked() ), this, SLOT( phoneDisconnect() ) ); 01183 connect( pushButtonPhoneGetInfo, SIGNAL( clicked() ), this, SLOT( phoneGetInfo() ) ); 01184 connect( pushButtonSettingsGetAddress, SIGNAL( clicked() ), this, SLOT( settingsGetAddress() ) ); 01185 connect( pushButtonSettingsSave, SIGNAL( clicked() ), this, SLOT( settingsSave() ) ); 01186 connect( pushButtonSmsDelete, SIGNAL( clicked() ), this, SLOT( smsDelete() ) ); 01187 connect( pushButtonSmsDeleteAll, SIGNAL( clicked() ), this, SLOT( smsDeleteAll() ) ); 01188 connect( pushButtonSmsNew, SIGNAL( clicked() ), this, SLOT( smsNew() ) ); 01189 connect( pushButtonSmsRead, SIGNAL( clicked() ), this, SLOT( smsRead() ) ); 01190 connect( pushButtonSmsSave, SIGNAL( clicked() ), this, SLOT( smsSave() ) ); 01191 connect( pushButtonSmsSaveAll, SIGNAL( clicked() ), this, SLOT( smsSaveAll() ) ); 01192 connect( listViewContacts, SIGNAL( doubleClicked(QListViewItem*) ), this, SLOT( contactsEdit() ) ); 01193 connect( listViewSms, SIGNAL( doubleClicked(QListViewItem*) ), this, SLOT( smsShow() ) ); 01194 connect( pushButtonSmsView, SIGNAL( clicked() ), this, SLOT( smsShow() ) ); 01195 connect( pushButtonSmsReply, SIGNAL( clicked() ), this, SLOT( smsReply() ) ); 01196 connect( pushButtonSmsRead, SIGNAL( pressed() ), this, SLOT( setLedOrange() ) ); 01197 connect( pushButtonPhoneGetInfo, SIGNAL( pressed() ), this, SLOT( setLedOrange() ) ); 01198 connect( pushButtonPhoneConnect, SIGNAL( pressed() ), this, SLOT( setLedOrange() ) ); 01199 connect( pushButtonPhoneDisconnect, SIGNAL( pressed() ), this, SLOT( setLedOrange() ) ); 01200 connect( pushButtonFileSend, SIGNAL( pressed() ), this, SLOT( setLedOrange() ) ); 01201 connect( pushButtonSmsDelete, SIGNAL( pressed() ), this, SLOT( setLedOrange() ) ); 01202 connect( pushButtonSmsDeleteAll, SIGNAL( pressed() ), this, SLOT( setLedOrange() ) ); 01203 connect( pushButtonContactsRead, SIGNAL( pressed() ), this, SLOT( setLedOrange() ) ); 01204 connect( pushButtonContactsRestore, SIGNAL( pressed() ), this, SLOT( setLedOrange() ) ); 01205 connect( pushButtonContactsDelete, SIGNAL( pressed() ), this, SLOT( setLedOrange() ) ); 01206 connect( pushButtonFileBrowse, SIGNAL( clicked() ), this, SLOT( fileBrowse() ) ); 01207 01208 // buddies 01209 textLabelPhoneStatus->setBuddy( lineEditPhoneRevision ); 01210 textLabelPhoneRevision->setBuddy( lineEditPhoneRevision ); 01211 textLabelFileFile->setBuddy( lineEditFilePath ); 01212 textFileNameOnPhone->setBuddy( lineEditFileNameOnPhone ); 01213 textLabelFileType->setBuddy( lineEditFileType ); 01214 textLabelFileSize->setBuddy( lineEditFileSize ); 01215 textLabelFileDimensions->setBuddy( lineEditFileDimensions ); 01216 textLabelSettingsAddress->setBuddy( lineEditSettingsAddress ); 01217 textLabelSettingsPort->setBuddy( spinBoxSettingsPort ); 01218 textLabelHelpGeneral->setBuddy( lineEditSettingsAddress ); 01219 textLabelHelpUsage->setBuddy( lineEditSettingsAddress ); 01220 } 01221 01222 /* 01223 * Destroys the object and frees any allocated resources 01224 */ 01225 FormBluePhone::~FormBluePhone() 01226 { 01227 // no need to delete child widgets, Qt does it all for us 01228 } 01229 01230 /* 01231 * Sets the strings of the subwidgets using the current 01232 * language. 01233 */ 01234 void FormBluePhone::languageChange() 01235 { 01236 setCaption( tr2i18n( "BluePhone" ) ); 01237 QToolTip::add( this, QString::null ); 01238 groupBoxPhoneOverview->setTitle( tr2i18n( "Overview" ) ); 01239 textLabelPhoneModel->setText( tr2i18n( "Model:" ) ); 01240 textLabelPhoneManufacturer->setText( tr2i18n( "Manufacturer:" ) ); 01241 textLabelPhoneStatus->setText( tr2i18n( "Phone state:" ) ); 01242 textLabelPhoneRevision->setText( tr2i18n( "Revision:" ) ); 01243 textLabelPhoneBattery->setText( tr2i18n( "Battery charge:" ) ); 01244 pushButtonPhoneGetInfo->setText( tr2i18n( "Get Info" ) ); 01245 pushButtonPhoneGetInfo->setAccel( QKeySequence( tr2i18n( "Ctrl+G" ) ) ); 01246 QToolTip::add( pushButtonPhoneGetInfo, tr2i18n( "Get some status informations from phone" ) ); 01247 groupBoxPhoneLink->setTitle( tr2i18n( "Link" ) ); 01248 textLabelPhoneState->setText( tr2i18n( "State:" ) ); 01249 pushButtonPhoneDisconnect->setText( tr2i18n( "Disconnect" ) ); 01250 pushButtonPhoneDisconnect->setAccel( QKeySequence( tr2i18n( "Ctrl+D" ) ) ); 01251 QToolTip::add( pushButtonPhoneDisconnect, tr2i18n( "Disconnect phone" ) ); 01252 pushButtonPhoneConnect->setText( tr2i18n( "Connect" ) ); 01253 pushButtonPhoneConnect->setAccel( QKeySequence( tr2i18n( "Ctrl+C" ) ) ); 01254 QToolTip::add( pushButtonPhoneConnect, tr2i18n( "Connect phone" ) ); 01255 tabWidgetMain->changeTab( tab, tr2i18n( "Phone" ) ); 01256 groupBoxFileUpload->setTitle( tr2i18n( "Upload" ) ); 01257 textLabelFileFile->setText( tr2i18n( "File:" ) ); 01258 textFileNameOnPhone->setText( tr2i18n( "Name on phone:" ) ); 01259 lineEditFilePath->setText( QString::null ); 01260 pushButtonFileBrowse->setText( tr2i18n( "Browse" ) ); 01261 QToolTip::add( pushButtonFileBrowse, tr2i18n( "Browse for file to upload" ) ); 01262 pushButtonFileSend->setText( tr2i18n( "Send" ) ); 01263 QToolTip::add( pushButtonFileSend, tr2i18n( "Send selected file to phone" ) ); 01264 groupBoxFileInfo->setTitle( tr2i18n( "Info" ) ); 01265 textLabelFileType->setText( tr2i18n( "Type:" ) ); 01266 textLabelFileSize->setText( tr2i18n( "Size:" ) ); 01267 textLabelFileDimensions->setText( tr2i18n( "Dimensions:" ) ); 01268 QToolTip::add( lineEditFileSize, tr2i18n( "Remember, your phone has limited space for data" ) ); 01269 QToolTip::add( lineEditFileDimensions, tr2i18n( "Remember, the display of your phone is very small" ) ); 01270 lineEditFileType->setText( QString::null ); 01271 QToolTip::add( lineEditFileType, tr2i18n( "Remember, your phone have to support the file format of the file you selected" ) ); 01272 tabWidgetMain->changeTab( tab_2, tr2i18n( "File" ) ); 01273 listViewSms->header()->setLabel( 0, tr2i18n( "Id" ) ); 01274 listViewSms->header()->setLabel( 1, tr2i18n( "State" ) ); 01275 listViewSms->header()->setLabel( 2, tr2i18n( "Date " ) ); 01276 listViewSms->header()->setLabel( 3, tr2i18n( "From " ) ); 01277 listViewSms->header()->setLabel( 4, tr2i18n( "Message " ) ); 01278 QToolTip::add( listViewSms, tr2i18n( "Your messages. Click on Read, if this list is empty" ) ); 01279 pushButtonSmsRead->setText( tr2i18n( "Read" ) ); 01280 QToolTip::add( pushButtonSmsRead, tr2i18n( "Read messages from phone" ) ); 01281 pushButtonSmsView->setText( tr2i18n( "View" ) ); 01282 QToolTip::add( pushButtonSmsView, tr2i18n( "View a message in a messagebox" ) ); 01283 pushButtonSmsReply->setText( tr2i18n( "Reply" ) ); 01284 QToolTip::add( pushButtonSmsReply, tr2i18n( "Answer a message" ) ); 01285 pushButtonSmsNew->setText( tr2i18n( "New" ) ); 01286 QToolTip::add( pushButtonSmsNew, tr2i18n( "Create a new message" ) ); 01287 pushButtonSmsSave->setText( tr2i18n( "Save" ) ); 01288 QToolTip::add( pushButtonSmsSave, tr2i18n( "Save a message in a file" ) ); 01289 pushButtonSmsSaveAll->setText( tr2i18n( "Save All" ) ); 01290 QToolTip::add( pushButtonSmsSaveAll, tr2i18n( "Save all messages in a file" ) ); 01291 pushButtonSmsDelete->setText( tr2i18n( "Delete" ) ); 01292 QToolTip::add( pushButtonSmsDelete, tr2i18n( "Delete a message" ) ); 01293 pushButtonSmsDeleteAll->setText( tr2i18n( "Delete All" ) ); 01294 QToolTip::add( pushButtonSmsDeleteAll, tr2i18n( "Delete all messages" ) ); 01295 tabWidgetMain->changeTab( TabPage, tr2i18n( "SMS" ) ); 01296 listViewContacts->header()->setLabel( 0, tr2i18n( "Pos" ) ); 01297 listViewContacts->header()->setLabel( 1, tr2i18n( "Type " ) ); 01298 listViewContacts->header()->setLabel( 2, tr2i18n( "Name " ) ); 01299 listViewContacts->header()->setLabel( 3, tr2i18n( "Number " ) ); 01300 QToolTip::add( listViewContacts, tr2i18n( "Your contacts. Click on Read, if this list is empty" ) ); 01301 pushButtonContactsRead->setText( tr2i18n( "Read" ) ); 01302 QToolTip::add( pushButtonContactsRead, tr2i18n( "Read contacts from phone" ) ); 01303 pushButtonContactsNew->setText( tr2i18n( "New" ) ); 01304 QToolTip::add( pushButtonContactsNew, tr2i18n( "Create a new contact" ) ); 01305 pushButtonContactsEdit->setText( tr2i18n( "Edit" ) ); 01306 QToolTip::add( pushButtonContactsEdit, tr2i18n( "Edit selected contact" ) ); 01307 pushButtonContactsDelete->setText( tr2i18n( "Delete" ) ); 01308 QToolTip::add( pushButtonContactsDelete, tr2i18n( "Delete selected contact" ) ); 01309 pushButtonContactsBackup->setText( tr2i18n( "Backup" ) ); 01310 QToolTip::add( pushButtonContactsBackup, tr2i18n( "Create a backup of all contacts" ) ); 01311 pushButtonContactsRestore->setText( tr2i18n( "Restore" ) ); 01312 QToolTip::add( pushButtonContactsRestore, tr2i18n( "Restore all contacts from a backup. Use with care" ) ); 01313 pushButtonContactsCall->setText( tr2i18n( "Call" ) ); 01314 QToolTip::add( pushButtonContactsCall, tr2i18n( "Call selected contact" ) ); 01315 pushButtonContactsSms->setText( tr2i18n( "SMS" ) ); 01316 QToolTip::add( pushButtonContactsSms, tr2i18n( "Send a message to the selected contact" ) ); 01317 tabWidgetMain->changeTab( TabPage_2, tr2i18n( "Contacts" ) ); 01318 groupBoxSettingsGeneral->setTitle( tr2i18n( "General" ) ); 01319 textLabelSettingsUse->setText( tr2i18n( "Connect using:" ) ); 01320 buttonGroupSettingsStartup->setTitle( QString::null ); 01321 radioButtonSettingsYes->setText( tr2i18n( "Yes" ) ); 01322 radioButtonSettingsNo->setText( tr2i18n( "No" ) ); 01323 buttonGroupSettingsConnect->setTitle( QString::null ); 01324 radioButtonSettingsIrDA->setText( tr2i18n( "IrDA" ) ); 01325 radioButtonSettingsSerial->setText( tr2i18n( "Cable" ) ); 01326 QToolTip::add( radioButtonSettingsSerial, tr2i18n( "File upload does not work with cable" ) ); 01327 radioButtonSettingsBluetooth->setText( tr2i18n( "Bluetooth" ) ); 01328 QToolTip::add( radioButtonSettingsBluetooth, tr2i18n( "Suggested" ) ); 01329 textLabelSettingsStartup->setText( tr2i18n( "Connect on startup:" ) ); 01330 pushButtonSettingsSave->setText( tr2i18n( "Save" ) ); 01331 pushButtonSettingsSave->setAccel( QKeySequence( tr2i18n( "Ctrl+S" ) ) ); 01332 QToolTip::add( pushButtonSettingsSave, tr2i18n( "Save config in config file" ) ); 01333 groupBoxSettingsBluetooth->setTitle( tr2i18n( "Bluetooth" ) ); 01334 textLabelSettingsAddress->setText( tr2i18n( "Address:" ) ); 01335 lineEditSettingsAddress->setText( tr2i18n( "00:00:00:00:00:00" ) ); 01336 textLabelSettingsPort->setText( tr2i18n( "Port:" ) ); 01337 QToolTip::add( spinBoxSettingsPort, tr2i18n( "This is usually 10" ) ); 01338 pushButtonSettingsGetAddress->setText( tr2i18n( "Get Address" ) ); 01339 QToolTip::add( pushButtonSettingsGetAddress, tr2i18n( "How to get the bluetooth address of your phone" ) ); 01340 tabWidgetMain->changeTab( TabPage_3, tr2i18n( "Settings" ) ); 01341 groupBoxHelpConfig->setTitle( tr2i18n( "Configuration" ) ); 01342 textLabelHelpGeneral->setText( tr2i18n( "There are three supported ways to connect your PC with your mobile phone, please choose one:\n" 01343 "\"Bluetooth\" (recommended), \"IrDA\" and \"Cable\" (no file upload possible).\n" 01344 "If you want BluePhone to connect automaticly on every startup, choose the \"Yes\" radiobutton, otherwise click on \"No\".\n" 01345 "If you are using Bluetooth, click on the \"Get Address\" Button and follow the instructions.\n" 01346 "You do not need to change \"Channel\" normaly, so leave it on 10.\n" 01347 "\n" 01348 "Click on \"Save\" when you are finshed. After saving, switch to the \"Phone\" Tab and click the \"Connect\" Button.\n" 01349 "If BluePhone is not able to connect, read the installation instructions again (see INSTALL file)." ) ); 01350 groupBoxHelpUsage->setTitle( tr2i18n( "Usage" ) ); 01351 textLabelHelpUsage->setText( tr2i18n( "Uploading files:\n" 01352 "Switch to the \"File\" tab, click on \"Browse\", choose the file that should be uploaded, now click on \"Send\".\n" 01353 "\n" 01354 "Working with short messages:\n" 01355 "Switch to the \"SMS\" Tab, click on \"Read\". Other functions shold be self explaining.\n" 01356 "\n" 01357 "Working with contacts:\n" 01358 "Switch to the \"Contacts\" Tab, click on \"Read\". Other functions shold be self explaining.\n" 01359 "\n" 01360 "For more detailed informations about installing, configuring and using BluePhone, \n" 01361 "please read the users guide included in the BluePhone distribution package." ) ); 01362 tabWidgetMain->changeTab( TabPage_4, tr2i18n( "Help" ) ); 01363 QToolTip::add( kLedPhoneStateRed, tr2i18n( "Shines, if your phone is not connected" ) ); 01364 QToolTip::add( kLedPhoneStateOrange, tr2i18n( "Shines, if BluePhone is talking to your phone. Be patient" ) ); 01365 QToolTip::add( kLedPhoneStateGreen, tr2i18n( "Shines, if your phone is connected" ) ); 01366 fileNewAction->setText( tr2i18n( "New" ) ); 01367 fileNewAction->setMenuText( tr2i18n( "&New" ) ); 01368 fileNewAction->setAccel( tr2i18n( "Ctrl+N" ) ); 01369 fileOpenAction->setText( tr2i18n( "Open" ) ); 01370 fileOpenAction->setMenuText( tr2i18n( "&Open..." ) ); 01371 fileOpenAction->setAccel( tr2i18n( "Ctrl+O" ) ); 01372 fileSaveAction->setText( tr2i18n( "Save" ) ); 01373 fileSaveAction->setMenuText( tr2i18n( "&Save" ) ); 01374 fileSaveAction->setAccel( tr2i18n( "Ctrl+S" ) ); 01375 fileSaveAsAction->setText( tr2i18n( "Save As" ) ); 01376 fileSaveAsAction->setMenuText( tr2i18n( "Save &As..." ) ); 01377 fileSaveAsAction->setAccel( QString::null ); 01378 filePrintAction->setText( tr2i18n( "Print" ) ); 01379 filePrintAction->setMenuText( tr2i18n( "&Print..." ) ); 01380 filePrintAction->setAccel( tr2i18n( "Ctrl+P" ) ); 01381 fileExitAction->setText( tr2i18n( "Exit" ) ); 01382 fileExitAction->setMenuText( tr2i18n( "E&xit" ) ); 01383 fileExitAction->setAccel( tr2i18n( "Ctrl+Q" ) ); 01384 editUndoAction->setText( tr2i18n( "Undo" ) ); 01385 editUndoAction->setMenuText( tr2i18n( "&Undo" ) ); 01386 editUndoAction->setAccel( tr2i18n( "Ctrl+Z" ) ); 01387 editRedoAction->setText( tr2i18n( "Redo" ) ); 01388 editRedoAction->setMenuText( tr2i18n( "&Redo" ) ); 01389 editRedoAction->setAccel( tr2i18n( "Ctrl+Y" ) ); 01390 editCutAction->setText( tr2i18n( "Cut" ) ); 01391 editCutAction->setMenuText( tr2i18n( "&Cut" ) ); 01392 editCutAction->setAccel( tr2i18n( "Ctrl+X" ) ); 01393 editCopyAction->setText( tr2i18n( "Copy" ) ); 01394 editCopyAction->setMenuText( tr2i18n( "C&opy" ) ); 01395 editCopyAction->setAccel( tr2i18n( "Ctrl+C" ) ); 01396 editPasteAction->setText( tr2i18n( "Paste" ) ); 01397 editPasteAction->setMenuText( tr2i18n( "&Paste" ) ); 01398 editPasteAction->setAccel( tr2i18n( "Ctrl+V" ) ); 01399 editFindAction->setText( tr2i18n( "Find" ) ); 01400 editFindAction->setMenuText( tr2i18n( "&Find..." ) ); 01401 editFindAction->setAccel( tr2i18n( "Ctrl+F" ) ); 01402 helpContentsAction->setText( tr2i18n( "Contents" ) ); 01403 helpContentsAction->setMenuText( tr2i18n( "&Contents..." ) ); 01404 helpContentsAction->setAccel( QString::null ); 01405 helpIndexAction->setText( tr2i18n( "Index" ) ); 01406 helpIndexAction->setMenuText( tr2i18n( "&Index..." ) ); 01407 helpIndexAction->setAccel( QString::null ); 01408 helpAboutAction->setText( tr2i18n( "About" ) ); 01409 helpAboutAction->setMenuText( tr2i18n( "&About" ) ); 01410 helpAboutAction->setAccel( tr2i18n( "Ctrl+H" ) ); 01411 menubar->findItem( 1 )->setText( tr2i18n( "&File" ) ); 01412 menubar->findItem( 2 )->setText( tr2i18n( "&Help" ) ); 01413 } 01414 01415 #include "bluephonedlg.moc"

Generated on Tue Aug 17 14:42:27 2004 for BluePhone by doxygen 1.3.7