?? nids.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 + -