📄 stats.h
字号:
/*************************************************************************** stats.h - The definition for the stats ------------------- begin : 2002 authors : Linus Gasser emails : linus.gasser@epfl.ch ***************************************************************************//*************************************************************************** Changes ------- date - name - description 02-12-19 - ineiti - begin 03-01-15 - jbraure/jferreir - made it type 1, 2 and 3 compliant **************************************************************************//*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/#ifndef STATS_H__#define STATS_H__#include <qstring.h>#include <qfile.h>#include <qcstring.h>#include "swr_types.h"#include "block.h"#include "defines.h"#include "fifocmd.h"/** * @short Holds the definition of a stats */class Stats : public Block {public: // Initailisation // c is the FifoCmd // m_id is the module-id // i is its index Stats( FifoCmd *c, int m_i, int i ); void update(); // The stats might be in debugging or hiding mode bool isShown(); // Whether this is something to display as QString bool isValue(); QByteArray getData( ); FifoCmd *radio; int module_id; int id; int type; unsigned long flags; int width, height, bpp; QString value;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -