21 lines
637 B
C
21 lines
637 B
C
![]() |
#ifndef SARIBBONAPPLICATIONBUTTON_H
|
|||
|
#define SARIBBONAPPLICATIONBUTTON_H
|
|||
|
#include <QToolButton>
|
|||
|
#include "SARibbonGlobal.h"
|
|||
|
|
|||
|
/**
|
|||
|
* @brief The SARibbonApplicationButton class
|
|||
|
*
|
|||
|
* 默认的plicationButton,可以通过样式指定不一样的ApplicationButton
|
|||
|
*/
|
|||
|
class SA_RIBBON_EXPORT SARibbonApplicationButton : public QToolButton
|
|||
|
{
|
|||
|
Q_OBJECT
|
|||
|
public:
|
|||
|
SARibbonApplicationButton(QWidget* parent = nullptr);
|
|||
|
SARibbonApplicationButton(const QString& text, QWidget* parent = nullptr);
|
|||
|
SARibbonApplicationButton(const QIcon& icon, const QString& text, QWidget* parent = nullptr);
|
|||
|
};
|
|||
|
|
|||
|
#endif // SARIBBONAPPLICATIONBUTTON_H
|