?? skinbutton.h
字號(hào):
#ifndef SKINBUTTON_H#define SKINBUTTON_H#include <qbutton.h>class QPixmap;class QPainter;class SkinButton : public QButton{Q_OBJECTpublic: SkinButton(QPixmap *pixmap, QPixmap *active, QWidget *parent = 0, const char *name = 0, WFlags f = 0); SkinButton(QWidget *parent = 0, const char *name = 0, WFlags f = 0); void setPixmaps(QPixmap *regular, QPixmap *active);protected: QPixmap *pixRegular; QPixmap *pixActive; virtual void drawButton(QPainter *p);protected slots: void slotPressed(); void slotReleased(); };#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -