📄 iscolorbutton.h
字号:
// iscolorbutton.h: interface for the CISColorButton class.
//
//////////////////////////////////////////////////////////////////////
#ifndef _CISColorButton_H_
#define _CISColorButton_H_
#include <qpushbutton.h>
class CISColorButton : public QPushButton
{
Q_OBJECT
public:
CISColorButton(QWidget * parent = 0, const char * name = 0);
virtual ~CISColorButton();
void SetColor(QColor cr){m_crBack=cr;};
QColor GetColor(){return m_crBack;};
protected :
void drawButton ( QPainter * );
public slots:
void slotClick();
private:
QColor m_crBack;
};
#endif // !defined(AFX_ISCOLORBUTTON_H__1DEBFE50_0D18_4E1C_ADDB_1E3F061A91DA__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -