fix utf8 without bom

main
zhuzihcu 2023-05-22 16:17:51 +08:00
parent 038a2dd598
commit f802838847
156 changed files with 156 additions and 162 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.16)
project(FluentUI VERSION 0.1 LANGUAGES CXX)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.16)
project(example VERSION 0.1 LANGUAGES CXX)

View File

@ -39,4 +39,4 @@ BEGIN
BEGIN
VALUE "Translation", 0x409, 1200
END
END
END

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Window
import QtQuick.Controls
import QtQuick.Layouts

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Window
import QtQuick.Controls
import QtQuick.Layouts

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import FluentUI
import org.wangwenx190.FramelessHelper

View File

@ -1,4 +1,4 @@
pragma Singleton
pragma Singleton
import QtQuick
import FluentUI

View File

@ -1,4 +1,4 @@
pragma Singleton
pragma Singleton
import QtQuick
import FluentUI

View File

@ -1,4 +1,4 @@
pragma Singleton
pragma Singleton
import QtQuick
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import FluentUI

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import FluentUI

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import FluentUI

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Window
import QtQuick.Controls
import QtQuick.Layouts

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import FluentUI

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import FluentUI

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import FluentUI

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import FluentUI

View File

@ -1,4 +1,4 @@
#include "AppInfo.h"
#include "AppInfo.h"
#include "lang/En.h"
#include "lang/Zh.h"
#include <QDebug>
@ -26,5 +26,4 @@ void AppInfo::changeLang(const QString& locale){
}else {
lang(new En());
}
}

View File

@ -1,4 +1,4 @@
#ifndef APPINFO_H
#ifndef APPINFO_H
#define APPINFO_H
#include <QObject>

View File

@ -1,4 +1,4 @@
#include "En.h"
#include "En.h"
En::En(QObject *parent)
: Lang{parent}

View File

@ -1,4 +1,4 @@
#ifndef EN_H
#ifndef EN_H
#define EN_H
#include <QObject>

View File

@ -1,4 +1,4 @@
#ifndef LANG_H
#ifndef LANG_H
#define LANG_H
#include <QObject>

View File

@ -1,4 +1,4 @@
#include "Zh.h"
#include "Zh.h"
Zh::Zh(QObject *parent)
: Lang{parent}

View File

@ -1,4 +1,4 @@
#ifndef ZH_H
#ifndef ZH_H
#define ZH_H
#include <QObject>

View File

@ -1,4 +1,4 @@
#include <QGuiApplication>
#include <QGuiApplication>
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include <QDir>

View File

@ -1,4 +1,4 @@
#if defined(_MSC_VER) && (_MSC_VER >= 1600)
#if defined(_MSC_VER) && (_MSC_VER >= 1600)
#pragma execution_character_set("utf-8")
#endif

View File

@ -1,4 +1,4 @@
#include "IPC.h"
#include "IPC.h"
#include <QCoreApplication>
#include <QDebug>

View File

@ -1,4 +1,4 @@
#ifndef IPC_H
#ifndef IPC_H
#define IPC_H
#include <QMap>

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.16)
project(fluentuiplugin LANGUAGES CXX)

View File

@ -1,3 +1 @@
#include "Def.h"
#include "Def.h"

View File

@ -1,4 +1,4 @@
#ifndef DEF_H
#ifndef DEF_H
#define DEF_H
#include <QObject>

View File

@ -1,4 +1,4 @@
#include "FluApp.h"
#include "FluApp.h"
#include <QQmlEngine>
#include <QGuiApplication>

View File

@ -1,4 +1,4 @@
#ifndef FLUAPP_H
#ifndef FLUAPP_H
#define FLUAPP_H
#include <QObject>

View File

@ -1,4 +1,4 @@
#ifndef FLUCOLORSET_H
#ifndef FLUCOLORSET_H
#define FLUCOLORSET_H
#include <QObject>

View File

@ -1,4 +1,4 @@
#include "FluColors.h"
#include "FluColors.h"
FluColors* FluColors::m_instance = nullptr;

View File

@ -1,4 +1,4 @@
#ifndef FLUCOLORS_H
#ifndef FLUCOLORS_H
#define FLUCOLORS_H
#include <QObject>

View File

@ -1,4 +1,4 @@
#include "FluRegister.h"
#include "FluRegister.h"
#include "FluApp.h"
#include <QCoreApplication>

View File

@ -1,4 +1,4 @@
#ifndef FLUREGISTER_H
#ifndef FLUREGISTER_H
#define FLUREGISTER_H
#include <QObject>

View File

@ -1,4 +1,4 @@
#include "FluTextStyle.h"
#include "FluTextStyle.h"
FluTextStyle::FluTextStyle(QObject *parent)
: QObject{parent}

View File

@ -1,4 +1,4 @@
#ifndef FLUTEXTSTYLE_H
#ifndef FLUTEXTSTYLE_H
#define FLUTEXTSTYLE_H
#include <QObject>

View File

@ -1,4 +1,4 @@
#ifndef FLUTHEME_H
#ifndef FLUTHEME_H
#define FLUTHEME_H
#include <QObject>

View File

@ -1,4 +1,4 @@
#include "FluTools.h"
#include "FluTools.h"
#include <QGuiApplication>
#include <QClipboard>
#include <QUuid>

View File

@ -1,4 +1,4 @@
#ifndef FLUTOOLS_H
#ifndef FLUTOOLS_H
#define FLUTOOLS_H
#include <QObject>

View File

@ -1,4 +1,4 @@
#include "WindowHelper.h"
#include "WindowHelper.h"
#include "FluRegister.h"
#include "FluApp.h"

View File

@ -1,4 +1,4 @@
#ifndef WINDOWHELPER_H
#ifndef WINDOWHELPER_H
#define WINDOWHELPER_H
#include <QObject>

View File

@ -37,4 +37,4 @@ BEGIN
BEGIN
VALUE "Translation", 0x409, 1200
END
END
END

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import "Content"
@ -21,7 +21,6 @@ Rectangle {
color: "#00000000"
clip: true
RowLayout {
id: picker
anchors.top: parent.top

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
Grid {
id: root
property int cellSide: 5

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
Item {
property int cursorHeight: 7

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
Row {
property alias caption: captionBox.text

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
Rectangle {
width : 40; height : 15; radius: 2
@ -14,5 +14,3 @@ Rectangle {
color: "transparent"
}
}

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
Item {
id: root

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import Qt5Compat.GraphicalEffects
import FluentUI

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Window
import QtQuick.Layouts

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Window
import FluentUI

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import FluentUI

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import FluentUI

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import FluentUI

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Controls.Basic
import FluentUI

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Window

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import FluentUI

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import FluentUI

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Controls.Basic
import QtQuick.Layouts

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import QtQuick.Controls.Basic
import QtQuick.Layouts

View File

@ -1,4 +1,4 @@
import QtQuick
import QtQuick
import QtQuick.Controls
import FluentUI
import "ColorPicker"

Some files were not shown because too many files have changed in this diff Show More