You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kmyfirewall/kmyfirewall/ruleoptionplugins/limit_option/kmyfirewallruleeditorlimit.ui

444 lines
17 KiB

<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>KMyFirewallRuleEditorLimit</class>
<widget class="TQWidget">
<property name="name">
<cstring>KMyFirewallRuleEditorLimit</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>387</width>
<height>238</height>
</rect>
</property>
<property name="caption">
<string>Limit Matches</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>2</number>
</property>
<property name="spacing">
<number>2</number>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>32767</width>
<height>40</height>
</size>
</property>
<property name="font">
<font>
<family>Arial</family>
<bold>1</bold>
</font>
</property>
<property name="frameShape">
<enum>StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>Plain</enum>
</property>
<property name="lineWidth">
<number>2</number>
</property>
<property name="text">
<string>Limit Options</string>
</property>
<property name="alignment">
<set>WordBreak|AlignCenter</set>
</property>
<property name="wordwrap" stdset="0">
</property>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>gb_conntrack</cstring>
</property>
<property name="title">
<string>Configure Limit </string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout17</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>c_use_limit</cstring>
</property>
<property name="text">
<string>Limit packet matching</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout26</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>c_limit</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>3</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Set limit rate:</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>Spacer60</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
<widget class="TQSpinBox">
<property name="name">
<cstring>sb_limit</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="minValue">
<number>1</number>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel7</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>/</string>
</property>
</widget>
<widget class="TQComboBox">
<item>
<property name="text">
<string>second</string>
</property>
</item>
<item>
<property name="text">
<string>minute</string>
</property>
</item>
<item>
<property name="text">
<string>hour</string>
</property>
</item>
<property name="name">
<cstring>cb_interval</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="editable">
<bool>false</bool>
</property>
<property name="insertionPolicy">
<enum>NoInsertion</enum>
</property>
<property name="duplicatesEnabled">
<bool>false</bool>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout27</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>c_burst</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>3</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Set burst limit:</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>Spacer61</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
<widget class="TQSpinBox">
<property name="name">
<cstring>sb_burst</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="minValue">
<number>1</number>
</property>
<property name="value">
<number>5</number>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer15</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>21</height>
</size>
</property>
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout10</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KPushButton">
<property name="name">
<cstring>kPushButton1</cstring>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>Spacer12_2_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>60</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQPushButton">
<property name="name">
<cstring>b_help</cstring>
</property>
<property name="text">
<string>&amp;Help</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>Spacer12_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>60</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQPushButton">
<property name="name">
<cstring>b_ok</cstring>
</property>
<property name="text">
<string>&amp;Apply</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>b_ok</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditorLimit</receiver>
<slot>slotOk()</slot>
</connection>
<connection>
<sender>c_use_limit</sender>
<signal>toggled(bool)</signal>
<receiver>c_limit</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>c_limit</sender>
<signal>toggled(bool)</signal>
<receiver>c_burst</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>c_limit</sender>
<signal>toggled(bool)</signal>
<receiver>sb_limit</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>c_limit</sender>
<signal>toggled(bool)</signal>
<receiver>cb_interval</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>c_burst</sender>
<signal>toggled(bool)</signal>
<receiver>sb_burst</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>b_help</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditorLimit</receiver>
<slot>slotHelp()</slot>
</connection>
<connection>
<sender>kPushButton1</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditorLimit</receiver>
<slot>reject()</slot>
</connection>
</connections>
<Q_SLOTS>
<slot>slotHelp()</slot>
<slot>slotOk()</slot>
<slot>reject()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>tqwidget.h</includehint>
<includehint>kpushbutton.h</includehint>
</includehints>
</UI>