image.h
来自「This a framework to test new ideas in tr」· C头文件 代码 · 共 62 行
H
62 行
/*************************************************************************** image.h - Shows an image ------------------- begin : 2003 authors : Linus Gasser emails : linus.gasser@epfl.ch ***************************************************************************//*************************************************************************** Changes ------- date - name - description 03/09/30 - ineiti - begin **************************************************************************//*************************************************************************** * * * 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 IMAGE_H__#define IMAGE_H__#include <qlabel.h>#include <qtimer.h>#include <qcanvas.h>#include "fifocmd.h"/** * @short Holds the definition of a stats */class Image : public QCanvasView { Q_OBJECTpublic: // Initailisation Image( QWidget *p, FifoCmd *c, int m_id, int id ); public slots: void tick(); private: QWidget *parent; FifoCmd *radio; int module_id; int stats_id; int img_w, img_h, bpp; QRgb *color_t; int color_num; QTimer *updateTimer; QCanvasPixmapArray *pixmap_array; QCanvasSprite *sprite;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?