author | mickeyl <mickeyl> | 2004-05-02 13:41:16 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-05-02 13:41:16 (UTC) |
commit | 890bdd37b593a43eee0b0559b2345e08a656b2fb (patch) (unidiff) | |
tree | d630bca1ed03cc7d5675b5cb01df69abce6ced79 | |
parent | c3c3d7c9be7b6ff1c905686bd960877f816962ff (diff) | |
download | opie-890bdd37b593a43eee0b0559b2345e08a656b2fb.zip opie-890bdd37b593a43eee0b0559b2345e08a656b2fb.tar.gz opie-890bdd37b593a43eee0b0559b2345e08a656b2fb.tar.bz2 |
- add settings for hex view buffer size
- synchronize copyright and author with reality
-rw-r--r-- | noncore/net/wellenreiter/gui/configbase.ui | 187 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiterbase.cpp | 16 |
2 files changed, 158 insertions, 45 deletions
diff --git a/noncore/net/wellenreiter/gui/configbase.ui b/noncore/net/wellenreiter/gui/configbase.ui index 113e783..3a1c258 100644 --- a/noncore/net/wellenreiter/gui/configbase.ui +++ b/noncore/net/wellenreiter/gui/configbase.ui | |||
@@ -1,110 +1,110 @@ | |||
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>246</width> | 14 | <width>250</width> |
15 | <height>371</height> | 15 | <height>371</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 | <property> | 49 | <property> |
50 | <name>whatsThis</name> | 50 | <name>whatsThis</name> |
51 | <string></string> | 51 | <string></string> |
52 | </property> | 52 | </property> |
53 | <widget> | 53 | <widget> |
54 | <class>QWidget</class> | 54 | <class>QWidget</class> |
55 | <property stdset="1"> | 55 | <property stdset="1"> |
56 | <name>name</name> | 56 | <name>name</name> |
57 | <cstring>tab</cstring> | 57 | <cstring>tab</cstring> |
58 | </property> | 58 | </property> |
59 | <attribute> | 59 | <attribute> |
60 | <name>title</name> | 60 | <name>title</name> |
61 | <string>Interface</string> | 61 | <string>Interface</string> |
62 | </attribute> | 62 | </attribute> |
63 | <vbox> | 63 | <vbox> |
64 | <property stdset="1"> | 64 | <property stdset="1"> |
65 | <name>margin</name> | 65 | <name>margin</name> |
66 | <number>6</number> | 66 | <number>6</number> |
67 | </property> | 67 | </property> |
68 | <property stdset="1"> | 68 | <property stdset="1"> |
69 | <name>spacing</name> | 69 | <name>spacing</name> |
70 | <number>6</number> | 70 | <number>6</number> |
71 | </property> | 71 | </property> |
72 | <widget> | 72 | <widget> |
73 | <class>QLayoutWidget</class> | 73 | <class>QLayoutWidget</class> |
74 | <property stdset="1"> | 74 | <property stdset="1"> |
75 | <name>name</name> | 75 | <name>name</name> |
76 | <cstring>Layout7</cstring> | 76 | <cstring>Layout7</cstring> |
77 | </property> | 77 | </property> |
78 | <grid> | 78 | <grid> |
79 | <property stdset="1"> | 79 | <property stdset="1"> |
80 | <name>margin</name> | 80 | <name>margin</name> |
81 | <number>0</number> | 81 | <number>0</number> |
82 | </property> | 82 | </property> |
83 | <property stdset="1"> | 83 | <property stdset="1"> |
84 | <name>spacing</name> | 84 | <name>spacing</name> |
85 | <number>6</number> | 85 | <number>6</number> |
86 | </property> | 86 | </property> |
87 | <widget row="1" column="1" > | 87 | <widget row="1" column="1" > |
88 | <class>QComboBox</class> | 88 | <class>QComboBox</class> |
89 | <item> | 89 | <item> |
90 | <property> | 90 | <property> |
91 | <name>text</name> | 91 | <name>text</name> |
92 | <string><select></string> | 92 | <string><select></string> |
93 | </property> | 93 | </property> |
94 | </item> | 94 | </item> |
95 | <item> | 95 | <item> |
96 | <property> | 96 | <property> |
97 | <name>text</name> | 97 | <name>text</name> |
98 | <string>cisco</string> | 98 | <string>cisco</string> |
99 | </property> | 99 | </property> |
100 | </item> | 100 | </item> |
101 | <item> | 101 | <item> |
102 | <property> | 102 | <property> |
103 | <name>text</name> | 103 | <name>text</name> |
104 | <string>wlan-ng</string> | 104 | <string>wlan-ng</string> |
105 | </property> | 105 | </property> |
106 | </item> | 106 | </item> |
107 | <item> | 107 | <item> |
108 | <property> | 108 | <property> |
109 | <name>text</name> | 109 | <name>text</name> |
110 | <string>hostap</string> | 110 | <string>hostap</string> |
@@ -503,288 +503,393 @@ | |||
503 | <cstring>channel7</cstring> | 503 | <cstring>channel7</cstring> |
504 | </property> | 504 | </property> |
505 | <property stdset="1"> | 505 | <property stdset="1"> |
506 | <name>text</name> | 506 | <name>text</name> |
507 | <string>7</string> | 507 | <string>7</string> |
508 | </property> | 508 | </property> |
509 | </widget> | 509 | </widget> |
510 | <widget row="0" column="3" > | 510 | <widget row="0" column="3" > |
511 | <class>QCheckBox</class> | 511 | <class>QCheckBox</class> |
512 | <property stdset="1"> | 512 | <property stdset="1"> |
513 | <name>name</name> | 513 | <name>name</name> |
514 | <cstring>channel3</cstring> | 514 | <cstring>channel3</cstring> |
515 | </property> | 515 | </property> |
516 | <property stdset="1"> | 516 | <property stdset="1"> |
517 | <name>text</name> | 517 | <name>text</name> |
518 | <string>3</string> | 518 | <string>3</string> |
519 | </property> | 519 | </property> |
520 | </widget> | 520 | </widget> |
521 | <widget row="1" column="0" > | 521 | <widget row="1" column="0" > |
522 | <class>QCheckBox</class> | 522 | <class>QCheckBox</class> |
523 | <property stdset="1"> | 523 | <property stdset="1"> |
524 | <name>name</name> | 524 | <name>name</name> |
525 | <cstring>channel5</cstring> | 525 | <cstring>channel5</cstring> |
526 | </property> | 526 | </property> |
527 | <property stdset="1"> | 527 | <property stdset="1"> |
528 | <name>text</name> | 528 | <name>text</name> |
529 | <string>5</string> | 529 | <string>5</string> |
530 | </property> | 530 | </property> |
531 | </widget> | 531 | </widget> |
532 | <widget row="0" column="4" > | 532 | <widget row="0" column="4" > |
533 | <class>QCheckBox</class> | 533 | <class>QCheckBox</class> |
534 | <property stdset="1"> | 534 | <property stdset="1"> |
535 | <name>name</name> | 535 | <name>name</name> |
536 | <cstring>channel4</cstring> | 536 | <cstring>channel4</cstring> |
537 | </property> | 537 | </property> |
538 | <property stdset="1"> | 538 | <property stdset="1"> |
539 | <name>text</name> | 539 | <name>text</name> |
540 | <string>4</string> | 540 | <string>4</string> |
541 | </property> | 541 | </property> |
542 | </widget> | 542 | </widget> |
543 | <widget row="2" column="2" > | 543 | <widget row="2" column="2" > |
544 | <class>QCheckBox</class> | 544 | <class>QCheckBox</class> |
545 | <property stdset="1"> | 545 | <property stdset="1"> |
546 | <name>name</name> | 546 | <name>name</name> |
547 | <cstring>channel12</cstring> | 547 | <cstring>channel12</cstring> |
548 | </property> | 548 | </property> |
549 | <property stdset="1"> | 549 | <property stdset="1"> |
550 | <name>text</name> | 550 | <name>text</name> |
551 | <string>12</string> | 551 | <string>12</string> |
552 | </property> | 552 | </property> |
553 | </widget> | 553 | </widget> |
554 | <widget row="2" column="3" > | 554 | <widget row="2" column="3" > |
555 | <class>QCheckBox</class> | 555 | <class>QCheckBox</class> |
556 | <property stdset="1"> | 556 | <property stdset="1"> |
557 | <name>name</name> | 557 | <name>name</name> |
558 | <cstring>channel13</cstring> | 558 | <cstring>channel13</cstring> |
559 | </property> | 559 | </property> |
560 | <property stdset="1"> | 560 | <property stdset="1"> |
561 | <name>text</name> | 561 | <name>text</name> |
562 | <string>13</string> | 562 | <string>13</string> |
563 | </property> | 563 | </property> |
564 | </widget> | 564 | </widget> |
565 | <widget row="2" column="4" > | 565 | <widget row="2" column="4" > |
566 | <class>QCheckBox</class> | 566 | <class>QCheckBox</class> |
567 | <property stdset="1"> | 567 | <property stdset="1"> |
568 | <name>name</name> | 568 | <name>name</name> |
569 | <cstring>channel14</cstring> | 569 | <cstring>channel14</cstring> |
570 | </property> | 570 | </property> |
571 | <property stdset="1"> | 571 | <property stdset="1"> |
572 | <name>text</name> | 572 | <name>text</name> |
573 | <string>14</string> | 573 | <string>14</string> |
574 | </property> | 574 | </property> |
575 | </widget> | 575 | </widget> |
576 | </grid> | 576 | </grid> |
577 | </widget> | 577 | </widget> |
578 | </vbox> | 578 | </vbox> |
579 | </widget> | 579 | </widget> |
580 | <widget> | 580 | <widget> |
581 | <class>QWidget</class> | 581 | <class>QWidget</class> |
582 | <property stdset="1"> | 582 | <property stdset="1"> |
583 | <name>name</name> | 583 | <name>name</name> |
584 | <cstring>tab</cstring> | 584 | <cstring>tab</cstring> |
585 | </property> | 585 | </property> |
586 | <attribute> | 586 | <attribute> |
587 | <name>title</name> | 587 | <name>title</name> |
588 | <string>Capture</string> | 588 | <string>Capture</string> |
589 | </attribute> | 589 | </attribute> |
590 | <grid> | 590 | <grid> |
591 | <property stdset="1"> | 591 | <property stdset="1"> |
592 | <name>margin</name> | 592 | <name>margin</name> |
593 | <number>5</number> | 593 | <number>5</number> |
594 | </property> | 594 | </property> |
595 | <property stdset="1"> | 595 | <property stdset="1"> |
596 | <name>spacing</name> | 596 | <name>spacing</name> |
597 | <number>3</number> | 597 | <number>3</number> |
598 | </property> | 598 | </property> |
599 | <widget row="2" column="0" rowspan="1" colspan="3" > | ||
600 | <class>ProtocolListView</class> | ||
601 | <property stdset="1"> | ||
602 | <name>name</name> | ||
603 | <cstring>capturePackets</cstring> | ||
604 | </property> | ||
605 | <property stdset="1"> | ||
606 | <name>enabled</name> | ||
607 | <bool>false</bool> | ||
608 | </property> | ||
609 | <property stdset="1"> | ||
610 | <name>sizePolicy</name> | ||
611 | <sizepolicy> | ||
612 | <hsizetype>7</hsizetype> | ||
613 | <vsizetype>7</vsizetype> | ||
614 | </sizepolicy> | ||
615 | </property> | ||
616 | </widget> | ||
617 | <widget row="1" column="0" rowspan="1" colspan="3" > | ||
618 | <class>QLineEdit</class> | ||
619 | <property stdset="1"> | ||
620 | <name>name</name> | ||
621 | <cstring>captureFileName</cstring> | ||
622 | </property> | ||
623 | <property stdset="1"> | ||
624 | <name>enabled</name> | ||
625 | <bool>false</bool> | ||
626 | </property> | ||
627 | <property stdset="1"> | ||
628 | <name>text</name> | ||
629 | <string>/tmp/capture</string> | ||
630 | </property> | ||
631 | <property> | ||
632 | <name>whatsThis</name> | ||
633 | <string>Configure the name of the capture file.</string> | ||
634 | </property> | ||
635 | </widget> | ||
636 | <widget row="0" column="2" > | 599 | <widget row="0" column="2" > |
637 | <class>QToolButton</class> | 600 | <class>QToolButton</class> |
638 | <property stdset="1"> | 601 | <property stdset="1"> |
639 | <name>name</name> | 602 | <name>name</name> |
640 | <cstring>getCaptureFileName</cstring> | 603 | <cstring>getCaptureFileName</cstring> |
641 | </property> | 604 | </property> |
642 | <property stdset="1"> | 605 | <property stdset="1"> |
643 | <name>enabled</name> | 606 | <name>enabled</name> |
644 | <bool>false</bool> | 607 | <bool>false</bool> |
645 | </property> | 608 | </property> |
646 | <property stdset="1"> | 609 | <property stdset="1"> |
647 | <name>text</name> | 610 | <name>text</name> |
648 | <string>Browse</string> | 611 | <string>Browse</string> |
649 | </property> | 612 | </property> |
650 | <property> | 613 | <property> |
651 | <name>whatsThis</name> | 614 | <name>whatsThis</name> |
652 | <string>Click to open a file requester to choose a capture file name.</string> | 615 | <string>Click to open a file requester to choose a capture file name.</string> |
653 | </property> | 616 | </property> |
654 | </widget> | 617 | </widget> |
655 | <spacer row="0" column="1" > | 618 | <spacer row="0" column="1" > |
656 | <property> | 619 | <property> |
657 | <name>name</name> | 620 | <name>name</name> |
658 | <cstring>Spacer2</cstring> | 621 | <cstring>Spacer2</cstring> |
659 | </property> | 622 | </property> |
660 | <property stdset="1"> | 623 | <property stdset="1"> |
661 | <name>orientation</name> | 624 | <name>orientation</name> |
662 | <enum>Horizontal</enum> | 625 | <enum>Horizontal</enum> |
663 | </property> | 626 | </property> |
664 | <property stdset="1"> | 627 | <property stdset="1"> |
665 | <name>sizeType</name> | 628 | <name>sizeType</name> |
666 | <enum>Expanding</enum> | 629 | <enum>Expanding</enum> |
667 | </property> | 630 | </property> |
668 | <property> | 631 | <property> |
669 | <name>sizeHint</name> | 632 | <name>sizeHint</name> |
670 | <size> | 633 | <size> |
671 | <width>20</width> | 634 | <width>20</width> |
672 | <height>20</height> | 635 | <height>20</height> |
673 | </size> | 636 | </size> |
674 | </property> | 637 | </property> |
675 | </spacer> | 638 | </spacer> |
676 | <widget row="0" column="0" > | 639 | <widget row="0" column="0" > |
677 | <class>QCheckBox</class> | 640 | <class>QCheckBox</class> |
678 | <property stdset="1"> | 641 | <property stdset="1"> |
679 | <name>name</name> | 642 | <name>name</name> |
680 | <cstring>writeCaptureFile</cstring> | 643 | <cstring>writeCaptureFile</cstring> |
681 | </property> | 644 | </property> |
682 | <property stdset="1"> | 645 | <property stdset="1"> |
683 | <name>enabled</name> | 646 | <name>enabled</name> |
684 | <bool>true</bool> | 647 | <bool>true</bool> |
685 | </property> | 648 | </property> |
686 | <property stdset="1"> | 649 | <property stdset="1"> |
687 | <name>text</name> | 650 | <name>text</name> |
688 | <string>Write Capture Files To</string> | 651 | <string>Write Capture Files To</string> |
689 | </property> | 652 | </property> |
653 | <property stdset="1"> | ||
654 | <name>checked</name> | ||
655 | <bool>true</bool> | ||
656 | </property> | ||
690 | <property> | 657 | <property> |
691 | <name>whatsThis</name> | 658 | <name>whatsThis</name> |
692 | <string>Check this to write an ethereal compatible capture file.</string> | 659 | <string>Check this to write an ethereal compatible capture file.</string> |
693 | </property> | 660 | </property> |
694 | </widget> | 661 | </widget> |
662 | <widget row="1" column="0" rowspan="1" colspan="3" > | ||
663 | <class>QLineEdit</class> | ||
664 | <property stdset="1"> | ||
665 | <name>name</name> | ||
666 | <cstring>captureFileName</cstring> | ||
667 | </property> | ||
668 | <property stdset="1"> | ||
669 | <name>enabled</name> | ||
670 | <bool>false</bool> | ||
671 | </property> | ||
672 | <property stdset="1"> | ||
673 | <name>text</name> | ||
674 | <string>/tmp/capture</string> | ||
675 | </property> | ||
676 | <property> | ||
677 | <name>whatsThis</name> | ||
678 | <string>Configure the name of the capture file.</string> | ||
679 | </property> | ||
680 | </widget> | ||
681 | <widget row="2" column="0" rowspan="1" colspan="3" > | ||
682 | <class>ProtocolListView</class> | ||
683 | <property stdset="1"> | ||
684 | <name>name</name> | ||
685 | <cstring>capturePackets</cstring> | ||
686 | </property> | ||
687 | <property stdset="1"> | ||
688 | <name>enabled</name> | ||
689 | <bool>false</bool> | ||
690 | </property> | ||
691 | <property stdset="1"> | ||
692 | <name>sizePolicy</name> | ||
693 | <sizepolicy> | ||
694 | <hsizetype>7</hsizetype> | ||
695 | <vsizetype>7</vsizetype> | ||
696 | </sizepolicy> | ||
697 | </property> | ||
698 | </widget> | ||
699 | <widget row="3" column="0" rowspan="1" colspan="3" > | ||
700 | <class>QButtonGroup</class> | ||
701 | <property stdset="1"> | ||
702 | <name>name</name> | ||
703 | <cstring>ButtonGroup1</cstring> | ||
704 | </property> | ||
705 | <property stdset="1"> | ||
706 | <name>title</name> | ||
707 | <string>Hex View Buffer</string> | ||
708 | </property> | ||
709 | <property stdset="1"> | ||
710 | <name>exclusive</name> | ||
711 | <bool>true</bool> | ||
712 | </property> | ||
713 | <property> | ||
714 | <name>layoutMargin</name> | ||
715 | </property> | ||
716 | <property> | ||
717 | <name>layoutSpacing</name> | ||
718 | </property> | ||
719 | <grid> | ||
720 | <property stdset="1"> | ||
721 | <name>margin</name> | ||
722 | <number>6</number> | ||
723 | </property> | ||
724 | <property stdset="1"> | ||
725 | <name>spacing</name> | ||
726 | <number>1</number> | ||
727 | </property> | ||
728 | <widget row="0" column="0" > | ||
729 | <class>QRadioButton</class> | ||
730 | <property stdset="1"> | ||
731 | <name>name</name> | ||
732 | <cstring>hexViewBufferUnlimited</cstring> | ||
733 | </property> | ||
734 | <property stdset="1"> | ||
735 | <name>text</name> | ||
736 | <string>unlimited</string> | ||
737 | </property> | ||
738 | <property stdset="1"> | ||
739 | <name>checked</name> | ||
740 | <bool>true</bool> | ||
741 | </property> | ||
742 | </widget> | ||
743 | <widget row="1" column="0" > | ||
744 | <class>QLayoutWidget</class> | ||
745 | <property stdset="1"> | ||
746 | <name>name</name> | ||
747 | <cstring>Layout7</cstring> | ||
748 | </property> | ||
749 | <hbox> | ||
750 | <property stdset="1"> | ||
751 | <name>margin</name> | ||
752 | <number>0</number> | ||
753 | </property> | ||
754 | <property stdset="1"> | ||
755 | <name>spacing</name> | ||
756 | <number>6</number> | ||
757 | </property> | ||
758 | <widget> | ||
759 | <class>QRadioButton</class> | ||
760 | <property stdset="1"> | ||
761 | <name>name</name> | ||
762 | <cstring>hexViewBufferLimited</cstring> | ||
763 | </property> | ||
764 | <property stdset="1"> | ||
765 | <name>text</name> | ||
766 | <string>limited to</string> | ||
767 | </property> | ||
768 | </widget> | ||
769 | <widget> | ||
770 | <class>QSpinBox</class> | ||
771 | <property stdset="1"> | ||
772 | <name>name</name> | ||
773 | <cstring>hexViewBufferSize</cstring> | ||
774 | </property> | ||
775 | <property stdset="1"> | ||
776 | <name>enabled</name> | ||
777 | <bool>false</bool> | ||
778 | </property> | ||
779 | <property stdset="1"> | ||
780 | <name>suffix</name> | ||
781 | <string> Packets</string> | ||
782 | </property> | ||
783 | <property stdset="1"> | ||
784 | <name>maxValue</name> | ||
785 | <number>10000</number> | ||
786 | </property> | ||
787 | <property stdset="1"> | ||
788 | <name>lineStep</name> | ||
789 | <number>100</number> | ||
790 | </property> | ||
791 | <property stdset="1"> | ||
792 | <name>value</name> | ||
793 | <number>2000</number> | ||
794 | </property> | ||
795 | </widget> | ||
796 | </hbox> | ||
797 | </widget> | ||
798 | </grid> | ||
799 | </widget> | ||
695 | </grid> | 800 | </grid> |
696 | </widget> | 801 | </widget> |
697 | <widget> | 802 | <widget> |
698 | <class>QWidget</class> | 803 | <class>QWidget</class> |
699 | <property stdset="1"> | 804 | <property stdset="1"> |
700 | <name>name</name> | 805 | <name>name</name> |
701 | <cstring>tab</cstring> | 806 | <cstring>tab</cstring> |
702 | </property> | 807 | </property> |
703 | <attribute> | 808 | <attribute> |
704 | <name>title</name> | 809 | <name>title</name> |
705 | <string>Parse</string> | 810 | <string>Parse</string> |
706 | </attribute> | 811 | </attribute> |
707 | <grid> | 812 | <grid> |
708 | <property stdset="1"> | 813 | <property stdset="1"> |
709 | <name>margin</name> | 814 | <name>margin</name> |
710 | <number>5</number> | 815 | <number>5</number> |
711 | </property> | 816 | </property> |
712 | <property stdset="1"> | 817 | <property stdset="1"> |
713 | <name>spacing</name> | 818 | <name>spacing</name> |
714 | <number>3</number> | 819 | <number>3</number> |
715 | </property> | 820 | </property> |
716 | <widget row="0" column="0" > | 821 | <widget row="0" column="0" > |
717 | <class>ProtocolListView</class> | 822 | <class>ProtocolListView</class> |
718 | <property stdset="1"> | 823 | <property stdset="1"> |
719 | <name>name</name> | 824 | <name>name</name> |
720 | <cstring>parsePackets</cstring> | 825 | <cstring>parsePackets</cstring> |
721 | </property> | 826 | </property> |
722 | <property stdset="1"> | 827 | <property stdset="1"> |
723 | <name>sizePolicy</name> | 828 | <name>sizePolicy</name> |
724 | <sizepolicy> | 829 | <sizepolicy> |
725 | <hsizetype>7</hsizetype> | 830 | <hsizetype>7</hsizetype> |
726 | <vsizetype>7</vsizetype> | 831 | <vsizetype>7</vsizetype> |
727 | </sizepolicy> | 832 | </sizepolicy> |
728 | </property> | 833 | </property> |
729 | </widget> | 834 | </widget> |
730 | </grid> | 835 | </grid> |
731 | </widget> | 836 | </widget> |
732 | <widget> | 837 | <widget> |
733 | <class>QWidget</class> | 838 | <class>QWidget</class> |
734 | <property stdset="1"> | 839 | <property stdset="1"> |
735 | <name>name</name> | 840 | <name>name</name> |
736 | <cstring>tab</cstring> | 841 | <cstring>tab</cstring> |
737 | </property> | 842 | </property> |
738 | <attribute> | 843 | <attribute> |
739 | <name>title</name> | 844 | <name>title</name> |
740 | <string>UI</string> | 845 | <string>UI</string> |
741 | </attribute> | 846 | </attribute> |
742 | <vbox> | 847 | <vbox> |
743 | <property stdset="1"> | 848 | <property stdset="1"> |
744 | <name>margin</name> | 849 | <name>margin</name> |
745 | <number>5</number> | 850 | <number>5</number> |
746 | </property> | 851 | </property> |
747 | <property stdset="1"> | 852 | <property stdset="1"> |
748 | <name>spacing</name> | 853 | <name>spacing</name> |
749 | <number>3</number> | 854 | <number>3</number> |
750 | </property> | 855 | </property> |
751 | <widget> | 856 | <widget> |
752 | <class>QCheckBox</class> | 857 | <class>QCheckBox</class> |
753 | <property stdset="1"> | 858 | <property stdset="1"> |
754 | <name>name</name> | 859 | <name>name</name> |
755 | <cstring>lookupVendor</cstring> | 860 | <cstring>lookupVendor</cstring> |
756 | </property> | 861 | </property> |
757 | <property stdset="1"> | 862 | <property stdset="1"> |
758 | <name>text</name> | 863 | <name>text</name> |
759 | <string>Lookup MAC vendor names</string> | 864 | <string>Lookup MAC vendor names</string> |
760 | </property> | 865 | </property> |
761 | <property> | 866 | <property> |
762 | <name>whatsThis</name> | 867 | <name>whatsThis</name> |
763 | <string>Check this to lookup MAC vendor names.</string> | 868 | <string>Check this to lookup MAC vendor names.</string> |
764 | </property> | 869 | </property> |
765 | </widget> | 870 | </widget> |
766 | <widget> | 871 | <widget> |
767 | <class>QCheckBox</class> | 872 | <class>QCheckBox</class> |
768 | <property stdset="1"> | 873 | <property stdset="1"> |
769 | <name>name</name> | 874 | <name>name</name> |
770 | <cstring>openTree</cstring> | 875 | <cstring>openTree</cstring> |
771 | </property> | 876 | </property> |
772 | <property stdset="1"> | 877 | <property stdset="1"> |
773 | <name>text</name> | 878 | <name>text</name> |
774 | <string>Open Tree On New Station</string> | 879 | <string>Open Tree On New Station</string> |
775 | </property> | 880 | </property> |
776 | <property> | 881 | <property> |
777 | <name>whatsThis</name> | 882 | <name>whatsThis</name> |
778 | <string>Check this to automatically make a tree visible when a new station is detected.</string> | 883 | <string>Check this to automatically make a tree visible when a new station is detected.</string> |
779 | </property> | 884 | </property> |
780 | </widget> | 885 | </widget> |
781 | <widget> | 886 | <widget> |
782 | <class>QCheckBox</class> | 887 | <class>QCheckBox</class> |
783 | <property stdset="1"> | 888 | <property stdset="1"> |
784 | <name>name</name> | 889 | <name>name</name> |
785 | <cstring>disablePM</cstring> | 890 | <cstring>disablePM</cstring> |
786 | </property> | 891 | </property> |
787 | <property stdset="1"> | 892 | <property stdset="1"> |
788 | <name>text</name> | 893 | <name>text</name> |
789 | <string>Disable Power Management</string> | 894 | <string>Disable Power Management</string> |
790 | </property> | 895 | </property> |
@@ -1505,98 +1610,104 @@ | |||
1505 | <size> | 1610 | <size> |
1506 | <width>20</width> | 1611 | <width>20</width> |
1507 | <height>20</height> | 1612 | <height>20</height> |
1508 | </size> | 1613 | </size> |
1509 | </property> | 1614 | </property> |
1510 | </spacer> | 1615 | </spacer> |
1511 | </vbox> | 1616 | </vbox> |
1512 | </widget> | 1617 | </widget> |
1513 | </grid> | 1618 | </grid> |
1514 | </widget> | 1619 | </widget> |
1515 | </widget> | 1620 | </widget> |
1516 | </grid> | 1621 | </grid> |
1517 | </widget> | 1622 | </widget> |
1518 | <customwidgets> | 1623 | <customwidgets> |
1519 | <customwidget> | 1624 | <customwidget> |
1520 | <class>ProtocolListView</class> | 1625 | <class>ProtocolListView</class> |
1521 | <header location="local">protolistview.h</header> | 1626 | <header location="local">protolistview.h</header> |
1522 | <sizehint> | 1627 | <sizehint> |
1523 | <width>100</width> | 1628 | <width>100</width> |
1524 | <height>100</height> | 1629 | <height>100</height> |
1525 | </sizehint> | 1630 | </sizehint> |
1526 | <container>0</container> | 1631 | <container>0</container> |
1527 | <sizepolicy> | 1632 | <sizepolicy> |
1528 | <hordata>3</hordata> | 1633 | <hordata>3</hordata> |
1529 | <verdata>3</verdata> | 1634 | <verdata>3</verdata> |
1530 | </sizepolicy> | 1635 | </sizepolicy> |
1531 | <pixmap>image0</pixmap> | 1636 | <pixmap>image0</pixmap> |
1532 | </customwidget> | 1637 | </customwidget> |
1533 | </customwidgets> | 1638 | </customwidgets> |
1534 | <images> | 1639 | <images> |
1535 | <image> | 1640 | <image> |
1536 | <name>image0</name> | 1641 | <name>image0</name> |
1537 | <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data> | 1642 | <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data> |
1538 | </image> | 1643 | </image> |
1539 | </images> | 1644 | </images> |
1540 | <connections> | 1645 | <connections> |
1541 | <connection> | 1646 | <connection> |
1542 | <sender>hopChannels</sender> | 1647 | <sender>hopChannels</sender> |
1543 | <signal>toggled(bool)</signal> | 1648 | <signal>toggled(bool)</signal> |
1544 | <receiver>hopInterval</receiver> | 1649 | <receiver>hopInterval</receiver> |
1545 | <slot>setEnabled(bool)</slot> | 1650 | <slot>setEnabled(bool)</slot> |
1546 | </connection> | 1651 | </connection> |
1547 | <connection> | 1652 | <connection> |
1548 | <sender>hopChannels</sender> | 1653 | <sender>hopChannels</sender> |
1549 | <signal>toggled(bool)</signal> | 1654 | <signal>toggled(bool)</signal> |
1550 | <receiver>TextLabel1</receiver> | 1655 | <receiver>TextLabel1</receiver> |
1551 | <slot>setEnabled(bool)</slot> | 1656 | <slot>setEnabled(bool)</slot> |
1552 | </connection> | 1657 | </connection> |
1553 | <connection> | 1658 | <connection> |
1554 | <sender>enableActiveScanning</sender> | 1659 | <sender>enableActiveScanning</sender> |
1555 | <signal>toggled(bool)</signal> | 1660 | <signal>toggled(bool)</signal> |
1556 | <receiver>GroupBox3</receiver> | 1661 | <receiver>GroupBox3</receiver> |
1557 | <slot>setEnabled(bool)</slot> | 1662 | <slot>setEnabled(bool)</slot> |
1558 | </connection> | 1663 | </connection> |
1559 | <connection> | 1664 | <connection> |
1560 | <sender>enableActiveScanning</sender> | 1665 | <sender>enableActiveScanning</sender> |
1561 | <signal>toggled(bool)</signal> | 1666 | <signal>toggled(bool)</signal> |
1562 | <receiver>GroupBox4</receiver> | 1667 | <receiver>GroupBox4</receiver> |
1563 | <slot>setEnabled(bool)</slot> | 1668 | <slot>setEnabled(bool)</slot> |
1564 | </connection> | 1669 | </connection> |
1565 | <connection> | 1670 | <connection> |
1566 | <sender>writeCaptureFile</sender> | 1671 | <sender>writeCaptureFile</sender> |
1567 | <signal>toggled(bool)</signal> | 1672 | <signal>toggled(bool)</signal> |
1568 | <receiver>getCaptureFileName</receiver> | 1673 | <receiver>getCaptureFileName</receiver> |
1569 | <slot>setEnabled(bool)</slot> | 1674 | <slot>setEnabled(bool)</slot> |
1570 | </connection> | 1675 | </connection> |
1571 | <connection> | 1676 | <connection> |
1572 | <sender>writeCaptureFile</sender> | 1677 | <sender>writeCaptureFile</sender> |
1573 | <signal>toggled(bool)</signal> | 1678 | <signal>toggled(bool)</signal> |
1574 | <receiver>captureFileName</receiver> | 1679 | <receiver>captureFileName</receiver> |
1575 | <slot>setEnabled(bool)</slot> | 1680 | <slot>setEnabled(bool)</slot> |
1576 | </connection> | 1681 | </connection> |
1577 | <connection> | 1682 | <connection> |
1578 | <sender>writeCaptureFile</sender> | 1683 | <sender>writeCaptureFile</sender> |
1579 | <signal>toggled(bool)</signal> | 1684 | <signal>toggled(bool)</signal> |
1580 | <receiver>capturePackets</receiver> | 1685 | <receiver>capturePackets</receiver> |
1581 | <slot>setEnabled(bool)</slot> | 1686 | <slot>setEnabled(bool)</slot> |
1582 | </connection> | 1687 | </connection> |
1583 | <connection> | 1688 | <connection> |
1584 | <sender>enableGPS</sender> | 1689 | <sender>enableGPS</sender> |
1585 | <signal>toggled(bool)</signal> | 1690 | <signal>toggled(bool)</signal> |
1586 | <receiver>gpsdHost</receiver> | 1691 | <receiver>gpsdHost</receiver> |
1587 | <slot>setEnabled(bool)</slot> | 1692 | <slot>setEnabled(bool)</slot> |
1588 | </connection> | 1693 | </connection> |
1589 | <connection> | 1694 | <connection> |
1590 | <sender>enableGPS</sender> | 1695 | <sender>enableGPS</sender> |
1591 | <signal>toggled(bool)</signal> | 1696 | <signal>toggled(bool)</signal> |
1592 | <receiver>gpsdPort</receiver> | 1697 | <receiver>gpsdPort</receiver> |
1593 | <slot>setEnabled(bool)</slot> | 1698 | <slot>setEnabled(bool)</slot> |
1594 | </connection> | 1699 | </connection> |
1595 | <connection> | 1700 | <connection> |
1596 | <sender>startGPS</sender> | 1701 | <sender>startGPS</sender> |
1597 | <signal>toggled(bool)</signal> | 1702 | <signal>toggled(bool)</signal> |
1598 | <receiver>commandGPS</receiver> | 1703 | <receiver>commandGPS</receiver> |
1599 | <slot>setEnabled(bool)</slot> | 1704 | <slot>setEnabled(bool)</slot> |
1600 | </connection> | 1705 | </connection> |
1706 | <connection> | ||
1707 | <sender>hexViewBufferLimited</sender> | ||
1708 | <signal>toggled(bool)</signal> | ||
1709 | <receiver>hexViewBufferSize</receiver> | ||
1710 | <slot>setEnabled(bool)</slot> | ||
1711 | </connection> | ||
1601 | </connections> | 1712 | </connections> |
1602 | </UI> | 1713 | </UI> |
diff --git a/noncore/net/wellenreiter/gui/wellenreiterbase.cpp b/noncore/net/wellenreiter/gui/wellenreiterbase.cpp index f035e89..9bdf3e0 100644 --- a/noncore/net/wellenreiter/gui/wellenreiterbase.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiterbase.cpp | |||
@@ -23,158 +23,160 @@ | |||
23 | #include "scanlist.h" | 23 | #include "scanlist.h" |
24 | #include "statwindow.h" | 24 | #include "statwindow.h" |
25 | #include "graphwindow.h" | 25 | #include "graphwindow.h" |
26 | 26 | ||
27 | #ifdef QWS | 27 | #ifdef QWS |
28 | #include <qpe/resource.h> | 28 | #include <qpe/resource.h> |
29 | #include <opie2/otabwidget.h> | 29 | #include <opie2/otabwidget.h> |
30 | using namespace Opie; | 30 | using namespace Opie; |
31 | #else | 31 | #else |
32 | #include "resource.h" | 32 | #include "resource.h" |
33 | #include <qtabwidget.h> | 33 | #include <qtabwidget.h> |
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | 36 | ||
37 | /* | 37 | /* |
38 | * Constructs a WellenreiterBase which is a child of 'parent', with the | 38 | * Constructs a WellenreiterBase which is a child of 'parent', with the |
39 | * name 'name' and widget flags set to 'f' | 39 | * name 'name' and widget flags set to 'f' |
40 | */ | 40 | */ |
41 | using namespace Opie::Ui; | 41 | using namespace Opie::Ui; |
42 | using namespace Opie::Ui; | 42 | using namespace Opie::Ui; |
43 | using namespace Opie::Ui; | 43 | using namespace Opie::Ui; |
44 | WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags fl ) | 44 | WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags fl ) |
45 | : QWidget( parent, name, fl ) | 45 | : QWidget( parent, name, fl ) |
46 | { | 46 | { |
47 | //ani1 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot0" ) ); | 47 | //ani1 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot0" ) ); |
48 | //ani2 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot90" ) ); | 48 | //ani2 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot90" ) ); |
49 | //ani3 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot180" ) ); | 49 | //ani3 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot180" ) ); |
50 | //ani4 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot270" ) ); | 50 | //ani4 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot270" ) ); |
51 | 51 | ||
52 | if ( !name ) | 52 | if ( !name ) |
53 | setName( "WellenreiterBase" ); | 53 | setName( "WellenreiterBase" ); |
54 | resize( 191, 294 ); | 54 | resize( 191, 294 ); |
55 | #ifdef QWS | 55 | #ifdef QWS |
56 | setCaption( tr( "Wellenreiter/Opie" ) ); | 56 | setCaption( tr( "Wellenreiter/Opie" ) ); |
57 | #else | 57 | #else |
58 | setCaption( tr( "Wellenreiter/X11" ) ); | 58 | setCaption( tr( "Wellenreiter/X11" ) ); |
59 | #endif | 59 | #endif |
60 | WellenreiterBaseLayout = new QVBoxLayout( this ); | 60 | WellenreiterBaseLayout = new QVBoxLayout( this ); |
61 | WellenreiterBaseLayout->setSpacing( 2 ); | 61 | WellenreiterBaseLayout->setSpacing( 2 ); |
62 | WellenreiterBaseLayout->setMargin( 0 ); | 62 | WellenreiterBaseLayout->setMargin( 0 ); |
63 | #ifdef QWS | 63 | #ifdef QWS |
64 | TabWidget = new OTabWidget( this, "TabWidget", OTabWidget::Global ); | 64 | TabWidget = new OTabWidget( this, "TabWidget", OTabWidget::Global ); |
65 | #else | 65 | #else |
66 | TabWidget = new QTabWidget( this, "TabWidget" ); | 66 | TabWidget = new QTabWidget( this, "TabWidget" ); |
67 | #endif | 67 | #endif |
68 | ap = new QWidget( TabWidget, "ap" ); | 68 | ap = new QWidget( TabWidget, "ap" ); |
69 | apLayout = new QVBoxLayout( ap ); | 69 | apLayout = new QVBoxLayout( ap ); |
70 | apLayout->setSpacing( 2 ); | 70 | apLayout->setSpacing( 2 ); |
71 | apLayout->setMargin( 2 ); | 71 | apLayout->setMargin( 2 ); |
72 | 72 | ||
73 | //--------- NETVIEW TAB -------------- | 73 | //--------- NETVIEW TAB -------------- |
74 | 74 | ||
75 | netview = new MScanListView( ap ); | 75 | netview = new MScanListView( ap ); |
76 | apLayout->addWidget( netview ); | 76 | apLayout->addWidget( netview ); |
77 | 77 | ||
78 | //--------- GRAPH TAB -------------- | 78 | //--------- GRAPH TAB -------------- |
79 | 79 | ||
80 | graphwindow = new MGraphWindow( TabWidget, "Graph" ); | 80 | graphwindow = new MGraphWindow( TabWidget, "Graph" ); |
81 | 81 | ||
82 | //--------- LOG TAB -------------- | 82 | //--------- LOG TAB -------------- |
83 | 83 | ||
84 | logwindow = new MLogWindow( TabWidget, "Log" ); | 84 | logwindow = new MLogWindow( TabWidget, "Log" ); |
85 | 85 | ||
86 | //--------- HEX TAB -------------- | 86 | //--------- HEX TAB -------------- |
87 | 87 | ||
88 | hexwindow = new PacketView( TabWidget, "Hex" ); | 88 | hexwindow = new PacketView( TabWidget, "Hex" ); |
89 | 89 | ||
90 | //--------- STAT TAB -------------- | 90 | //--------- STAT TAB -------------- |
91 | 91 | ||
92 | statwindow = new MStatWindow( TabWidget, "Stat" ); | 92 | statwindow = new MStatWindow( TabWidget, "Stat" ); |
93 | 93 | ||
94 | //--------- ABOUT TAB -------------- | 94 | //--------- ABOUT TAB -------------- |
95 | 95 | ||
96 | about = new QWidget( TabWidget, "about" ); | 96 | about = new QWidget( TabWidget, "about" ); |
97 | aboutLayout = new QGridLayout( about ); | 97 | aboutLayout = new QGridLayout( about ); |
98 | aboutLayout->setSpacing( 6 ); | 98 | aboutLayout->setSpacing( 6 ); |
99 | aboutLayout->setMargin( 11 ); | 99 | aboutLayout->setMargin( 11 ); |
100 | 100 | ||
101 | PixmapLabel1_3_2 = new QLabel( about, "PixmapLabel1_3_2" ); | 101 | PixmapLabel1_3_2 = new QLabel( about, "PixmapLabel1_3_2" ); |
102 | PixmapLabel1_3_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, PixmapLabel1_3_2->sizePolicy().hasHeightForWidth() ) ); | 102 | PixmapLabel1_3_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, PixmapLabel1_3_2->sizePolicy().hasHeightForWidth() ) ); |
103 | PixmapLabel1_3_2->setFrameShape( QLabel::Panel ); | 103 | PixmapLabel1_3_2->setFrameShape( QLabel::Panel ); |
104 | PixmapLabel1_3_2->setFrameShadow( QLabel::Sunken ); | 104 | PixmapLabel1_3_2->setFrameShadow( QLabel::Sunken ); |
105 | PixmapLabel1_3_2->setLineWidth( 2 ); | 105 | PixmapLabel1_3_2->setLineWidth( 2 ); |
106 | PixmapLabel1_3_2->setMargin( 0 ); | 106 | PixmapLabel1_3_2->setMargin( 0 ); |
107 | PixmapLabel1_3_2->setMidLineWidth( 0 ); | 107 | PixmapLabel1_3_2->setMidLineWidth( 0 ); |
108 | PixmapLabel1_3_2->setPixmap( Resource::loadPixmap( "wellenreiter/logo" ) ); | 108 | PixmapLabel1_3_2->setPixmap( Resource::loadPixmap( "wellenreiter/logo" ) ); |
109 | PixmapLabel1_3_2->setScaledContents( TRUE ); | 109 | PixmapLabel1_3_2->setScaledContents( TRUE ); |
110 | PixmapLabel1_3_2->setAlignment( int( QLabel::AlignCenter ) ); | 110 | PixmapLabel1_3_2->setAlignment( int( QLabel::AlignCenter ) ); |
111 | 111 | ||
112 | aboutLayout->addWidget( PixmapLabel1_3_2, 0, 0 ); | 112 | aboutLayout->addWidget( PixmapLabel1_3_2, 0, 0 ); |
113 | 113 | ||
114 | TextLabel1_4_2 = new QLabel( about, "TextLabel1_4_2" ); | 114 | TextLabel1_4_2 = new QLabel( about, "TextLabel1_4_2" ); |
115 | QFont TextLabel1_4_2_font( TextLabel1_4_2->font() ); | 115 | QFont TextLabel1_4_2_font( TextLabel1_4_2->font() ); |
116 | TextLabel1_4_2_font.setFamily( "adobe-helvetica" ); | 116 | TextLabel1_4_2_font.setFamily( "adobe-helvetica" ); |
117 | TextLabel1_4_2_font.setPointSize( 10 ); | 117 | TextLabel1_4_2_font.setPointSize( 10 ); |
118 | TextLabel1_4_2->setFont( TextLabel1_4_2_font ); | 118 | TextLabel1_4_2->setFont( TextLabel1_4_2_font ); |
119 | TextLabel1_4_2->setText( tr( "<p align=center>\n" | 119 | TextLabel1_4_2->setText( |
120 | "<hr>\n" | 120 | "<p align=center>" |
121 | "Michael 'Mickey' Lauer<br><hr>\n" | 121 | "<hr>" |
122 | "Max Moser<br>\n" | 122 | "<b>(C) Michael 'Mickey' Lauer</b><br>" |
123 | "Martin J. Muench<br>\n" | 123 | "<hr>" |
124 | "<b>www.wellenreiter.net</b>\n" | 124 | "mickey@Vanille.de<br>" |
125 | "</p>" ) ); | 125 | "www.Vanille.de/projects/wellenreiter.html<br>" |
126 | "www.wellenreiter.net" | ||
127 | "</p>" ); | ||
126 | TextLabel1_4_2->setAlignment( int( QLabel::AlignCenter ) ); | 128 | TextLabel1_4_2->setAlignment( int( QLabel::AlignCenter ) ); |
127 | 129 | ||
128 | aboutLayout->addWidget( TextLabel1_4_2, 1, 0 ); | 130 | aboutLayout->addWidget( TextLabel1_4_2, 1, 0 ); |
129 | 131 | ||
130 | #ifdef QWS | 132 | #ifdef QWS |
131 | TabWidget->addTab( ap, "wellenreiter/networks", tr( "Nets" ) ); | 133 | TabWidget->addTab( ap, "wellenreiter/networks", tr( "Nets" ) ); |
132 | TabWidget->addTab( graphwindow, "wellenreiter/graph", tr( "Graph" ) ); | 134 | TabWidget->addTab( graphwindow, "wellenreiter/graph", tr( "Graph" ) ); |
133 | TabWidget->addTab( logwindow, "wellenreiter/log", tr( "Log" ) ); | 135 | TabWidget->addTab( logwindow, "wellenreiter/log", tr( "Log" ) ); |
134 | TabWidget->addTab( hexwindow, "wellenreiter/hex", tr( "Hex" ) ); | 136 | TabWidget->addTab( hexwindow, "wellenreiter/hex", tr( "Hex" ) ); |
135 | TabWidget->addTab( statwindow, "wellenreiter/stat", tr( "Stat" ) ); | 137 | TabWidget->addTab( statwindow, "wellenreiter/stat", tr( "Stat" ) ); |
136 | TabWidget->addTab( about, "wellenreiter/about", tr( "About" ) ); | 138 | TabWidget->addTab( about, "wellenreiter/about", tr( "About" ) ); |
137 | #else | 139 | #else |
138 | TabWidget->addTab( ap, /* "wellenreiter/networks", */ tr( "Networks" ) ); | 140 | TabWidget->addTab( ap, /* "wellenreiter/networks", */ tr( "Networks" ) ); |
139 | TabWidget->addTab( graphwindow, /* "wellenreiter/graph", */ tr( "Graph" ) ); | 141 | TabWidget->addTab( graphwindow, /* "wellenreiter/graph", */ tr( "Graph" ) ); |
140 | TabWidget->addTab( logwindow, /* "wellenreiter/log", */ tr( "Log" ) ); | 142 | TabWidget->addTab( logwindow, /* "wellenreiter/log", */ tr( "Log" ) ); |
141 | TabWidget->addTab( hexwindow, /* "wellenreiter/hex", */ tr( "Hex" ) ); | 143 | TabWidget->addTab( hexwindow, /* "wellenreiter/hex", */ tr( "Hex" ) ); |
142 | TabWidget->addTab( statwindow, /* "wellenreiter/hex", */ tr( "Stat" ) ); | 144 | TabWidget->addTab( statwindow, /* "wellenreiter/hex", */ tr( "Stat" ) ); |
143 | TabWidget->addTab( about, /* "wellenreiter/about", */ tr( "About" ) ); | 145 | TabWidget->addTab( about, /* "wellenreiter/about", */ tr( "About" ) ); |
144 | #endif | 146 | #endif |
145 | WellenreiterBaseLayout->addWidget( TabWidget ); | 147 | WellenreiterBaseLayout->addWidget( TabWidget ); |
146 | 148 | ||
147 | #ifdef QWS | 149 | #ifdef QWS |
148 | TabWidget->setCurrentTab( tr( "Nets" ) ); | 150 | TabWidget->setCurrentTab( tr( "Nets" ) ); |
149 | #endif | 151 | #endif |
150 | 152 | ||
151 | } | 153 | } |
152 | 154 | ||
153 | /* | 155 | /* |
154 | * Destroys the object and frees any allocated resources | 156 | * Destroys the object and frees any allocated resources |
155 | */ | 157 | */ |
156 | WellenreiterBase::~WellenreiterBase() | 158 | WellenreiterBase::~WellenreiterBase() |
157 | { | 159 | { |
158 | // no need to delete child widgets, Qt does it all for us | 160 | // no need to delete child widgets, Qt does it all for us |
159 | } | 161 | } |
160 | 162 | ||
161 | /* | 163 | /* |
162 | * Main event handler. Reimplemented to handle application | 164 | * Main event handler. Reimplemented to handle application |
163 | * font changes | 165 | * font changes |
164 | */ | 166 | */ |
165 | bool WellenreiterBase::event( QEvent* ev ) | 167 | bool WellenreiterBase::event( QEvent* ev ) |
166 | { | 168 | { |
167 | bool ret = QWidget::event( ev ); | 169 | bool ret = QWidget::event( ev ); |
168 | if ( ev->type() == QEvent::ApplicationFontChange ) { | 170 | if ( ev->type() == QEvent::ApplicationFontChange ) { |
169 | //QFont Log_2_font( Log_2->font() ); | 171 | //QFont Log_2_font( Log_2->font() ); |
170 | //Log_2_font.setFamily( "adobe-courier" ); | 172 | //Log_2_font.setFamily( "adobe-courier" ); |
171 | //Log_2_font.setPointSize( 8 ); | 173 | //Log_2_font.setPointSize( 8 ); |
172 | //Log_2->setFont( Log_2_font ); | 174 | //Log_2->setFont( Log_2_font ); |
173 | QFont TextLabel1_4_2_font( TextLabel1_4_2->font() ); | 175 | QFont TextLabel1_4_2_font( TextLabel1_4_2->font() ); |
174 | TextLabel1_4_2_font.setFamily( "adobe-helvetica" ); | 176 | TextLabel1_4_2_font.setFamily( "adobe-helvetica" ); |
175 | TextLabel1_4_2_font.setPointSize( 10 ); | 177 | TextLabel1_4_2_font.setPointSize( 10 ); |
176 | TextLabel1_4_2->setFont( TextLabel1_4_2_font ); | 178 | TextLabel1_4_2->setFont( TextLabel1_4_2_font ); |
177 | } | 179 | } |
178 | return ret; | 180 | return ret; |
179 | } | 181 | } |
180 | 182 | ||