nids.ui

来自「嵌入式Linux环境下的网络安全检测软件」· UI 代码 · 共 911 行 · 第 1/3 页

UI
911
字号
                </property>            </widget>            <widget>                <class>QLineEdit</class>                <property stdset="1">                    <name>name</name>                    <cstring>sniff_num_lineedit</cstring>                </property>                <property stdset="1">                    <name>geometry</name>                    <rect>                        <x>60</x>                        <y>70</y>                        <width>50</width>                        <height>26</height>                    </rect>                </property>            </widget>            <widget>                <class>QLineEdit</class>                <property stdset="1">                    <name>name</name>                    <cstring>sniff_Eth_lineedit</cstring>                </property>                <property stdset="1">                    <name>enabled</name>                    <bool>false</bool>                </property>                <property stdset="1">                    <name>geometry</name>                    <rect>                        <x>170</x>                        <y>70</y>                        <width>50</width>                        <height>26</height>                    </rect>                </property>                <property stdset="1">                    <name>text</name>                    <string>eth0</string>                </property>            </widget>            <widget>                <class>QListView</class>                <column>                    <property>                        <name>text</name>                        <string>Seq</string>                    </property>                    <property>                        <name>clickable</name>                        <bool>true</bool>                    </property>                    <property>                        <name>resizeable</name>                        <bool>true</bool>                    </property>                </column>                <property stdset="1">                    <name>name</name>                    <cstring>disp_sniff</cstring>                </property>                <property stdset="1">                    <name>geometry</name>                    <rect>                        <x>10</x>                        <y>100</y>                        <width>210</width>                        <height>140</height>                    </rect>                </property>            </widget>            <widget>                <class>QCheckBox</class>                <property stdset="1">                    <name>name</name>                    <cstring>sniff_default_check</cstring>                </property>                <property stdset="1">                    <name>geometry</name>                    <rect>                        <x>170</x>                        <y>10</y>                        <width>90</width>                        <height>20</height>                    </rect>                </property>                <property stdset="1">                    <name>text</name>                    <string>Default</string>                </property>            </widget>            <widget>                <class>QCheckBox</class>                <property stdset="1">                    <name>name</name>                    <cstring>sniff_eth_check</cstring>                </property>                <property stdset="1">                    <name>geometry</name>                    <rect>                        <x>120</x>                        <y>70</y>                        <width>40</width>                        <height>20</height>                    </rect>                </property>                <property stdset="1">                    <name>text</name>                    <string>eth:</string>                </property>            </widget>        </widget>        <widget>            <class>QWidget</class>            <property stdset="1">                <name>name</name>                <cstring>tab</cstring>            </property>            <attribute>                <name>title</name>                <string>PortScan</string>            </attribute>            <widget>                <class>QPushButton</class>                <property stdset="1">                    <name>name</name>                    <cstring>portscan_start</cstring>                </property>                <property stdset="1">                    <name>geometry</name>                    <rect>                        <x>40</x>                        <y>250</y>                        <width>70</width>                        <height>32</height>                    </rect>                </property>                <property stdset="1">                    <name>text</name>                    <string>Start</string>                </property>            </widget>            <widget>                <class>QPushButton</class>                <property stdset="1">                    <name>name</name>                    <cstring>portscan_stop</cstring>                </property>                <property stdset="1">                    <name>geometry</name>                    <rect>                        <x>130</x>                        <y>250</y>                        <width>70</width>                        <height>32</height>                    </rect>                </property>                <property stdset="1">                    <name>text</name>                    <string>Stop</string>                </property>            </widget>            <widget>                <class>QLineEdit</class>                <property stdset="1">                    <name>name</name>                    <cstring>port_Eth_lineedit</cstring>                </property>                <property stdset="1">                    <name>enabled</name>                    <bool>false</bool>                </property>                <property stdset="1">                    <name>geometry</name>                    <rect>                        <x>100</x>                        <y>20</y>                        <width>50</width>                        <height>26</height>                    </rect>                </property>                <property stdset="1">                    <name>text</name>                    <string>eth0</string>                </property>            </widget>            <widget>                <class>QListView</class>                <column>                    <property>                        <name>text</name>                        <string>Seq</string>                    </property>                    <property>                        <name>clickable</name>                        <bool>true</bool>                    </property>                    <property>                        <name>resizeable</name>                        <bool>true</bool>                    </property>                </column>                <property stdset="1">                    <name>name</name>                    <cstring>disp_portscandetect</cstring>                </property>                <property stdset="1">                    <name>geometry</name>                    <rect>                        <x>10</x>                        <y>60</y>                        <width>210</width>                        <height>180</height>                    </rect>                </property>            </widget>            <widget>                <class>QCheckBox</class>                <property stdset="1">                    <name>name</name>                    <cstring>port_eth_check</cstring>                </property>                <property stdset="1">                    <name>geometry</name>                    <rect>                        <x>10</x>                        <y>20</y>                        <width>80</width>                        <height>20</height>                    </rect>                </property>                <property stdset="1">                    <name>text</name>                    <string>Specify eth:</string>                </property>            </widget>        </widget>    </widget></widget><connections>    <connection>        <sender>Ping_start</sender>        <signal>clicked()</signal>        <receiver>NIDS</receiver>        <slot>accept()</slot>    </connection>    <connection>        <sender>Ping_stop</sender>        <signal>clicked()</signal>        <receiver>NIDS</receiver>        <slot>reject()</slot>    </connection>    <connection>        <sender>Sniff_start</sender>        <signal>clicked()</signal>        <receiver>NIDS</receiver>        <slot>accept()</slot>    </connection>    <connection>        <sender>Sniff_stop</sender>        <signal>clicked()</signal>        <receiver>NIDS</receiver>        <slot>reject()</slot>    </connection>    <connection>        <sender>ARP_start</sender>        <signal>clicked()</signal>        <receiver>NIDS</receiver>        <slot>accept()</slot>    </connection>    <connection>        <sender>ARP_stop</sender>        <signal>clicked()</signal>        <receiver>NIDS</receiver>        <slot>reject()</slot>    </connection></connections><tabstops>    <tabstop>TabWidget</tabstop>    <tabstop>IPAddress_lineedit</tabstop>    <tabstop>Ping_start</tabstop>    <tabstop>Ping_stop</tabstop>    <tabstop>disp_IP</tabstop>    <tabstop>arp_ip_lineedit</tabstop>    <tabstop>arp_Eth_lineedit</tabstop>    <tabstop>arp_eth_check</tabstop>    <tabstop>disp_arp</tabstop>    <tabstop>ARP_stop</tabstop>    <tabstop>ARP_start</tabstop>    <tabstop>sniff_filter_lineedit</tabstop>    <tabstop>sniff_num_lineedit</tabstop>    <tabstop>sniff_key_lineedit</tabstop>    <tabstop>sniff_default_check</tabstop>    <tabstop>Sniff_start</tabstop>    <tabstop>Sniff_stop</tabstop>    <tabstop>disp_sniff</tabstop>    <tabstop>portscan_start</tabstop>    <tabstop>portscan_stop</tabstop>    <tabstop>disp_portscandetect</tabstop></tabstops></UI>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?