You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#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
|