author | mickeyl <mickeyl> | 2004-05-02 13:41:16 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-05-02 13:41:16 (UTC) |
commit | 890bdd37b593a43eee0b0559b2345e08a656b2fb (patch) (side-by-side diff) | |
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 @@ <rect> <x>0</x> <y>0</y> - <width>246</width> + <width>250</width> <height>371</height> </rect> </property> @@ -596,43 +596,6 @@ <name>spacing</name> <number>3</number> </property> - <widget row="2" column="0" rowspan="1" colspan="3" > - <class>ProtocolListView</class> - <property stdset="1"> - <name>name</name> - <cstring>capturePackets</cstring> - </property> - <property stdset="1"> - <name>enabled</name> - <bool>false</bool> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>7</hsizetype> - <vsizetype>7</vsizetype> - </sizepolicy> - </property> - </widget> - <widget row="1" column="0" rowspan="1" colspan="3" > - <class>QLineEdit</class> - <property stdset="1"> - <name>name</name> - <cstring>captureFileName</cstring> - </property> - <property stdset="1"> - <name>enabled</name> - <bool>false</bool> - </property> - <property stdset="1"> - <name>text</name> - <string>/tmp/capture</string> - </property> - <property> - <name>whatsThis</name> - <string>Configure the name of the capture file.</string> - </property> - </widget> <widget row="0" column="2" > <class>QToolButton</class> <property stdset="1"> @@ -687,11 +650,153 @@ <name>text</name> <string>Write Capture Files To</string> </property> + <property stdset="1"> + <name>checked</name> + <bool>true</bool> + </property> <property> <name>whatsThis</name> <string>Check this to write an ethereal compatible capture file.</string> </property> </widget> + <widget row="1" column="0" rowspan="1" colspan="3" > + <class>QLineEdit</class> + <property stdset="1"> + <name>name</name> + <cstring>captureFileName</cstring> + </property> + <property stdset="1"> + <name>enabled</name> + <bool>false</bool> + </property> + <property stdset="1"> + <name>text</name> + <string>/tmp/capture</string> + </property> + <property> + <name>whatsThis</name> + <string>Configure the name of the capture file.</string> + </property> + </widget> + <widget row="2" column="0" rowspan="1" colspan="3" > + <class>ProtocolListView</class> + <property stdset="1"> + <name>name</name> + <cstring>capturePackets</cstring> + </property> + <property stdset="1"> + <name>enabled</name> + <bool>false</bool> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> + </sizepolicy> + </property> + </widget> + <widget row="3" column="0" rowspan="1" colspan="3" > + <class>QButtonGroup</class> + <property stdset="1"> + <name>name</name> + <cstring>ButtonGroup1</cstring> + </property> + <property stdset="1"> + <name>title</name> + <string>Hex View Buffer</string> + </property> + <property stdset="1"> + <name>exclusive</name> + <bool>true</bool> + </property> + <property> + <name>layoutMargin</name> + </property> + <property> + <name>layoutSpacing</name> + </property> + <grid> + <property stdset="1"> + <name>margin</name> + <number>6</number> + </property> + <property stdset="1"> + <name>spacing</name> + <number>1</number> + </property> + <widget row="0" column="0" > + <class>QRadioButton</class> + <property stdset="1"> + <name>name</name> + <cstring>hexViewBufferUnlimited</cstring> + </property> + <property stdset="1"> + <name>text</name> + <string>unlimited</string> + </property> + <property stdset="1"> + <name>checked</name> + <bool>true</bool> + </property> + </widget> + <widget row="1" column="0" > + <class>QLayoutWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>Layout7</cstring> + </property> + <hbox> + <property stdset="1"> + <name>margin</name> + <number>0</number> + </property> + <property stdset="1"> + <name>spacing</name> + <number>6</number> + </property> + <widget> + <class>QRadioButton</class> + <property stdset="1"> + <name>name</name> + <cstring>hexViewBufferLimited</cstring> + </property> + <property stdset="1"> + <name>text</name> + <string>limited to</string> + </property> + </widget> + <widget> + <class>QSpinBox</class> + <property stdset="1"> + <name>name</name> + <cstring>hexViewBufferSize</cstring> + </property> + <property stdset="1"> + <name>enabled</name> + <bool>false</bool> + </property> + <property stdset="1"> + <name>suffix</name> + <string> Packets</string> + </property> + <property stdset="1"> + <name>maxValue</name> + <number>10000</number> + </property> + <property stdset="1"> + <name>lineStep</name> + <number>100</number> + </property> + <property stdset="1"> + <name>value</name> + <number>2000</number> + </property> + </widget> + </hbox> + </widget> + </grid> + </widget> </grid> </widget> <widget> @@ -1598,5 +1703,11 @@ <receiver>commandGPS</receiver> <slot>setEnabled(bool)</slot> </connection> + <connection> + <sender>hexViewBufferLimited</sender> + <signal>toggled(bool)</signal> + <receiver>hexViewBufferSize</receiver> + <slot>setEnabled(bool)</slot> + </connection> </connections> </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 TextLabel1_4_2_font.setFamily( "adobe-helvetica" ); TextLabel1_4_2_font.setPointSize( 10 ); TextLabel1_4_2->setFont( TextLabel1_4_2_font ); - TextLabel1_4_2->setText( tr( "<p align=center>\n" -"<hr>\n" -"Michael 'Mickey' Lauer<br><hr>\n" -"Max Moser<br>\n" -"Martin J. Muench<br>\n" -"<b>www.wellenreiter.net</b>\n" -"</p>" ) ); + TextLabel1_4_2->setText( +"<p align=center>" +"<hr>" +"<b>(C) Michael 'Mickey' Lauer</b><br>" +"<hr>" +"mickey@Vanille.de<br>" +"www.Vanille.de/projects/wellenreiter.html<br>" +"www.wellenreiter.net" +"</p>" ); TextLabel1_4_2->setAlignment( int( QLabel::AlignCenter ) ); aboutLayout->addWidget( TextLabel1_4_2, 1, 0 ); |