button.h

来自「Qt4源代码,详细介绍了Qt4编程中的范例」· C头文件 代码 · 共 18 行

H
18
字号
#ifndef BUTTON_H#define BUTTON_H#include <QToolButton>class Button : public QToolButton{    Q_OBJECTpublic:    Button(const QString &text, const QColor &color, QWidget *parent = 0);    QSize sizeHint() const;};#endif

⌨️ 快捷键说明

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