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 SARIBBONCONTROLBUTTON_H
|
|
|
|
|
#define SARIBBONCONTROLBUTTON_H
|
|
|
|
|
#include <QToolButton>
|
|
|
|
|
#include "SARibbonGlobal.h"
|
|
|
|
|
#include "SARibbonToolButton.h"
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief 用于SARibbonGallery的control button
|
|
|
|
|
*
|
|
|
|
|
* 为了防止外部qss的影响,单独继承一个类
|
|
|
|
|
*/
|
|
|
|
|
class SA_RIBBON_EXPORT SARibbonControlButton : public QToolButton
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
SARibbonControlButton(QWidget* parent = 0);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief 用于SARibbonButtonGroupWidget的control button
|
|
|
|
|
*
|
|
|
|
|
* 为了防止SARibbonToolButton qss的影响,单独继承一个类
|
|
|
|
|
*/
|
|
|
|
|
class SA_RIBBON_EXPORT SARibbonControlToolButton : public QToolButton
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
SARibbonControlToolButton(QWidget* parent = 0);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // SARIBBONPANNELTOOLBUTTON_H
|