⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nids.cpp

📁 嵌入式Linux环境下的网络安全检测软件
💻 CPP
字号:
/****************************************************************************** Form implementation generated from reading ui file 'nids.ui'**** Created: Tue Aug 14 11:11:52 2007**      by:  The User Interface Compiler (uic)**** WARNING! All changes made in this file will be lost!****************************************************************************/#include "nids.h"#include "ping_tab.h"#include "arp_tab.h"#include "portscandetect_tab.h"#include "sniff_tab.h"#include <qcheckbox.h>#include <qheader.h>#include <qlabel.h>#include <qlineedit.h>#include <qlistview.h>#include <qpushbutton.h>#include <qtabwidget.h>#include <qwidget.h>#include <qlayout.h>#include <qvariant.h>#include <qtooltip.h>#include <qwhatsthis.h>#include <qimage.h>#include <qpixmap.h>/*  *  Constructs a NIDS which is a child of 'parent', with the  *  name 'name' and widget flags set to 'f'  * *  The dialog will by default be modeless, unless you set 'modal' to *  TRUE to construct a modal dialog. */NIDS::NIDS( QWidget* parent,  const char* name )    : QWidget( parent, name ){    if ( !name )	setName( "NIDS" );    resize( 240, 320 );     setMaximumSize( QSize( 240, 320 ) );    setCaption( tr( "NIDS" ) );    TabWidget = new QTabWidget( this, "TabWidget" );    TabWidget->setGeometry( QRect( 0, 0, 240, 320 ) );     TabWidget->setMaximumSize( QSize( 240, 320 ) );	    TabWidget->addTab(new PingTab(), tr("Ping"));	//初始化标签类,构造界面    TabWidget->addTab(new ArpTab(), tr("ARP"));    TabWidget->addTab(new PortScanDetect_Tab(), tr("PortScanDetect"));    TabWidget->addTab(new Sniff_Tab(), tr("Sniff"));    }/*   *  Destroys the object and frees any allocated resources */NIDS::~NIDS(){    // no need to delete child widgets, Qt does it all for us}

⌨️ 快捷键说明

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