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

📄 style.h

📁 爱可视605看PDF程式源代码, 基于APDF
💻 H
字号:
#ifndef STYLE_H#define STYLE_H#include <qpixmap.h>#include <qwindowsstyle.h>#include <archos/screen.h>#ifdef SIM#define ICON_PATH "icons/"#else#define ICON_PATH "/opt/usr/share/apdf/icons/"#endifclass QPainter;class QScrollBar;class AStyle : public QWindowsStyle { public:	static const QString iconpath;	static AStyle *get();	void drawSelection(QPainter *p, const QRect &area) const;	void drawPanel(QPainter *p, const QRect &area) const;	virtual void polish(QWidget *w);	virtual void drawScrollBarControls(QPainter *p, const QScrollBar *s);	virtual void scrollBarMetrics(const QScrollBar *s, int &smin, int &smax, int &slen, int &bdim); private:	static AStyle *s_instance;		QPixmap m_sgroovepix,		m_sgroovetoppix,		m_sgroovebottompix,		m_sliderpix,		m_suppix,		m_sdownpix;	QPixmap m_selection_left,		m_selection_right,		m_selection_mid,		m_panel_tl,		m_panel_tr,		m_panel_bl,		m_panel_br,		m_panel_top,		m_panel_bottom,		m_panel_left,		m_panel_right;	archos::ScreenMode m_mode;	AStyle(archos::ScreenMode mode);};#endif // STYLE_H

⌨️ 快捷键说明

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