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 | |||
@@ -11,7 +11,7 @@ | |||
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> |
@@ -596,43 +596,6 @@ | |||
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"> |
@@ -687,11 +650,153 @@ | |||
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> |
@@ -1598,5 +1703,11 @@ | |||
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 | |||
@@ -116,13 +116,15 @@ WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags f | |||
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 ); |