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/kmfwidgets/kmyfirewallgenericinterface...

336 lines
17 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KMyFirewallGenericInterfaceEditProtocolWidget</class>
<widget class="TQWidget">
<property name="name">
<cstring>KMyFirewallGenericInterfaceEditProtocolWidget</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>732</width>
<height>436</height>
</rect>
</property>
<property name="caption">
<string>KMyFirewallGenericInterfaceEditProtocolWidget</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>2</number>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel6</cstring>
</property>
<property name="text">
<string>&lt;qt&gt;Here you can define custom protocols for the &lt;b&gt;Generic Interface&lt;/b&gt;.&lt;br&gt;
This required if you like to use a protocol not directely suppotred by KMyFirewall.&lt;/qt&gt;</string>
</property>
</widget>
<widget class="TQSplitter">
<property name="name">
<cstring>splitter4</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout13</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>m_cb_showAll</cstring>
</property>
<property name="text">
<string>Show All</string>
</property>
<property name="toolTip" stdset="0">
<string>If checked the list view also contains all protocols that are available by default, not only the ones you defined</string>
</property>
</widget>
<widget class="TDEListView">
<column>
<property name="text">
<string>Protocol</string>
</property>
<property name="clickable">
<bool>false</bool>
</property>
<property name="resizable">
<bool>false</bool>
</property>
</column>
<column>
<property name="text">
<string>Properties</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<property name="name">
<cstring>m_lv_protocols</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>3</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="showSortIndicator">
<bool>true</bool>
</property>
<property name="rootIsDecorated">
<bool>true</bool>
</property>
<property name="resizeMode">
<enum>AllColumns</enum>
</property>
<property name="fullWidth">
<bool>true</bool>
</property>
<property name="itemsMovable">
<bool>false</bool>
</property>
</widget>
</vbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout15</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KPushButton">
<property name="name">
<cstring>m_b_new_protocol</cstring>
</property>
<property name="text">
<string>&amp;New Protocol</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>m_b_del_protocol</cstring>
</property>
<property name="text">
<string>&amp;Delete Protocol</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>m_gb_edit</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="title">
<string>Edit Protocol</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout33</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TDEListBox" row="1" column="1">
<property name="name">
<cstring>m_lb_udpPorts</cstring>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="text">
<string>TCP Ports</string>
</property>
</widget>
<widget class="TQLabel" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Protocol Description</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="1">
<property name="name">
<cstring>textLabel1_2_2</cstring>
</property>
<property name="text">
<string>UDP Ports</string>
</property>
</widget>
<widget class="TDEListBox" row="1" column="0">
<property name="name">
<cstring>m_lb_tcpPorts</cstring>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>80</height>
</size>
</property>
</widget>
<widget class="TQTextEdit" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>m_te_desc</cstring>
</property>
<property name="maximumSize">
<size>
<width>32767</width>
<height>150</height>
</size>
</property>
</widget>
</grid>
</widget>
<widget class="TQButtonGroup" row="2" column="0">
<property name="name">
<cstring>m_bg_protocol</cstring>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<property name="title">
<string></string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>2</number>
</property>
<property name="spacing">
<number>2</number>
</property>
<widget class="TQRadioButton" row="0" column="0">
<property name="name">
<cstring>m_rb_tcp</cstring>
</property>
<property name="text">
<string>TCP</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="TQRadioButton" row="0" column="1">
<property name="name">
<cstring>m_rb_udp</cstring>
</property>
<property name="text">
<string>UDP</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout27</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLineEdit" row="0" column="1">
<property name="name">
<cstring>m_le_protocolName</cstring>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
<property name="text">
<string>Name:</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQLayoutWidget" row="1" column="1" rowspan="2" colspan="1">
<property name="name">
<cstring>layout37</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KPushButton">
<property name="name">
<cstring>m_b_add_port</cstring>
</property>
<property name="text">
<string>&amp;Add Port</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>m_b_del_port</cstring>
</property>
<property name="text">
<string>D&amp;elete Port</string>
</property>
</widget>
</vbox>
</widget>
<widget class="TQSpinBox" row="1" column="0">
<property name="name">
<cstring>m_sb_port_num</cstring>
</property>
<property name="maxValue">
<number>65535</number>
</property>
<property name="minValue">
<number>1</number>
</property>
</widget>
</grid>
</widget>
</vbox>
</widget>
</widget>
</vbox>
</widget>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">kpushbutton.h</include>
<include location="global" impldecl="in implementation">tdelistbox.h</include>
<include location="global" impldecl="in implementation">tdelistview.h</include>
</includes>
</UI>