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/custom_option/kmyfirewallruleeditorcustom...

373 lines
14 KiB

<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>KMyFirewallRuleEditorCustomRule</class>
<widget class="TQWidget">
<property name="name">
<cstring>KMyFirewallRuleEditorCustomRule</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>491</width>
<height>473</height>
</rect>
</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>textLabel8</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</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>
<bold>1</bold>
</font>
</property>
<property name="frameShape">
<enum>StyledPanel</enum>
</property>
<property name="lineWidth">
<number>2</number>
</property>
<property name="text">
<string>Custom Options</string>
</property>
<property name="alignment">
<set>WordBreak|AlignCenter</set>
</property>
</widget>
<widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup3</cstring>
</property>
<property name="title">
<string>Rule Options</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>c_options</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
</font>
</property>
<property name="text">
<string>Use custom options</string>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel14</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>&lt;p&gt;Define the options for you rule here. You may use any option that your current iptbales installation supports.&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQLineEdit">
<property name="name">
<cstring>t_options</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</vbox>
</widget>
<widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup2</cstring>
</property>
<property name="title">
<string>Target</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLineEdit" row="0" column="0">
<property name="name">
<cstring>t_target</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</grid>
</widget>
<widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup1</cstring>
</property>
<property name="title">
<string>Target Options</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLineEdit" row="2" column="1">
<property name="name">
<cstring>t_target_options</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel13</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="font">
<font>
<bold>1</bold>
</font>
</property>
<property name="text">
<string>Target options:</string>
</property>
</widget>
<widget class="TQCheckBox" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>c_target_options</cstring>
</property>
<property name="font">
<font>
</font>
</property>
<property name="text">
<string>Enable target options</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel7</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Here you may define the target option for the rule. Please keep in mind that not all targets have options to set. </string>
</property>
<property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
</grid>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout61</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQPushButton">
<property name="name">
<cstring>b_cancel</cstring>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer6</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>80</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>spacer17</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>141</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQPushButton">
<property name="name">
<cstring>b_apply</cstring>
</property>
<property name="text">
<string>&amp;Apply</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>b_cancel</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditorCustomRule</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>b_help</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditorCustomRule</receiver>
<slot>slotHelp()</slot>
</connection>
<connection>
<sender>b_apply</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditorCustomRule</receiver>
<slot>accept()</slot>
</connection>
<connection>
<sender>c_options</sender>
<signal>toggled(bool)</signal>
<receiver>t_options</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>c_options</sender>
<signal>toggled(bool)</signal>
<receiver>textLabel14</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>c_target_options</sender>
<signal>toggled(bool)</signal>
<receiver>textLabel7</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>c_target_options</sender>
<signal>toggled(bool)</signal>
<receiver>textLabel13</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>c_target_options</sender>
<signal>toggled(bool)</signal>
<receiver>t_target_options</receiver>
<slot>setEnabled(bool)</slot>
</connection>
</connections>
<Q_SLOTS>
<slot>slotHelp()</slot>
<slot>reject()</slot>
<slot>accept()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">tqwidget.h</include>
</includes>
</UI>