进度更新

This commit is contained in:
RigoLigo
2021-07-02 20:09:45 +08:00
parent 8579e901d4
commit 9c080f8efb
29 changed files with 604 additions and 67 deletions

View File

@@ -2,13 +2,15 @@
// Created by rigoligo on 2021/5/8.
//
#ifndef _SPKUI_GENERAL_H_
#define _SPKUI_GENERAL_H_
#pragma once
#include <QWidget>
#include <QString>
#include <QSize>
#include <QColor>
#include "dtkplugin/spkdtkplugin.h"
namespace SpkUi
{
constexpr int StackTraceArraySize = 64;
@@ -17,6 +19,7 @@ namespace SpkUi
extern QString StylesheetLight, StylesheetDark, *CurrentStylesheet;
extern QColor ColorLine, ColorBack;
extern QSize PrimaryScreenSize;
extern SpkDtkPlugin *DtkPlugin;
enum SpkUiStyle { Light, Dark };
enum SpkButtonStyle { Normal = 0, Recommend, Warn };
@@ -34,5 +37,3 @@ namespace SpkUi
void SetGlobalStyle(SpkUiStyle);
};
#endif //_SPKUI_GENERAL_H_