Initial commit of BudgetPro
@@ -0,0 +1,57 @@
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
SET(VERSION_SHORT 0.1)
|
||||
project(WidgetWithRibbon VERSION ${VERSION_SHORT})
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
# 显示定义FRAMELESSHELPER_FEATURE_static_build为-1 否则库引用会失败
|
||||
add_definitions(-DFRAMELESSHELPER_FEATURE_static_build=-1)
|
||||
# qt库加载,最低要求5.9
|
||||
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
|
||||
find_package(Qt${QT_VERSION_MAJOR} 5.9 COMPONENTS Core Gui Widgets REQUIRED)
|
||||
|
||||
add_executable(WidgetWithRibbon WIN32
|
||||
RibbonWidget.h
|
||||
RibbonWidget.cpp
|
||||
MainWidget.h
|
||||
MainWidget.cpp
|
||||
MainWidget.ui
|
||||
InnerWidget.h
|
||||
InnerWidget.cpp
|
||||
InnerWidget.ui
|
||||
main.cpp
|
||||
icon.qrc
|
||||
)
|
||||
|
||||
|
||||
if(NOT TARGET SARibbonBar)
|
||||
# 说明这个例子是单独加载
|
||||
message(STATUS "NOT TARGET SARibbonBar find_package(SARibbonBar REQUIRED)")
|
||||
find_package(SARibbonBar REQUIRED)
|
||||
endif()
|
||||
|
||||
target_link_libraries(WidgetWithRibbon PUBLIC SARibbonBar::SARibbonBar)
|
||||
target_link_libraries(WidgetWithRibbon PUBLIC
|
||||
Qt${QT_VERSION_MAJOR}::Core
|
||||
Qt${QT_VERSION_MAJOR}::Gui
|
||||
Qt${QT_VERSION_MAJOR}::Widgets
|
||||
)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
set_target_properties(WidgetWithRibbon PROPERTIES
|
||||
AUTOMOC ON
|
||||
AUTORCC ON
|
||||
AUTOUIC ON
|
||||
CXX_EXTENSIONS OFF
|
||||
DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}
|
||||
VERSION ${SARIBBON_VERSION}
|
||||
EXPORT_NAME WidgetWithRibbon
|
||||
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}"
|
||||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}"
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_BINDIR}"
|
||||
)
|
||||
|
||||
install(TARGETS WidgetWithRibbon
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
)
|
||||
@@ -0,0 +1,17 @@
|
||||
#include "InnerWidget.h"
|
||||
#include "ui_InnerWidget.h"
|
||||
|
||||
InnerWidget::InnerWidget(QWidget* parent) : QWidget(parent), ui(new Ui::InnerWidget)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
InnerWidget::~InnerWidget()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void InnerWidget::appendText(const QString& t)
|
||||
{
|
||||
ui->plainTextEdit->appendPlainText(t);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
#ifndef INNERWIDGET_H
|
||||
#define INNERWIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class InnerWidget;
|
||||
}
|
||||
|
||||
class InnerWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit InnerWidget(QWidget* parent = nullptr);
|
||||
~InnerWidget();
|
||||
public Q_SLOTS:
|
||||
void appendText(const QString& t);
|
||||
|
||||
private:
|
||||
Ui::InnerWidget* ui;
|
||||
};
|
||||
|
||||
#endif // INNERWIDGET_H
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>InnerWidget</class>
|
||||
<widget class="QWidget" name="InnerWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>564</width>
|
||||
<height>439</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QPlainTextEdit" name="plainTextEdit"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
@@ -0,0 +1,15 @@
|
||||
#include "MainWidget.h"
|
||||
#include "ui_MainWidget.h"
|
||||
#include "RibbonWidget.h"
|
||||
MainWidget::MainWidget(QWidget* parent) : QWidget(parent), ui(new Ui::MainWidget)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->tabWidget->addTab(new RibbonWidget(), "ribbon tab 1");
|
||||
ui->tabWidget->addTab(new RibbonWidget(), "ribbon tab 2");
|
||||
ui->tabWidget->addTab(new RibbonWidget(), "ribbon tab 3");
|
||||
}
|
||||
|
||||
MainWidget::~MainWidget()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
#ifndef MAINWIDGET_H
|
||||
#define MAINWIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class MainWidget;
|
||||
}
|
||||
|
||||
class MainWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MainWidget(QWidget *parent = nullptr);
|
||||
~MainWidget();
|
||||
|
||||
private:
|
||||
Ui::MainWidget *ui;
|
||||
};
|
||||
|
||||
#endif // MAINWIDGET_H
|
||||
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>MainWidget</class>
|
||||
<widget class="QWidget" name="MainWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>568</width>
|
||||
<height>514</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="tabShape">
|
||||
<enum>QTabWidget::Triangular</enum>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>25</width>
|
||||
<height>25</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
@@ -0,0 +1,85 @@
|
||||
#include "RibbonWidget.h"
|
||||
#include "InnerWidget.h"
|
||||
#include "SARibbonBar.h"
|
||||
#include "SARibbonCategory.h"
|
||||
#include "SARibbonPannel.h"
|
||||
#include "SARibbonMainWindow.h"
|
||||
#include "SARibbonQuickAccessBar.h"
|
||||
RibbonWidget::RibbonWidget(QWidget* parent) : SARibbonWidget(parent)
|
||||
{
|
||||
// 直接创建SARibbonBar
|
||||
SARibbonBar* ribbonbar = ribbonBar();
|
||||
// QWidget模式下,没有必要再显示标题
|
||||
ribbonbar->setTitleVisible(false);
|
||||
// QWidget模式下,直接使用紧凑模式效果更好
|
||||
ribbonbar->setRibbonStyle(SARibbonBar::RibbonStyleCompactThreeRow);
|
||||
// 取消applicationbutton
|
||||
ribbonbar->setApplicationButton(nullptr);
|
||||
|
||||
buildRibbon(ribbonbar);
|
||||
//
|
||||
setWidget(new InnerWidget());
|
||||
}
|
||||
|
||||
RibbonWidget::~RibbonWidget()
|
||||
{
|
||||
}
|
||||
|
||||
void RibbonWidget::buildRibbon(SARibbonBar* bar)
|
||||
{
|
||||
SARibbonCategory* page1 = new SARibbonCategory();
|
||||
page1->setCategoryName("page1");
|
||||
SARibbonPannel* pannel1 = new SARibbonPannel("pannel1", page1);
|
||||
page1->addPannel(pannel1);
|
||||
QAction* act = createAction(" save ", ":/icon/icon/save.svg");
|
||||
act->setIconText(" save ");
|
||||
pannel1->addLargeAction(act);
|
||||
pannel1->addLargeAction(createAction("open", ":/icon/icon/folder-star.svg"));
|
||||
pannel1->addSmallAction(createAction("action1", ":/icon/icon/action.svg"));
|
||||
pannel1->addSmallAction(createAction("action2", ":/icon/icon/action2.svg"));
|
||||
SARibbonPannel* pannel2 = new SARibbonPannel("pannel2", page1);
|
||||
page1->addPannel(pannel2);
|
||||
pannel2->addLargeAction(createAction("setting", ":/icon/icon/customize0.svg"));
|
||||
pannel2->addLargeAction(createAction("windowsflag", ":/icon/icon/windowsflag-normal.svg"));
|
||||
bar->addCategoryPage(page1);
|
||||
// 加入主题
|
||||
mComboTheme = new QComboBox();
|
||||
mComboTheme->addItem("Theme Win7", static_cast< int >(SARibbonTheme::RibbonThemeWindows7));
|
||||
mComboTheme->addItem("Theme Office2013", static_cast< int >(SARibbonTheme::RibbonThemeOffice2013));
|
||||
mComboTheme->addItem("Theme Office2016 Blue", static_cast< int >(SARibbonTheme::RibbonThemeOffice2016Blue));
|
||||
mComboTheme->addItem("Theme Office2021 Blue", static_cast< int >(SARibbonTheme::RibbonThemeOffice2021Blue));
|
||||
mComboTheme->addItem("Theme Dark", static_cast< int >(SARibbonTheme::RibbonThemeDark));
|
||||
mComboTheme->addItem("Theme Dark2", static_cast< int >(SARibbonTheme::RibbonThemeDark2));
|
||||
mComboTheme->setCurrentIndex(mComboTheme->findData(static_cast< int >(SARibbonTheme::RibbonThemeOffice2013)));
|
||||
connect(mComboTheme,
|
||||
QOverload< int >::of(&QComboBox::currentIndexChanged),
|
||||
this,
|
||||
&RibbonWidget::onRibbonThemeComboBoxCurrentIndexChanged);
|
||||
pannel2->addSeparator();
|
||||
pannel2->addSmallWidget(mComboTheme);
|
||||
|
||||
SARibbonQuickAccessBar* qbar = bar->quickAccessBar();
|
||||
qbar->addAction(createAction("undo", ":/icon/icon/undo.svg"));
|
||||
qbar->addAction(createAction("redo", ":/icon/icon/redo.svg"));
|
||||
}
|
||||
|
||||
QAction* RibbonWidget::createAction(const QString& text, const QString& iconurl)
|
||||
{
|
||||
QAction* act = new QAction(this);
|
||||
act->setText(text);
|
||||
act->setIcon(QIcon(iconurl));
|
||||
act->setObjectName(text);
|
||||
connect(act, &QAction::triggered, this, [ this, act ]() {
|
||||
InnerWidget* w = qobject_cast< InnerWidget* >(widget());
|
||||
if (w) {
|
||||
w->appendText(QString("action(%1) triggered").arg(act->text()));
|
||||
}
|
||||
});
|
||||
return act;
|
||||
}
|
||||
|
||||
void RibbonWidget::onRibbonThemeComboBoxCurrentIndexChanged(int index)
|
||||
{
|
||||
SARibbonTheme t = static_cast< SARibbonTheme >(mComboTheme->itemData(index).toInt());
|
||||
setRibbonTheme(t);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
#ifndef RIBBONWIDGET_H
|
||||
#define RIBBONWIDGET_H
|
||||
|
||||
#include "SARibbonWidget.h"
|
||||
#include <QComboBox>
|
||||
|
||||
class SARibbonBar;
|
||||
class RibbonWidget : public SARibbonWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
RibbonWidget(QWidget* parent = nullptr);
|
||||
~RibbonWidget();
|
||||
|
||||
private:
|
||||
void buildRibbon(SARibbonBar* bar);
|
||||
QAction* createAction(const QString& text, const QString& iconurl);
|
||||
private Q_SLOTS:
|
||||
void onRibbonThemeComboBoxCurrentIndexChanged(int index);
|
||||
|
||||
private:
|
||||
QComboBox* mComboTheme { nullptr };
|
||||
};
|
||||
#endif // WIDGET_H
|
||||
@@ -0,0 +1,51 @@
|
||||
QT += core gui
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
# SARibbon 1.x 版本后引入frameless库,必须要cpp17及以上
|
||||
CONFIG += c++17
|
||||
|
||||
# The following define makes your compiler emit warnings if you use
|
||||
# any Qt feature that has been marked deprecated (the exact warnings
|
||||
# depend on your compiler). Please consult the documentation of the
|
||||
# deprecated API in order to know how to port your code away from it.
|
||||
DEFINES += QT_DEPRECATED_WARNINGS
|
||||
|
||||
# You can also make your code fail to compile if it uses deprecated APIs.
|
||||
# In order to do so, uncomment the following line.
|
||||
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
||||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
||||
|
||||
SOURCES += \
|
||||
main.cpp \
|
||||
RibbonWidget.cpp \
|
||||
MainWidget.cpp \
|
||||
InnerWidget.cpp
|
||||
|
||||
HEADERS += \
|
||||
RibbonWidget.h \
|
||||
MainWidget.h \
|
||||
InnerWidget.h
|
||||
|
||||
FORMS += \
|
||||
InnerWidget.ui \
|
||||
MainWidget.ui
|
||||
|
||||
# Default rules for deployment.
|
||||
qnx: target.path = /tmp/$${TARGET}/bin
|
||||
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
||||
!isEmpty(target.path): INSTALLS += target
|
||||
|
||||
# 下面演示了如何把SARibbon引入
|
||||
# 只需要下面2句话,只要把common.pri引入工程,就可以实现SARibbon的引入
|
||||
include($$PWD/../../common.pri)
|
||||
include($${SARIBBONBAR_PRI_FILE_PATH})
|
||||
|
||||
DESTDIR = $${SARIBBON_BIN_DIR}/bin
|
||||
|
||||
msvc {
|
||||
QMAKE_CFLAGS += /utf-8
|
||||
QMAKE_CXXFLAGS += /utf-8
|
||||
}
|
||||
|
||||
RESOURCES += \
|
||||
icon.qrc
|
||||
@@ -0,0 +1,14 @@
|
||||
<RCC>
|
||||
<qresource prefix="/icon">
|
||||
<file>icon/action.svg</file>
|
||||
<file>icon/action2.svg</file>
|
||||
<file>icon/customize0.svg</file>
|
||||
<file>icon/folder-star.svg</file>
|
||||
<file>icon/hidePannel.svg</file>
|
||||
<file>icon/save.svg</file>
|
||||
<file>icon/useqss.svg</file>
|
||||
<file>icon/windowsflag-normal.svg</file>
|
||||
<file>icon/redo.svg</file>
|
||||
<file>icon/undo.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1646316928855" class="icon" viewBox="0 0 1187 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5394" xmlns:xlink="http://www.w3.org/1999/xlink" width="37.09375" height="32"><defs><style type="text/css"></style></defs><path d="M591.619164 303.326125l-134.993793 63.531367-87.359085-70.479103 224.342551-110.182754 225.332782 113.164961-85.369412 67.496896zM592.614001 670.616555l135.005307-63.531367 87.34757 70.479103-223.347714 111.177591-226.318407-114.159798 85.369412-67.496896zM387.138801 576.309735l-91.324613 60.556069L0.992534 486.970189l298.789486-151.873775 87.356781 70.479104-162.798553 81.394671zM963.867657 486.970189l-162.79625-81.394671 87.356781-70.479104 298.787184 151.873775-293.826818 150.890452-91.324614-61.550906z" fill="#5D7690" p-id="5395"></path><path d="M592.614001 1024L0.992534 704.362701 0 542.56359 593.608837 862.191677l593.606535-315.657953v162.793948z" fill="#5D7690" p-id="5396"></path><path d="M1155.313819 333.560405L598.463271 613.712826 58.241693 359.997265 623.564471 97.7496z" fill="#5D7690" p-id="5397"></path><path d="M1040.083191 336.337657l-439.872047 221.295864L173.472321 357.220013l446.564165-207.156288z" fill="#B9D2E2" p-id="5398"></path><path d="M621.839627 108.234532m-80.190274 0a80.190274 80.190274 0 1 0 160.380548 0 80.190274 80.190274 0 1 0-160.380548 0Z" fill="#B9D2E2" p-id="5399"></path><path d="M621.839627 216.469064c59.777702 0 108.234532-48.45683 108.234532-108.234532s-48.45683-108.234532-108.234532-108.234532-108.234532 48.45683-108.234532 108.234532 48.459133 108.234532 108.234532 108.234532z m0-181.585305c40.511955 0 73.353076 32.838818 73.353076 73.350773s-32.84112 73.350773-73.353076 73.350773c-40.509652 0-73.34847-32.84112-73.34847-73.350773s32.838818-73.350773 73.34847-73.350773z" fill="#5D7690" p-id="5400"></path><path d="M157.223324 340.261735m-80.190274 0a80.190274 80.190274 0 1 0 160.380548 0 80.190274 80.190274 0 1 0-160.380548 0Z" fill="#B9D2E2" p-id="5401"></path><path d="M157.223324 448.496267c59.777702 0 108.234532-48.45683 108.234532-108.234532s-48.45683-108.234532-108.234532-108.234532-108.234532 48.45683-108.234532 108.234532 48.459133 108.234532 108.234532 108.234532z m0-181.583002c40.509652 0 73.353076 32.838818 73.353075 73.350773s-32.843423 73.350773-73.353075 73.350772-73.350773-32.838818-73.350773-73.350772 32.843423-73.350773 73.350773-73.350773z" fill="#5D7690" p-id="5402"></path><path d="M594.207581 542.12144m-80.190274 0a80.190274 80.190274 0 1 0 160.380548 0 80.190274 80.190274 0 1 0-160.380548 0Z" fill="#B9D2E2" p-id="5403"></path><path d="M594.205279 650.355972c59.777702 0 108.234532-48.45683 108.234532-108.234532s-48.45683-108.234532-108.234532-108.234532c-59.775399 0-108.234532 48.45683-108.234533 108.234532s48.459133 108.234532 108.234533 108.234532z m0-181.585305c40.511955 0 73.353076 32.838818 73.353075 73.350773s-32.84112 73.350773-73.353075 73.350773c-40.509652 0-73.350773-32.838818-73.350773-73.350773s32.84112-73.350773 73.350773-73.350773z" fill="#5D7690" p-id="5404"></path><path d="M1061.681737 328.747423m-80.190274 0a80.190274 80.190274 0 1 0 160.380548 0 80.190274 80.190274 0 1 0-160.380548 0Z" fill="#B9D2E2" p-id="5405"></path><path d="M1061.681737 436.981955c59.777702 0 108.234532-48.45683 108.234532-108.234532s-48.45683-108.234532-108.234532-108.234532-108.234532 48.45683-108.234532 108.234532 48.459133 108.234532 108.234532 108.234532z m0-181.583002c40.509652 0 73.353076 32.838818 73.353076 73.350773s-32.843423 73.350773-73.353076 73.350772-73.350773-32.838818-73.350772-73.350772 32.843423-73.350773 73.350772-73.350773z" fill="#5D7690" p-id="5406"></path></svg>
|
||||
|
After Width: | Height: | Size: 3.7 KiB |
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1646317364393" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6277" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M363.52 912.384V404.992h168.96v-168.96H194.56v338.432h168.96V629.76H135.68V177.152h452.096v452.096h-168.96v227.84h396.8V460.288h-227.84V404.992h283.136v510.976H363.52v-3.584z m168.96-338.432V460.288H418.816v114.176H532.48z" p-id="6278" fill="#024089"></path></svg>
|
||||
|
After Width: | Height: | Size: 639 B |
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1646225290986" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9990" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M594.336 310.816a547.632 547.632 0 0 0-21.824-65.056c-77.472 17.12-102.704-50.144-70.24-97.2a89.776 89.776 0 0 0-53.92-37.488c-32.528 49.744-121.248 24.688-113.36-43.296h-75.856c6.384 72.848-81.376 88.224-118.656 43.232-18.368 12.096-43.44 17.296-48.8 43.072 35.616 42.736 3.088 109.52-70.24 91.68C13.504 266.352 5.664 287.968 0 310.816c61.424 9.728 61.424 103.728 0 113.456 5.728 22.688 13.504 44.32 21.456 64.848 77.472-17.072 103.424 50.208 70.24 97.248 12.272 18.368 29.728 31.504 54.304 37.712 32.528-49.824 121.04-24.768 113.136 43.376h75.856c-6.592-73.136 81.328-88.384 118.88-43.376 18.32-12.112 43.552-17.664 48.4-43.232-35.28-42.944-2.8-109.344 70.24-91.68a579.328 579.328 0 0 0 21.776-64.848c-64.048-15.776-64.048-97.952 0-113.504h0.048zM297.168 480.144a112.608 112.608 0 1 1 0-225.216 112.608 112.608 0 0 1 0 225.216z m0 0" fill="#13227a" p-id="9991"></path><path d="M1024 551.712a399.584 399.584 0 0 0-15.776-47.024c-56.016 12.384-74.24-36.24-50.784-70.272a64.784 64.784 0 0 0-38.976-27.088c-23.536 35.984-87.664 17.84-81.952-31.296h-54.848c4.608 52.656-58.816 63.776-85.76 31.248-13.28 8.752-31.408 12.496-35.28 31.136 25.744 30.896 2.24 79.168-50.768 66.272-5.744 14.896-11.424 30.512-15.52 47.024 44.4 7.024 44.4 75.008 0 82.032 4.144 16.384 9.76 32.032 15.52 46.88 56-12.352 74.768 36.288 50.768 70.32 8.896 13.28 21.488 22.752 39.264 27.248 23.52-36.016 87.488-17.888 81.776 31.36h54.848c-4.768-52.896 58.784-63.904 85.936-31.36 13.232-8.752 31.488-12.768 34.992-31.248-25.504-31.04-2.032-79.04 50.784-66.288 5.984-14.88 11.328-30.544 15.744-46.88-46.304-11.408-46.304-70.816 0-82.064H1024z m-214.848 122.432c-44.944 0-81.376-36.448-81.376-81.408s36.432-81.392 81.376-81.392a81.392 81.392 0 1 1 0 162.8z m0 0" fill="#13227a" p-id="9992"></path><path d="M667.488 777.168a276.736 276.736 0 0 0-10.96-32.672c-38.912 8.592-51.568-25.168-35.28-48.8a44.944 44.944 0 0 0-27.04-18.816c-16.336 24.992-60.896 12.368-56.928-21.744h-38.096c3.216 36.576-40.848 44.304-59.568 21.696-9.232 6.096-21.808 8.688-24.496 21.632 17.872 21.472 1.536 54.992-35.28 46.032-3.984 10.336-7.92 21.184-10.768 32.672 30.848 4.896 30.848 52.08 0 56.976 2.864 11.392 6.784 22.24 10.768 32.544 38.896-8.56 51.936 25.2 35.28 48.832 6.16 9.232 14.912 15.808 27.264 18.944 16.336-25.024 60.768-12.416 56.8 21.76h38.096c-3.312-36.72 40.816-44.352 59.664-21.76 9.2-6.08 21.856-8.864 24.304-21.712-17.696-21.552-1.392-54.912 35.28-46.016 4.144-10.336 7.856-21.232 10.944-32.56-32.16-7.936-32.16-49.184 0.016-57.008z m-149.2 85.008a56.528 56.528 0 1 1 0-113.04 56.528 56.528 0 0 1 0 113.04z m0 0" fill="#13227a" p-id="9993"></path></svg>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1645972771227" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1573" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M800 800m-224 0a224 224 0 1 0 448 0 224 224 0 1 0-448 0Z" fill="#EACA44" p-id="1574"></path><path d="M800 672l40 88 88 16-64 64 15.936 88L800 888 720.064 928 736 840l-64-64 88-16z" fill="#FFFFFF" p-id="1575"></path><path d="M960 128H512V64a64 64 0 0 0-64-64H64a64 64 0 0 0-64 64v256a64 64 0 0 1 64-64h896a64 64 0 0 1 64 64V192a64 64 0 0 0-64-64z" fill="#434854" p-id="1576"></path><path d="M512 800a288 288 0 0 1 288-288 287.296 287.296 0 0 1 224 107.168V320a64 64 0 0 0-64-64H64a64 64 0 0 0-64 64v640a64 64 0 0 0 64 64h555.168A287.296 287.296 0 0 1 512 800z" fill="#EDD87E" p-id="1577"></path><path d="M960 224H64a64 64 0 0 0-64 64v32a64 64 0 0 1 64-64h896a64 64 0 0 1 64 64V288a64 64 0 0 0-64-64z" fill="" p-id="1578"></path><path d="M128 192h768v64H128z" fill="#EAEAEA" p-id="1579"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1646316001983" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="19858" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M522.1376 512m-152.8832 0a152.8832 152.8832 0 1 0 305.7664 0 152.8832 152.8832 0 1 0-305.7664 0Z" fill="#ffa115" p-id="19859"></path><path d="M512.256 888.7808c-129.5872 0-241.7152-45.312-333.312-134.6048-74.3424-72.4992-115.6608-156.4672-133.6832-200.0896-11.4176-27.648-10.9056-59.0848 1.4336-86.272 18.9952-41.7792 53.1968-104.0896 108.3904-163.6352 11.52-12.4416 30.976-13.1584 43.4176-1.6384a30.68928 30.68928 0 0 1 1.6384 43.4176c-52.224 56.32-83.5072 116.4288-97.4848 147.2512a47.30368 47.30368 0 0 0-0.6144 37.4272c36.864 89.1904 150.6304 296.704 410.1632 296.704 60.416 0 117.0432-11.4176 168.3456-33.9456a30.7712 30.7712 0 0 1 40.4992 15.7696 30.7712 30.7712 0 0 1-15.7696 40.4992c-59.136 26.0096-124.0576 39.1168-193.024 39.1168zM857.4464 727.0912a30.7456 30.7456 0 0 1-23.4496-50.5856c47.7184-56.4224 75.776-115.3024 88.2176-145.3568 5.0688-12.1856 4.7616-26.0096-0.8704-37.888-40.2432-85.504-160.9728-284.416-411.6992-284.416-53.5552 0-104.448 9.216-151.296 27.392-15.8208 6.144-33.6384-1.6896-39.7312-17.5104-6.144-15.8208 1.6896-33.6384 17.5104-39.7312 53.9648-20.9408 112.3328-31.5392 173.5168-31.5392 124.8768 0 235.1616 43.1104 327.8336 128.1024 75.52 69.2736 119.808 149.76 139.4688 191.5904 12.9536 27.5456 13.7216 59.4432 2.048 87.6032-16.896 40.7552-47.616 101.8368-98.0992 161.4848a30.78656 30.78656 0 0 1-23.4496 10.8544zM857.4464 868.864c-7.68 0-15.36-2.8672-21.3504-8.6016L165.5296 213.1968a30.72 30.72 0 0 1-0.768-43.4176 30.72 30.72 0 0 1 43.4176-0.768l670.6176 647.0656a30.72 30.72 0 0 1 0.768 43.4176 30.6688 30.6688 0 0 1-22.1184 9.3696z" fill="#474A54" p-id="19860"></path><path d="M672.9728 568.1664c-1.6896 0-3.3792-0.1536-5.12-0.4096a30.76096 30.76096 0 0 1-25.2416-35.3792c1.1264-6.7072 1.6896-13.568 1.6896-20.3776 0-67.3792-54.8352-122.1632-122.1632-122.1632-7.5776 0-15.1552 0.7168-22.528 2.048a30.72 30.72 0 0 1-35.84-24.576 30.72 30.72 0 0 1 24.576-35.84c11.0592-2.048 22.4256-3.1232 33.792-3.1232 101.2224 0 183.6032 82.3808 183.6032 183.6032 0 10.24-0.8704 20.48-2.5088 30.5152a30.72512 30.72512 0 0 1-30.2592 25.7024zM522.1376 695.6032c-101.2224 0-183.6032-82.3808-183.6032-183.6032 0-9.5232 0.7168-19.0976 2.2016-28.416 2.6112-16.7424 18.3296-28.2624 35.072-25.6512 16.7424 2.6112 28.2624 18.3296 25.6512 35.072-0.9728 6.2464-1.4848 12.6464-1.4848 18.9952 0 67.3792 54.784 122.1632 122.1632 122.1632 7.8336 0 15.7184-0.768 23.3472-2.2016 16.64-3.2256 32.768 7.68 35.9936 24.32 3.2256 16.64-7.68 32.768-24.32 35.9936-11.52 2.2016-23.296 3.328-35.0208 3.328z" fill="#474A54" p-id="19861"></path></svg>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1646225910902" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4333" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M1016.183467 429.397333l-477.866667-307.2A17.066667 17.066667 0 0 0 512 136.533333v188.0064C169.506133 335.086933 4.164267 662.9376 0.034133 886.237867L0 887.466667a17.066667 17.066667 0 0 0 16.930133 17.066666H17.066667a17.1008 17.1008 0 0 0 17.066666-16.7936l0.034134-1.058133C36.352 832.955733 259.720533 607.573333 512 597.674667V785.066667a17.066667 17.066667 0 0 0 26.999467 13.892266l477.866666-341.333333a17.169067 17.169067 0 0 0-0.682666-28.228267zM546.133333 751.889067V580.266667a17.066667 17.066667 0 0 0-17.066666-17.066667c-197.666133 0-400.520533 139.127467-486.468267 242.517333C81.169067 597.162667 249.514667 358.4 529.066667 358.4a17.066667 17.066667 0 0 0 17.066666-17.066667V167.799467l430.3872 276.6848L546.133333 751.889067z" fill="" p-id="4334"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1645969588174" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4449" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M165.840081 127.921872h608.774771l121.254934 121.254934v608.774771c0 20.834181-17.084028 37.91821-37.918209 37.918209H165.840081c-20.834181 0-37.91821-17.084028-37.918209-37.918209V165.840081c0-20.834181 17.084028-37.91821 37.918209-37.918209z" fill="#01579B" p-id="4450"></path><path d="M284.803255 127.921872h454.39349V318.76297c0 25.626043-20.834181 46.668566-46.668566 46.668566H331.471821c-25.626043 0-46.668566-20.834181-46.668566-46.668566V127.921872zM743.155239 896.078128H280.844761V654.818311c0-27.917803 22.709257-50.62706 50.62706-50.62706h361.2647c27.917803 0 50.62706 22.709257 50.62706 50.62706l-0.208342 241.259817z" fill="#0277BD" p-id="4451"></path><path d="M299.803866 127.921872h424.392268V318.76297c0 17.29237-14.167243 31.667955-31.667955 31.667956H331.471821c-17.29237 0-31.667955-14.167243-31.667955-31.667956V127.921872zM299.803866 896.078128h424.392268V654.818311c0-17.29237-14.167243-31.667955-31.667955-31.667955H331.471821c-17.29237 0-31.667955 14.167243-31.667955 31.667955v241.259817z" fill="#EEEEEE" p-id="4452"></path><path d="M572.731638 127.921872h93.128789v181.882401h-93.128789z" fill="#424242" p-id="4453"></path><path d="M360.431333 724.612818h303.137334v19.167446H360.431333zM360.431333 808.991251h303.137334v19.167447H360.431333z" fill="#757575" p-id="4454"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1646225921444" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4483" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M1023.965867 886.237867C1019.835733 662.9376 854.493867 335.086933 512 324.539733V136.533333a17.066667 17.066667 0 1 0-26.3168-14.370133l-477.866667 307.2a17.032533 17.032533 0 0 0-0.682666 28.228267l477.866666 341.333333A17.134933 17.134933 0 0 0 512 785.066667v-187.426134c252.279467 9.898667 475.648 235.281067 477.832533 289.006934l0.034134 1.092266a17.1008 17.1008 0 0 0 17.066666 16.7936h0.136534A17.066667 17.066667 0 0 0 1024 887.466667l-0.034133-1.2288zM494.933333 563.2a17.066667 17.066667 0 0 0-17.066666 17.066667v171.6224L47.479467 444.484267 477.866667 167.799467V341.333333a17.066667 17.066667 0 0 0 17.066666 17.066667c279.552 0 447.8976 238.762667 486.468267 447.317333C895.453867 702.327467 692.599467 563.2 494.933333 563.2z" fill="" p-id="4484"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1646234343800" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="37293" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M682.048504 42.669354v256h255.088882v-64.004031L745.826772 42.669354zM682.048504 917.326614l85.032315-149.326614-85.024252-149.326614H341.943433L256.919181 768l85.024252 149.326614z" fill="#CCE4FF" p-id="37294"></path><path d="M624.043339 933.210709l73.832818 42.338771L816.055433 768 697.876157 560.45052l-73.832818 42.338771 94.062866 165.210709zM207.936504 768l118.187339 207.54948 73.832818-42.338771-94.062866-165.210709 94.062866-165.210709-73.832818-42.338771z" fill="#007AFF" p-id="37295"></path><path d="M724.572724 0H44.346457v1024h85.024252V85.330646h510.1697v256h255.088882V1024H979.653543V216.975118L763.452472 0h-38.879748z m170.048504 256h-170.048504V85.330646h3.628347l166.420157 167.024882v3.644472z" fill="#007AFF" p-id="37296"></path><path d="M384.459591 725.330646h85.024252v85.338708H384.459591zM554.516157 725.330646h85.024252v85.338708H554.516157z" fill="#007AFF" p-id="37297"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1646235321715" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="39283" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M896 128H298.666667v85.333333h554.666666v469.333334h85.333334V170.666667a42.666667 42.666667 0 0 0-42.666667-42.666667z" fill="#024089" p-id="39284"></path><path d="M128 896h597.333333a42.666667 42.666667 0 0 0 42.666667-42.666667V341.333333a42.666667 42.666667 0 0 0-42.666667-42.666666H128a42.666667 42.666667 0 0 0-42.666667 42.666666v512a42.666667 42.666667 0 0 0 42.666667 42.666667z m42.666667-426.666667h512v341.333334H170.666667v-341.333334z" fill="#024089" p-id="39285"></path></svg>
|
||||
|
After Width: | Height: | Size: 868 B |
@@ -0,0 +1,11 @@
|
||||
#include "MainWidget.h"
|
||||
|
||||
#include <QApplication>
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
QApplication a(argc, argv);
|
||||
MainWidget w;
|
||||
w.show();
|
||||
return a.exec();
|
||||
}
|
||||