instAdmin/Cpp/GisDes/SaRibbon/SARibbonBar/SARibbonControlButton.h
2024-10-29 22:24:50 +08:00

32 lines
738 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#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