⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gui-qt.h

📁 BIOS Open Platform!
💻 H
字号:
/* tag: qt user interface fb class description *  * Copyright (C) 2003-2004 Stefan Reinauer <stepan@openbios.org> * * See the file "COPYING" for further information about * the copyright and warranty status of this work. */#ifndef __framebufferwidget_h#define __framebufferwidget_h#include <qapplication.h>#include <qwidget.h>#include <qimage.h>#include <qpainter.h>#include <qmenubar.h>#include <qpopupmenu.h>#include <qmessagebox.h>#include <qstatusbar.h>#include <qtimer.h>class FrameBufferWidget : public QWidget {	Q_OBJECT	public:		FrameBufferWidget(QWidget *parent=0, const char *name=0);		unsigned char *getFrameBuffer(void);			public slots:		void quit();		void about();		void aboutQt();		void update();	private:		QImage     buffer;		QMenuBar   *menu;		QStatusBar *status;		QTimer     *updatetimer;		void paintEvent ( QPaintEvent * );	protected:		void keyPressEvent(QKeyEvent * e);};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -