From 563a82e02d22bd44be281e9f4cd8f7dea1bab1e7 Mon Sep 17 00:00:00 2001 From: czyt1988 Date: Wed, 7 Feb 2024 21:49:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3SARibbonSystemButtonBar?= =?UTF-8?q?=E7=9A=84=E7=BC=96=E7=A0=81=E9=97=AE=E9=A2=98=EF=BC=8C=E4=BD=BF?= =?UTF-8?q?=E5=BE=97vs=E4=B8=8D=E4=BC=9A=E6=8A=A5=E5=87=BA=E4=B8=80?= =?UTF-8?q?=E4=BA=9B=E5=BC=82=E5=B8=B8=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/SARibbonBar/SARibbonSystemButtonBar.cpp | 5 ++++- src/SARibbonBar/SARibbonSystemButtonBar.h | 4 ++-- src/SARibbonBar/debug/moc_predefs.h | 13 ------------- 3 files changed, 6 insertions(+), 16 deletions(-) delete mode 100644 src/SARibbonBar/debug/moc_predefs.h diff --git a/src/SARibbonBar/SARibbonSystemButtonBar.cpp b/src/SARibbonBar/SARibbonSystemButtonBar.cpp index 2f178db..92f7a95 100644 --- a/src/SARibbonBar/SARibbonSystemButtonBar.cpp +++ b/src/SARibbonBar/SARibbonSystemButtonBar.cpp @@ -371,7 +371,10 @@ QAction* SARibbonSystemButtonBar::addAction(QAction* a, Qt::ToolButtonStyle butt return d_ptr->mButtonGroup->addAction(a, buttonStyle, popMode); } -QAction* SARibbonSystemButtonBar::addAction(const QString& text, const QIcon& icon, Qt::ToolButtonStyle buttonStyle, QToolButton::ToolButtonPopupMode popMode) +QAction* SARibbonSystemButtonBar::addAction(const QString& text, + const QIcon& icon, + Qt::ToolButtonStyle buttonStyle, + QToolButton::ToolButtonPopupMode popMode) { return d_ptr->mButtonGroup->addAction(text, icon, buttonStyle, popMode); } diff --git a/src/SARibbonBar/SARibbonSystemButtonBar.h b/src/SARibbonBar/SARibbonSystemButtonBar.h index 07837df..cc790ae 100644 --- a/src/SARibbonBar/SARibbonSystemButtonBar.h +++ b/src/SARibbonBar/SARibbonSystemButtonBar.h @@ -1,11 +1,11 @@ -#ifndef SARIBBONSYSTEMBUTTONBAR_H +#ifndef SARIBBONSYSTEMBUTTONBAR_H #define SARIBBONSYSTEMBUTTONBAR_H #include "SARibbonGlobal.h" #include #include /** - * \brief 窗口的最大最小化按钮 + * @brief 窗口的最大最小化按钮 * @note 内部有个SARibbonButtonGroupWidget,其ObjectName = SASystemButtonGroup * 如果需要qss,可以进行特化处理: * diff --git a/src/SARibbonBar/debug/moc_predefs.h b/src/SARibbonBar/debug/moc_predefs.h deleted file mode 100644 index 435ef38..0000000 --- a/src/SARibbonBar/debug/moc_predefs.h +++ /dev/null @@ -1,13 +0,0 @@ -#define _MSC_EXTENSIONS -#define _MSC_VER 1929 -#define _MSC_FULL_VER 192930153 -#define _MSC_BUILD 0 -#define _M_AMD64 100 -#define _M_X64 100 -#define _WIN64 -#define _WIN32 -#define _CPPRTTI -#define _DEBUG -#define _MT -#define _DLL -#define _UTF8