📄 image.h
字号:
/*************************************************************************** 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -