📄 qsipb_stpnkeep.h
字号:
//qsipb_stpnkeep.h//Copyright (C) 2003 Metalink LTD//Author: Rodionov Sergey (seger@metalinkltd.com)//This program is distributed under terms of GPL (see LICENSE)//packet number keep// (how long we must keep packet)#ifndef __SEGER__MLTD__QSIPB_STPNKEEP_H__#define __SEGER__MLTD__QSIPB_STPNKEEP_H__class sipb_stpnkeep //only information (with out GUI){ public: sipb_stpnkeep(); //create value by default public: bool ak_err; //always keep error-packet bool ak_warn; //always keep warning-packet bool ak_good; //always keep good packet int nk; //number packet that we must keep (expet always keep)};#include <qvgroupbox.h>#include <qlineedit.h>#include <qcheckbox.h>class qsipb_stpnkeep:public QVGroupBox // (GUI for that){ public: qsipb_stpnkeep(QWidget* parent,sipb_stpnkeep& def); sipb_stpnkeep get_rez(); private: QLineEdit* le; QCheckBox* b_e,*b_w,*b_g;};//parameters by defaultconst bool DEF_NK_AK_ERR=true;const bool DEF_NK_AK_WARN=true;const bool DEF_NK_AK_GOOD=false;const int DEF_NK_NK=1000;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -