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/mac_option/kmyfirewallruleeditormac.ui

503 lines
18 KiB

<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>KMyFirewallRuleEditorMac</class>
<widget class="TQWidget">
<property name="name">
<cstring>KMyFirewallRuleEditorMac</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>568</width>
<height>192</height>
</rect>
</property>
<property name="caption">
<string>MAC Options</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>MAC Options</string>
</property>
<property name="alignment">
<set>WordBreak|AlignCenter</set>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout3</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_src_mac</cstring>
</property>
<property name="text">
<string>Source MAC:</string>
</property>
</widget>
<widget class="TQLineEdit">
<property name="name">
<cstring>t_src_mac1</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>32767</height>
</size>
</property>
<property name="maxLength">
<number>2</number>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel1_2_6</cstring>
</property>
<property name="maximumSize">
<size>
<width>5</width>
<height>32767</height>
</size>
</property>
<property name="text">
<string>&lt;b&gt;:&lt;/b&gt;</string>
</property>
</widget>
<widget class="TQLineEdit">
<property name="name">
<cstring>t_src_mac2</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>32767</height>
</size>
</property>
<property name="maxLength">
<number>2</number>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel1_2_5</cstring>
</property>
<property name="maximumSize">
<size>
<width>5</width>
<height>32767</height>
</size>
</property>
<property name="text">
<string>&lt;b&gt;:&lt;/b&gt;</string>
</property>
</widget>
<widget class="TQLineEdit">
<property name="name">
<cstring>t_src_mac3</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>32767</height>
</size>
</property>
<property name="maxLength">
<number>2</number>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel1_2_4</cstring>
</property>
<property name="maximumSize">
<size>
<width>5</width>
<height>32767</height>
</size>
</property>
<property name="text">
<string>&lt;b&gt;:&lt;/b&gt;</string>
</property>
</widget>
<widget class="TQLineEdit">
<property name="name">
<cstring>t_src_mac4</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>32767</height>
</size>
</property>
<property name="maxLength">
<number>2</number>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel1_2_3</cstring>
</property>
<property name="maximumSize">
<size>
<width>5</width>
<height>32767</height>
</size>
</property>
<property name="text">
<string>&lt;b&gt;:&lt;/b&gt;</string>
</property>
</widget>
<widget class="TQLineEdit">
<property name="name">
<cstring>t_src_mac5</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>32767</height>
</size>
</property>
<property name="maxLength">
<number>2</number>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel1_2_2</cstring>
</property>
<property name="maximumSize">
<size>
<width>5</width>
<height>32767</height>
</size>
</property>
<property name="text">
<string>&lt;b&gt;:&lt;/b&gt;</string>
</property>
</widget>
<widget class="TQLineEdit">
<property name="name">
<cstring>t_src_mac6</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>32767</height>
</size>
</property>
<property name="maxLength">
<number>2</number>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>c_inv_src_mac</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Invert</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>NOTE: By checking the "Invert" checkbox the rule will only match if the address found in the packet header is not one you defined.</string>
</property>
<property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
<spacer>
<property name="name">
<cstring>Spacer7</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="sizeHint">
<size>
<width>16</width>
<height>22</height>
</size>
</property>
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout13</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>Spacer5_2</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>Spacer5</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_ok</cstring>
</property>
<property name="text">
<string>&amp;Apply</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>c_src_mac</sender>
<signal>toggled(bool)</signal>
<receiver>t_src_mac1</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>c_src_mac</sender>
<signal>toggled(bool)</signal>
<receiver>c_inv_src_mac</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>b_ok</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditorMac</receiver>
<slot>accept()</slot>
</connection>
<connection>
<sender>c_src_mac</sender>
<signal>toggled(bool)</signal>
<receiver>t_src_mac2</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>c_src_mac</sender>
<signal>toggled(bool)</signal>
<receiver>t_src_mac3</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>c_src_mac</sender>
<signal>toggled(bool)</signal>
<receiver>t_src_mac4</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>c_src_mac</sender>
<signal>toggled(bool)</signal>
<receiver>t_src_mac5</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>c_src_mac</sender>
<signal>toggled(bool)</signal>
<receiver>t_src_mac6</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>b_help</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditorMac</receiver>
<slot>slotHelp()</slot>
</connection>
<connection>
<sender>kPushButton1</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditorMac</receiver>
<slot>reject()</slot>
</connection>
</connections>
<slots>
<slot>slotHelp()</slot>
<slot>accept()</slot>
<slot>reject()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">kpushbutton.h</include>
</includes>
</UI>