runhey 3 лет назад
Родитель
Сommit
fb168467af

+ 3 - 3
gui.py

@@ -12,11 +12,11 @@ if __name__ == "__main__":
     # 启动一个UI交互的线程,因为信号槽不可跨进程
     # 启动一个UI交互的线程,因为信号槽不可跨进程
     # 后面选择注入上下文快
     # 后面选择注入上下文快
     app = FluentApp()
     app = FluentApp()
-    add = Add()
+    add_config = Add()
     process_manager = ProcessManager()
     process_manager = ProcessManager()
-    process_manager.create_all()
+    # process_manager.create_all()
 
 
-    app.set_context_property(add, 'add')
+    app.set_context_property(add_config, 'add_config')
     app.set_context_property(process_manager, 'process_manager')
     app.set_context_property(process_manager, 'process_manager')
     # 启动一个GUI
     # 启动一个GUI
     app.run()
     app.run()

BIN
module/gui/FluentUI/fluentuiplugin.dll


+ 1673 - 0
module/gui/FluentUI/fluentuiplugin.qmltypes

@@ -0,0 +1,1673 @@
+import QtQuick.tooling 1.2
+
+// This file describes the plugin-supplied types contained in the library.
+// It is used for QML tooling purposes only.
+//
+// This file was auto-generated by qmltyperegistrar.
+
+Module {
+    Component {
+        file: "FluApp.h"
+        name: "FluApp"
+        accessSemantics: "reference"
+        prototype: "QObject"
+        exports: ["FluentUI/FluApp 1.0"]
+        isCreatable: false
+        isSingleton: true
+        exportMetaObjectRevisions: [256]
+        Property { name: "initialRoute"; type: "QString"; notify: "initialRouteChanged"; index: 0 }
+        Property { name: "routes"; type: "QJsonObject"; notify: "routesChanged"; index: 1 }
+        Signal { name: "initialRouteChanged" }
+        Signal { name: "routesChanged" }
+        Method { name: "run" }
+        Method {
+            name: "navigate"
+            Parameter { name: "route"; type: "QString" }
+            Parameter { name: "argument"; type: "QJsonObject" }
+            Parameter { name: "fluRegister"; type: "FluRegister"; isPointer: true }
+        }
+        Method {
+            name: "navigate"
+            Parameter { name: "route"; type: "QString" }
+            Parameter { name: "argument"; type: "QJsonObject" }
+        }
+        Method {
+            name: "navigate"
+            Parameter { name: "route"; type: "QString" }
+        }
+        Method {
+            name: "init"
+            Parameter { name: "window"; type: "QQuickWindow"; isPointer: true }
+        }
+        Method {
+            name: "awesomelist"
+            type: "QJsonArray"
+            Parameter { name: "keyword"; type: "QString" }
+        }
+        Method { name: "awesomelist"; type: "QJsonArray" }
+        Method { name: "closeApp" }
+    }
+    Component {
+        file: "FluColors.h"
+        name: "FluColors"
+        accessSemantics: "reference"
+        prototype: "QObject"
+        exports: ["FluentUI/FluColors 1.0"]
+        isCreatable: false
+        isSingleton: true
+        exportMetaObjectRevisions: [256]
+        Property { name: "Black"; type: "QString"; notify: "BlackChanged"; index: 0 }
+        Property { name: "White"; type: "QString"; notify: "WhiteChanged"; index: 1 }
+        Property { name: "Grey10"; type: "QString"; notify: "Grey10Changed"; index: 2 }
+        Property { name: "Grey20"; type: "QString"; notify: "Grey20Changed"; index: 3 }
+        Property { name: "Grey30"; type: "QString"; notify: "Grey30Changed"; index: 4 }
+        Property { name: "Grey40"; type: "QString"; notify: "Grey40Changed"; index: 5 }
+        Property { name: "Grey50"; type: "QString"; notify: "Grey50Changed"; index: 6 }
+        Property { name: "Grey60"; type: "QString"; notify: "Grey60Changed"; index: 7 }
+        Property { name: "Grey70"; type: "QString"; notify: "Grey70Changed"; index: 8 }
+        Property { name: "Grey80"; type: "QString"; notify: "Grey80Changed"; index: 9 }
+        Property { name: "Grey90"; type: "QString"; notify: "Grey90Changed"; index: 10 }
+        Property { name: "Grey100"; type: "QString"; notify: "Grey100Changed"; index: 11 }
+        Property { name: "Grey110"; type: "QString"; notify: "Grey110Changed"; index: 12 }
+        Property { name: "Grey120"; type: "QString"; notify: "Grey120Changed"; index: 13 }
+        Property { name: "Grey130"; type: "QString"; notify: "Grey130Changed"; index: 14 }
+        Property { name: "Grey140"; type: "QString"; notify: "Grey140Changed"; index: 15 }
+        Property { name: "Grey150"; type: "QString"; notify: "Grey150Changed"; index: 16 }
+        Property { name: "Grey160"; type: "QString"; notify: "Grey160Changed"; index: 17 }
+        Property { name: "Grey170"; type: "QString"; notify: "Grey170Changed"; index: 18 }
+        Property { name: "Grey180"; type: "QString"; notify: "Grey180Changed"; index: 19 }
+        Property { name: "Grey190"; type: "QString"; notify: "Grey190Changed"; index: 20 }
+        Property { name: "Grey200"; type: "QString"; notify: "Grey200Changed"; index: 21 }
+        Property { name: "Grey210"; type: "QString"; notify: "Grey210Changed"; index: 22 }
+        Property { name: "Grey220"; type: "QString"; notify: "Grey220Changed"; index: 23 }
+        Property {
+            name: "Yellow"
+            type: "FluColorSet"
+            isPointer: true
+            notify: "YellowChanged"
+            index: 24
+        }
+        Property {
+            name: "Orange"
+            type: "FluColorSet"
+            isPointer: true
+            notify: "OrangeChanged"
+            index: 25
+        }
+        Property { name: "Red"; type: "FluColorSet"; isPointer: true; notify: "RedChanged"; index: 26 }
+        Property {
+            name: "Magenta"
+            type: "FluColorSet"
+            isPointer: true
+            notify: "MagentaChanged"
+            index: 27
+        }
+        Property {
+            name: "Purple"
+            type: "FluColorSet"
+            isPointer: true
+            notify: "PurpleChanged"
+            index: 28
+        }
+        Property { name: "Blue"; type: "FluColorSet"; isPointer: true; notify: "BlueChanged"; index: 29 }
+        Property { name: "Teal"; type: "FluColorSet"; isPointer: true; notify: "TealChanged"; index: 30 }
+        Property { name: "Green"; type: "FluColorSet"; isPointer: true; notify: "GreenChanged"; index: 31 }
+        Signal { name: "BlackChanged" }
+        Signal { name: "WhiteChanged" }
+        Signal { name: "Grey10Changed" }
+        Signal { name: "Grey20Changed" }
+        Signal { name: "Grey30Changed" }
+        Signal { name: "Grey40Changed" }
+        Signal { name: "Grey50Changed" }
+        Signal { name: "Grey60Changed" }
+        Signal { name: "Grey70Changed" }
+        Signal { name: "Grey80Changed" }
+        Signal { name: "Grey90Changed" }
+        Signal { name: "Grey100Changed" }
+        Signal { name: "Grey110Changed" }
+        Signal { name: "Grey120Changed" }
+        Signal { name: "Grey130Changed" }
+        Signal { name: "Grey140Changed" }
+        Signal { name: "Grey150Changed" }
+        Signal { name: "Grey160Changed" }
+        Signal { name: "Grey170Changed" }
+        Signal { name: "Grey180Changed" }
+        Signal { name: "Grey190Changed" }
+        Signal { name: "Grey200Changed" }
+        Signal { name: "Grey210Changed" }
+        Signal { name: "Grey220Changed" }
+        Signal { name: "YellowChanged" }
+        Signal { name: "OrangeChanged" }
+        Signal { name: "RedChanged" }
+        Signal { name: "MagentaChanged" }
+        Signal { name: "PurpleChanged" }
+        Signal { name: "BlueChanged" }
+        Signal { name: "TealChanged" }
+        Signal { name: "GreenChanged" }
+    }
+    Component {
+        file: "FluTextStyle.h"
+        name: "FluTextStyle"
+        accessSemantics: "reference"
+        prototype: "QObject"
+        exports: ["FluentUI/FluTextStyle 1.0"]
+        isCreatable: false
+        isSingleton: true
+        exportMetaObjectRevisions: [256]
+        Property { name: "Caption"; type: "QFont"; notify: "CaptionChanged"; index: 0 }
+        Property { name: "Body"; type: "QFont"; notify: "BodyChanged"; index: 1 }
+        Property { name: "BodyStrong"; type: "QFont"; notify: "BodyStrongChanged"; index: 2 }
+        Property { name: "Subtitle"; type: "QFont"; notify: "SubtitleChanged"; index: 3 }
+        Property { name: "Title"; type: "QFont"; notify: "TitleChanged"; index: 4 }
+        Property { name: "TitleLarge"; type: "QFont"; notify: "TitleLargeChanged"; index: 5 }
+        Property { name: "Display"; type: "QFont"; notify: "DisplayChanged"; index: 6 }
+        Signal { name: "CaptionChanged" }
+        Signal { name: "BodyChanged" }
+        Signal { name: "BodyStrongChanged" }
+        Signal { name: "SubtitleChanged" }
+        Signal { name: "TitleChanged" }
+        Signal { name: "TitleLargeChanged" }
+        Signal { name: "DisplayChanged" }
+    }
+    Component {
+        file: "FluTheme.h"
+        name: "FluTheme"
+        accessSemantics: "reference"
+        prototype: "QObject"
+        exports: ["FluentUI/FluTheme 1.0"]
+        isCreatable: false
+        isSingleton: true
+        exportMetaObjectRevisions: [256]
+        Property {
+            name: "dark"
+            type: "bool"
+            read: "dark"
+            notify: "darkChanged"
+            index: 0
+            isReadonly: true
+        }
+        Property {
+            name: "primaryColor"
+            type: "FluColorSet"
+            isPointer: true
+            notify: "primaryColorChanged"
+            index: 1
+        }
+        Property { name: "darkMode"; type: "int"; notify: "darkModeChanged"; index: 2 }
+        Property { name: "nativeText"; type: "bool"; notify: "nativeTextChanged"; index: 3 }
+        Signal { name: "primaryColorChanged" }
+        Signal { name: "darkModeChanged" }
+        Signal { name: "nativeTextChanged" }
+        Signal { name: "darkChanged" }
+    }
+    Component {
+        file: "FluTools.h"
+        name: "FluTools"
+        accessSemantics: "reference"
+        prototype: "QObject"
+        exports: ["FluentUI/FluTools 1.0"]
+        isCreatable: false
+        isSingleton: true
+        exportMetaObjectRevisions: [256]
+        Method {
+            name: "clipText"
+            Parameter { name: "text"; type: "QString" }
+        }
+        Method { name: "uuid"; type: "QString" }
+        Method {
+            name: "readFile"
+            type: "QString"
+            Parameter { name: "fileName"; type: "QString" }
+        }
+        Method { name: "isMacos"; type: "bool" }
+        Method { name: "isLinux"; type: "bool" }
+        Method { name: "isWin"; type: "bool" }
+    }
+    Component {
+        file: "Def.h"
+        name: "Fluent_Awesome"
+        accessSemantics: "none"
+        exports: ["FluentUI/FluentIcons 1.0"]
+        isCreatable: false
+        exportMetaObjectRevisions: [256]
+        Enum {
+            name: "Fluent_AwesomeType"
+            values: [
+                "GlobalNavButton",
+                "Wifi",
+                "Bluetooth",
+                "Connect",
+                "InternetSharing",
+                "VPN",
+                "Brightness",
+                "MapPin",
+                "QuietHours",
+                "Airplane",
+                "Tablet",
+                "QuickNote",
+                "RememberedDevice",
+                "ChevronDown",
+                "ChevronUp",
+                "Edit",
+                "Add",
+                "Cancel",
+                "More",
+                "Settings",
+                "Video",
+                "Mail",
+                "People",
+                "Phone",
+                "Pin",
+                "Shop",
+                "Stop",
+                "Link",
+                "Filter",
+                "AllApps",
+                "Zoom",
+                "ZoomOut",
+                "Microphone",
+                "Search",
+                "Camera",
+                "Attach",
+                "Send",
+                "SendFill",
+                "WalkSolid",
+                "InPrivate",
+                "FavoriteList",
+                "PageSolid",
+                "Forward",
+                "Back",
+                "Refresh",
+                "Share",
+                "Lock",
+                "ReportHacked",
+                "EMI",
+                "FavoriteStar",
+                "FavoriteStarFill",
+                "ReadingMode",
+                "Favicon",
+                "Remove",
+                "Checkbox",
+                "CheckboxComposite",
+                "CheckboxFill",
+                "CheckboxIndeterminate",
+                "CheckboxCompositeReversed",
+                "CheckMark",
+                "BackToWindow",
+                "FullScreen",
+                "ResizeTouchLarger",
+                "ResizeTouchSmaller",
+                "ResizeMouseSmall",
+                "ResizeMouseMedium",
+                "ResizeMouseWide",
+                "ResizeMouseTall",
+                "ResizeMouseLarge",
+                "SwitchUser",
+                "Print",
+                "Up",
+                "Down",
+                "OEM",
+                "Delete",
+                "Save",
+                "Mute",
+                "BackSpaceQWERTY",
+                "ReturnKey",
+                "UpArrowShiftKey",
+                "Cloud",
+                "Flashlight",
+                "RotationLock",
+                "CommandPrompt",
+                "SIPMove",
+                "SIPUndock",
+                "SIPRedock",
+                "EraseTool",
+                "UnderscoreSpace",
+                "GripperTool",
+                "Dialpad",
+                "PageLeft",
+                "PageRight",
+                "MultiSelect",
+                "KeyboardLeftHanded",
+                "KeyboardRightHanded",
+                "KeyboardClassic",
+                "KeyboardSplit",
+                "Volume",
+                "Play",
+                "Pause",
+                "ChevronLeft",
+                "ChevronRight",
+                "InkingTool",
+                "Emoji2",
+                "GripperBarHorizontal",
+                "System",
+                "Personalize",
+                "Devices",
+                "SearchAndApps",
+                "Globe",
+                "TimeLanguage",
+                "EaseOfAccess",
+                "UpdateRestore",
+                "HangUp",
+                "ContactInfo",
+                "Unpin",
+                "Contact",
+                "Memo",
+                "IncomingCall",
+                "Paste",
+                "PhoneBook",
+                "LEDLight",
+                "Error",
+                "GripperBarVertical",
+                "Unlock",
+                "Slideshow",
+                "Calendar",
+                "GripperResize",
+                "Megaphone",
+                "Trim",
+                "NewWindow",
+                "SaveLocal",
+                "Color",
+                "DataSense",
+                "SaveAs",
+                "Light",
+                "AspectRatio",
+                "DataSenseBar",
+                "Redo",
+                "Undo",
+                "Crop",
+                "OpenWith",
+                "Rotate",
+                "RedEye",
+                "SetlockScreen",
+                "MapPin2",
+                "Package",
+                "Warning",
+                "ReadingList",
+                "Education",
+                "ShoppingCart",
+                "Train",
+                "Flag",
+                "Move",
+                "Page",
+                "TaskView",
+                "BrowsePhotos",
+                "HalfStarLeft",
+                "HalfStarRight",
+                "Record",
+                "TouchPointer",
+                "LangJPN",
+                "Ferry",
+                "Highlight",
+                "ActionCenterNotification",
+                "PowerButton",
+                "ResizeTouchNarrower",
+                "ResizeTouchShorter",
+                "DrivingMode",
+                "RingerSilent",
+                "OtherUser",
+                "Admin",
+                "CC",
+                "SDCard",
+                "CallForwarding",
+                "SettingsDisplaySound",
+                "TVMonitor",
+                "Speakers",
+                "Headphone",
+                "DeviceLaptopPic",
+                "DeviceLaptopNoPic",
+                "DeviceMonitorRightPic",
+                "DeviceMonitorLeftPic",
+                "DeviceMonitorNoPic",
+                "Game",
+                "HorizontalTabKey",
+                "StreetsideSplitMinimize",
+                "StreetsideSplitExpand",
+                "Car",
+                "Walk",
+                "Bus",
+                "TiltUp",
+                "TiltDown",
+                "CallControl",
+                "RotateMapRight",
+                "RotateMapLeft",
+                "Home",
+                "ParkingLocation",
+                "MapCompassTop",
+                "MapCompassBottom",
+                "IncidentTriangle",
+                "Touch",
+                "MapDirections",
+                "StartPoint",
+                "StopPoint",
+                "EndPoint",
+                "History",
+                "Location",
+                "MapLayers",
+                "Accident",
+                "Work",
+                "Construction",
+                "Recent",
+                "Bank",
+                "DownloadMap",
+                "InkingToolFill2",
+                "HighlightFill2",
+                "EraseToolFill",
+                "EraseToolFill2",
+                "Dictionary",
+                "DictionaryAdd",
+                "ToolTip",
+                "ChromeBack",
+                "ProvisioningPackage",
+                "AddRemoteDevice",
+                "FolderOpen",
+                "Ethernet",
+                "ShareBroadband",
+                "DirectAccess",
+                "DialUp",
+                "DefenderApp",
+                "BatteryCharging9",
+                "Battery10",
+                "Pinned",
+                "PinFill",
+                "PinnedFill",
+                "PeriodKey",
+                "PuncKey",
+                "RevToggleKey",
+                "RightArrowKeyTime1",
+                "RightArrowKeyTime2",
+                "LeftQuote",
+                "RightQuote",
+                "DownShiftKey",
+                "UpShiftKey",
+                "PuncKey0",
+                "PuncKeyLeftBottom",
+                "RightArrowKeyTime3",
+                "RightArrowKeyTime4",
+                "Battery0",
+                "Battery1",
+                "Battery2",
+                "Battery3",
+                "Battery4",
+                "Battery5",
+                "Battery6",
+                "Battery7",
+                "Battery8",
+                "Battery9",
+                "BatteryCharging0",
+                "BatteryCharging1",
+                "BatteryCharging2",
+                "BatteryCharging3",
+                "BatteryCharging4",
+                "BatteryCharging5",
+                "BatteryCharging6",
+                "BatteryCharging7",
+                "BatteryCharging8",
+                "BatterySaver0",
+                "BatterySaver1",
+                "BatterySaver2",
+                "BatterySaver3",
+                "BatterySaver4",
+                "BatterySaver5",
+                "BatterySaver6",
+                "BatterySaver7",
+                "BatterySaver8",
+                "SignalBars1",
+                "SignalBars2",
+                "SignalBars3",
+                "SignalBars4",
+                "SignalBars5",
+                "SignalNotConnected",
+                "Wifi1",
+                "Wifi2",
+                "Wifi3",
+                "MobSIMLock",
+                "MobSIMMissing",
+                "Vibrate",
+                "RoamingInternational",
+                "RoamingDomestic",
+                "CallForwardInternational",
+                "CallForwardRoaming",
+                "JpnRomanji",
+                "JpnRomanjiLock",
+                "JpnRomanjiShift",
+                "JpnRomanjiShiftLock",
+                "StatusDataTransfer",
+                "StatusDataTransferVPN",
+                "StatusDualSIM2",
+                "StatusDualSIM2VPN",
+                "StatusDualSIM1",
+                "StatusDualSIM1VPN",
+                "StatusSGLTE",
+                "StatusSGLTECell",
+                "StatusSGLTEDataVPN",
+                "StatusVPN",
+                "WifiHotspot",
+                "LanguageKor",
+                "LanguageCht",
+                "LanguageChs",
+                "USB",
+                "InkingToolFill",
+                "View",
+                "HighlightFill",
+                "Previous",
+                "Next",
+                "Clear",
+                "Sync",
+                "Download",
+                "Help",
+                "Upload",
+                "Emoji",
+                "TwoPage",
+                "LeaveChat",
+                "MailForward",
+                "RotateCamera",
+                "ClosePane",
+                "OpenPane",
+                "PreviewLink",
+                "AttachCamera",
+                "ZoomIn",
+                "Bookmarks",
+                "Document",
+                "ProtectedDocument",
+                "OpenInNewWindow",
+                "MailFill",
+                "ViewAll",
+                "VideoChat",
+                "Switch",
+                "Rename",
+                "Go",
+                "SurfaceHub",
+                "Remote",
+                "Click",
+                "Shuffle",
+                "Movies",
+                "SelectAll",
+                "Orientation",
+                "Import",
+                "ImportAll",
+                "Folder",
+                "Webcam",
+                "Picture",
+                "Caption",
+                "ChromeClose",
+                "ShowResults",
+                "Message",
+                "Leaf",
+                "CalendarDay",
+                "CalendarWeek",
+                "Characters",
+                "MailReplyAll",
+                "Read",
+                "ShowBcc",
+                "HideBcc",
+                "Cut",
+                "PaymentCard",
+                "Copy",
+                "Important",
+                "MailReply",
+                "Sort",
+                "MobileTablet",
+                "DisconnectDrive",
+                "MapDrive",
+                "ContactPresence",
+                "Priority",
+                "GotoToday",
+                "Font",
+                "FontColor",
+                "Contact2",
+                "FolderFill",
+                "Audio",
+                "Permissions",
+                "DisableUpdates",
+                "Unfavorite",
+                "OpenLocal",
+                "Italic",
+                "Underline",
+                "Bold",
+                "MoveToFolder",
+                "LikeDislike",
+                "Dislike",
+                "Like",
+                "AlignRight",
+                "AlignCenter",
+                "AlignLeft",
+                "OpenFile",
+                "ClearSelection",
+                "FontDecrease",
+                "FontIncrease",
+                "FontSize",
+                "CellPhone",
+                "Reshare",
+                "Tag",
+                "RepeatOne",
+                "RepeatAll",
+                "Calculator",
+                "Directions",
+                "Library",
+                "ChatBubbles",
+                "PostUpdate",
+                "NewFolder",
+                "CalendarReply",
+                "UnsyncFolder",
+                "SyncFolder",
+                "BlockContact",
+                "SwitchApps",
+                "AddFriend",
+                "Accept",
+                "GoToStart",
+                "BulletedList",
+                "Scan",
+                "Preview",
+                "Group",
+                "ZeroBars",
+                "OneBar",
+                "TwoBars",
+                "ThreeBars",
+                "FourBars",
+                "World",
+                "Comment",
+                "MusicInfo",
+                "DockLeft",
+                "DockRight",
+                "DockBottom",
+                "Repair",
+                "Accounts",
+                "DullSound",
+                "Manage",
+                "Street",
+                "Printer3D",
+                "RadioBullet",
+                "Stopwatch",
+                "Photo",
+                "ActionCenter",
+                "FullCircleMask",
+                "ChromeMinimize",
+                "ChromeMaximize",
+                "ChromeRestore",
+                "Annotation",
+                "BackSpaceQWERTYSm",
+                "BackSpaceQWERTYMd",
+                "Swipe",
+                "Fingerprint",
+                "Handwriting",
+                "ChromeBackToWindow",
+                "ChromeFullScreen",
+                "KeyboardStandard",
+                "KeyboardDismiss",
+                "Completed",
+                "ChromeAnnotate",
+                "Label",
+                "IBeam",
+                "IBeamOutline",
+                "FlickDown",
+                "FlickUp",
+                "FlickLeft",
+                "FlickRight",
+                "FeedbackApp",
+                "MusicAlbum",
+                "Streaming",
+                "Code",
+                "ReturnToWindow",
+                "LightningBolt",
+                "Info",
+                "CalculatorMultiply",
+                "CalculatorAddition",
+                "CalculatorSubtract",
+                "CalculatorDivide",
+                "CalculatorSquareroot",
+                "CalculatorPercentage",
+                "CalculatorNegate",
+                "CalculatorEqualTo",
+                "CalculatorBackspace",
+                "Component",
+                "DMC",
+                "Dock",
+                "MultimediaDMS",
+                "MultimediaDVR",
+                "MultimediaPMP",
+                "PrintfaxPrinterFile",
+                "Sensor",
+                "StorageOptical",
+                "Communications",
+                "Headset",
+                "Projector",
+                "Health",
+                "Wire",
+                "Webcam2",
+                "Input",
+                "Mouse",
+                "Smartcard",
+                "SmartcardVirtual",
+                "MediaStorageTower",
+                "ReturnKeySm",
+                "GameConsole",
+                "Network",
+                "StorageNetworkWireless",
+                "StorageTape",
+                "ChevronUpSmall",
+                "ChevronDownSmall",
+                "ChevronLeftSmall",
+                "ChevronRightSmall",
+                "ChevronUpMed",
+                "ChevronDownMed",
+                "ChevronLeftMed",
+                "ChevronRightMed",
+                "Devices2",
+                "ExpandTile",
+                "PC1",
+                "PresenceChicklet",
+                "PresenceChickletVideo",
+                "Reply",
+                "SetTile",
+                "Type",
+                "Korean",
+                "HalfAlpha",
+                "FullAlpha",
+                "Key12On",
+                "ChineseChangjie",
+                "QWERTYOn",
+                "QWERTYOff",
+                "ChineseQuick",
+                "Japanese",
+                "FullHiragana",
+                "FullKatakana",
+                "HalfKatakana",
+                "ChineseBoPoMoFo",
+                "ChinesePinyin",
+                "ConstructionCone",
+                "XboxOneConsole",
+                "Volume0",
+                "Volume1",
+                "Volume2",
+                "Volume3",
+                "BatteryUnknown",
+                "WifiAttentionOverlay",
+                "Robot",
+                "TapAndSend",
+                "FitPage",
+                "PasswordKeyShow",
+                "PasswordKeyHide",
+                "BidiLtr",
+                "BidiRtl",
+                "ForwardSm",
+                "CommaKey",
+                "DashKey",
+                "DullSoundKey",
+                "HalfDullSound",
+                "RightDoubleQuote",
+                "LeftDoubleQuote",
+                "PuncKeyRightBottom",
+                "PuncKey1",
+                "PuncKey2",
+                "PuncKey3",
+                "PuncKey4",
+                "PuncKey5",
+                "PuncKey6",
+                "PuncKey9",
+                "PuncKey7",
+                "PuncKey8",
+                "Frigid",
+                "Unknown",
+                "AreaChart",
+                "CheckList",
+                "Diagnostic",
+                "Equalizer",
+                "Process",
+                "Processing",
+                "ReportDocument",
+                "VideoSolid",
+                "MixedMediaBadge",
+                "DisconnectDisplay",
+                "Shield",
+                "Info2",
+                "ActionCenterAsterisk",
+                "Beta",
+                "SaveCopy",
+                "List",
+                "Asterisk",
+                "ErrorBadge",
+                "CircleRing",
+                "CircleFill",
+                "MergeCall",
+                "PrivateCall",
+                "Record2",
+                "AllAppsMirrored",
+                "BookmarksMirrored",
+                "BulletedListMirrored",
+                "CallForwardInternationalMirrored",
+                "CallForwardRoamingMirrored",
+                "ChromeBackMirrored",
+                "ClearSelectionMirrored",
+                "ClosePaneMirrored",
+                "ContactInfoMirrored",
+                "DockRightMirrored",
+                "DockLeftMirrored",
+                "ExpandTileMirrored",
+                "GoMirrored",
+                "GripperResizeMirrored",
+                "HelpMirrored",
+                "ImportMirrored",
+                "ImportAllMirrored",
+                "LeaveChatMirrored",
+                "ListMirrored",
+                "MailForwardMirrored",
+                "MailReplyMirrored",
+                "MailReplyAllMirrored",
+                "OpenPaneMirrored",
+                "OpenWithMirrored",
+                "ParkingLocationMirrored",
+                "ResizeMouseMediumMirrored",
+                "ResizeMouseSmallMirrored",
+                "ResizeMouseTallMirrored",
+                "ResizeTouchNarrowerMirrored",
+                "SendMirrored",
+                "SendFillMirrored",
+                "ShowResultsMirrored",
+                "Media",
+                "SyncError",
+                "Devices3",
+                "SlowMotionOn",
+                "Lightbulb",
+                "StatusCircle",
+                "StatusTriangle",
+                "StatusError",
+                "StatusWarning",
+                "Puzzle",
+                "CalendarSolid",
+                "HomeSolid",
+                "ParkingLocationSolid",
+                "ContactSolid",
+                "ConstructionSolid",
+                "AccidentSolid",
+                "Ringer",
+                "PDF",
+                "ThoughtBubble",
+                "HeartBroken",
+                "BatteryCharging10",
+                "BatterySaver9",
+                "BatterySaver10",
+                "CallForwardingMirrored",
+                "MultiSelectMirrored",
+                "Broom",
+                "ForwardCall",
+                "Trackers",
+                "Market",
+                "PieSingle",
+                "StockUp",
+                "StockDown",
+                "Design",
+                "Website",
+                "Drop",
+                "Radar",
+                "BusSolid",
+                "FerrySolid",
+                "StartPointSolid",
+                "StopPointSolid",
+                "EndPointSolid",
+                "AirplaneSolid",
+                "TrainSolid",
+                "WorkSolid",
+                "ReminderFill",
+                "Reminder",
+                "Heart",
+                "HeartFill",
+                "EthernetError",
+                "EthernetWarning",
+                "StatusConnecting1",
+                "StatusConnecting2",
+                "StatusUnsecure",
+                "WifiError0",
+                "WifiError1",
+                "WifiError2",
+                "WifiError3",
+                "WifiError4",
+                "WifiWarning0",
+                "WifiWarning1",
+                "WifiWarning2",
+                "WifiWarning3",
+                "WifiWarning4",
+                "Devices4",
+                "NUIIris",
+                "NUIFace",
+                "GatewayRouter",
+                "EditMirrored",
+                "NUIFPStartSlideHand",
+                "NUIFPStartSlideAction",
+                "NUIFPContinueSlideHand",
+                "NUIFPContinueSlideAction",
+                "NUIFPRollRightHand",
+                "NUIFPRollRightHandAction",
+                "NUIFPRollLeftHand",
+                "NUIFPRollLeftAction",
+                "NUIFPPressHand",
+                "NUIFPPressAction",
+                "NUIFPPressRepeatHand",
+                "NUIFPPressRepeatAction",
+                "StatusErrorFull",
+                "TaskViewExpanded",
+                "Certificate",
+                "BackSpaceQWERTYLg",
+                "ReturnKeyLg",
+                "FastForward",
+                "Rewind",
+                "Photo2",
+                "MobBattery0",
+                "MobBattery1",
+                "MobBattery2",
+                "MobBattery3",
+                "MobBattery4",
+                "MobBattery5",
+                "MobBattery6",
+                "MobBattery7",
+                "MobBattery8",
+                "MobBattery9",
+                "MobBattery10",
+                "MobBatteryCharging0",
+                "MobBatteryCharging1",
+                "MobBatteryCharging2",
+                "MobBatteryCharging3",
+                "MobBatteryCharging4",
+                "MobBatteryCharging5",
+                "MobBatteryCharging6",
+                "MobBatteryCharging7",
+                "MobBatteryCharging8",
+                "MobBatteryCharging9",
+                "MobBatteryCharging10",
+                "MobBatterySaver0",
+                "MobBatterySaver1",
+                "MobBatterySaver2",
+                "MobBatterySaver3",
+                "MobBatterySaver4",
+                "MobBatterySaver5",
+                "MobBatterySaver6",
+                "MobBatterySaver7",
+                "MobBatterySaver8",
+                "MobBatterySaver9",
+                "MobBatterySaver10",
+                "DictionaryCloud",
+                "ResetDrive",
+                "VolumeBars",
+                "Project",
+                "AdjustHologram",
+                "CloudDownload",
+                "MobWifiCallBars",
+                "MobWifiCall0",
+                "MobWifiCall1",
+                "MobWifiCall2",
+                "MobWifiCall3",
+                "MobWifiCall4",
+                "Family",
+                "LockFeedback",
+                "DeviceDiscovery",
+                "WindDirection",
+                "RightArrowKeyTime0",
+                "Bug",
+                "TabletMode",
+                "StatusCircleLeft",
+                "StatusTriangleLeft",
+                "StatusErrorLeft",
+                "StatusWarningLeft",
+                "MobBatteryUnknown",
+                "NetworkTower",
+                "CityNext",
+                "CityNext2",
+                "Courthouse",
+                "Groceries",
+                "Sustainable",
+                "BuildingEnergy",
+                "ToggleFilled",
+                "ToggleBorder",
+                "SliderThumb",
+                "ToggleThumb",
+                "MiracastLogoSmall",
+                "MiracastLogoLarge",
+                "PLAP",
+                "Badge",
+                "SignalRoaming",
+                "MobileLocked",
+                "InsiderHubApp",
+                "PersonalFolder",
+                "HomeGroup",
+                "MyNetwork",
+                "KeyboardFull",
+                "Cafe",
+                "MobSignal1",
+                "MobSignal2",
+                "MobSignal3",
+                "MobSignal4",
+                "MobSignal5",
+                "MobWifi1",
+                "MobWifi2",
+                "MobWifi3",
+                "MobWifi4",
+                "MobAirplane",
+                "MobBluetooth",
+                "MobActionCenter",
+                "MobLocation",
+                "MobWifiHotspot",
+                "LanguageJpn",
+                "MobQuietHours",
+                "MobDrivingMode",
+                "SpeedOff",
+                "SpeedMedium",
+                "SpeedHigh",
+                "ThisPC",
+                "MusicNote",
+                "FileExplorer",
+                "FileExplorerApp",
+                "LeftArrowKeyTime0",
+                "MicOff",
+                "MicSleep",
+                "MicError",
+                "PlaybackRate1x",
+                "PlaybackRateOther",
+                "CashDrawer",
+                "BarcodeScanner",
+                "ReceiptPrinter",
+                "MagStripeReader",
+                "CompletedSolid",
+                "CompanionApp",
+                "Favicon2",
+                "SwipeRevealArt",
+                "MicOn",
+                "MicClipping",
+                "TabletSelected",
+                "MobileSelected",
+                "LaptopSelected",
+                "TVMonitorSelected",
+                "DeveloperTools",
+                "MobCallForwarding",
+                "MobCallForwardingMirrored",
+                "BodyCam",
+                "PoliceCar",
+                "Draw",
+                "DrawSolid",
+                "LowerBrightness",
+                "ScrollUpDown",
+                "DateTime",
+                "HoloLens",
+                "Tiles",
+                "PartyLeader",
+                "AppIconDefault",
+                "Calories",
+                "POI",
+                "BandBattery0",
+                "BandBattery1",
+                "BandBattery2",
+                "BandBattery3",
+                "BandBattery4",
+                "BandBattery5",
+                "BandBattery6",
+                "AddSurfaceHub",
+                "DevUpdate",
+                "Unit",
+                "AddTo",
+                "RemoveFrom",
+                "RadioBtnOff",
+                "RadioBtnOn",
+                "RadioBullet2",
+                "ExploreContent",
+                "Blocked2",
+                "ScrollMode",
+                "ZoomMode",
+                "PanMode",
+                "WiredUSB",
+                "WirelessUSB",
+                "USBSafeConnect",
+                "ActionCenterNotificationMirrored",
+                "ActionCenterMirrored",
+                "SubscriptionAdd",
+                "ResetDevice",
+                "SubscriptionAddMirrored",
+                "QRCode",
+                "Feedback",
+                "Hide",
+                "Subtitles",
+                "SubtitlesAudio",
+                "OpenFolderHorizontal",
+                "CalendarMirrored",
+                "MobeSIM",
+                "MobeSIMNoProfile",
+                "MobeSIMLocked",
+                "MobeSIMBusy",
+                "SignalError",
+                "StreamingEnterprise",
+                "Headphone0",
+                "Headphone1",
+                "Headphone2",
+                "Headphone3",
+                "Apps",
+                "KeyboardBrightness",
+                "KeyboardLowerBrightness",
+                "SkipBack10",
+                "SkipForward30",
+                "TreeFolderFolder",
+                "TreeFolderFolderFill",
+                "TreeFolderFolderOpen",
+                "TreeFolderFolderOpenFill",
+                "MultimediaDMP",
+                "KeyboardOneHanded",
+                "Narrator",
+                "EmojiTabPeople",
+                "EmojiTabSmilesAnimals",
+                "EmojiTabCelebrationObjects",
+                "EmojiTabFoodPlants",
+                "EmojiTabTransitPlaces",
+                "EmojiTabSymbols",
+                "EmojiTabTextSmiles",
+                "EmojiTabFavorites",
+                "EmojiSwatch",
+                "ConnectApp",
+                "CompanionDeviceFramework",
+                "Ruler",
+                "FingerInking",
+                "StrokeErase",
+                "PointErase",
+                "ClearAllInk",
+                "Pencil",
+                "Marker",
+                "InkingCaret",
+                "InkingColorOutline",
+                "InkingColorFill",
+                "HardDrive",
+                "NetworkAdapter",
+                "Touchscreen",
+                "NetworkPrinter",
+                "CloudPrinter",
+                "KeyboardShortcut",
+                "BrushSize",
+                "NarratorForward",
+                "NarratorForwardMirrored",
+                "SyncBadge12",
+                "RingerBadge12",
+                "AsteriskBadge12",
+                "ErrorBadge12",
+                "CircleRingBadge12",
+                "CircleFillBadge12",
+                "ImportantBadge12",
+                "MailBadge12",
+                "PauseBadge12",
+                "PlayBadge12",
+                "PenWorkspace",
+                "CaretLeft8",
+                "CaretRight8",
+                "CaretUp8",
+                "CaretDown8",
+                "CaretLeftSolid8",
+                "CaretRightSolid8",
+                "CaretUpSolid8",
+                "CaretDownSolid8",
+                "Strikethrough",
+                "Export",
+                "ExportMirrored",
+                "ButtonMenu",
+                "CloudSearch",
+                "PinyinIMELogo",
+                "CalligraphyPen",
+                "ReplyMirrored",
+                "LockscreenDesktop",
+                "TaskViewSettings",
+                "MiniExpand2Mirrored",
+                "MiniContract2Mirrored",
+                "Play36",
+                "PenPalette",
+                "GuestUser",
+                "SettingsBattery",
+                "TaskbarPhone",
+                "LockScreenGlance",
+                "GenericScan",
+                "ImageExport",
+                "WifiEthernet",
+                "ActionCenterQuiet",
+                "ActionCenterQuietNotification",
+                "TrackersMirrored",
+                "DateTimeMirrored",
+                "Wheel",
+                "VirtualMachineGroup",
+                "ButtonView2",
+                "PenWorkspaceMirrored",
+                "PenPaletteMirrored",
+                "StrokeEraseMirrored",
+                "PointEraseMirrored",
+                "ClearAllInkMirrored",
+                "BackgroundToggle",
+                "Marquee",
+                "ChromeCloseContrast",
+                "ChromeMinimizeContrast",
+                "ChromeMaximizeContrast",
+                "ChromeRestoreContrast",
+                "TrafficLight",
+                "Replay",
+                "Eyedropper",
+                "LineDisplay",
+                "PINPad",
+                "SignatureCapture",
+                "ChipCardCreditCardReader",
+                "MarketDown",
+                "PlayerSettings",
+                "LandscapeOrientation",
+                "Flow",
+                "Touchpad",
+                "Speech",
+                "KnowledgeArticle",
+                "Relationship",
+                "ZipFolder",
+                "DefaultAPN",
+                "UserAPN",
+                "DoublePinyin",
+                "BlueLight",
+                "CaretSolidLeft",
+                "CaretSolidDown",
+                "CaretSolidRight",
+                "CaretSolidUp",
+                "ButtonA",
+                "ButtonB",
+                "ButtonY",
+                "ButtonX",
+                "ArrowUp8",
+                "ArrowDown8",
+                "ArrowRight8",
+                "ArrowLeft8",
+                "QuarentinedItems",
+                "QuarentinedItemsMirrored",
+                "Protractor",
+                "ChecklistMirrored",
+                "StatusCircle7",
+                "StatusCheckmark7",
+                "StatusErrorCircle7",
+                "Connected",
+                "PencilFill",
+                "CalligraphyFill",
+                "QuarterStarLeft",
+                "QuarterStarRight",
+                "ThreeQuarterStarLeft",
+                "ThreeQuarterStarRight",
+                "QuietHoursBadge12",
+                "BackMirrored",
+                "ForwardMirrored",
+                "ChromeBackContrast",
+                "ChromeBackContrastMirrored",
+                "ChromeBackToWindowContrast",
+                "ChromeFullScreenContrast",
+                "GridView",
+                "ClipboardList",
+                "ClipboardListMirrored",
+                "OutlineQuarterStarLeft",
+                "OutlineQuarterStarRight",
+                "OutlineHalfStarLeft",
+                "OutlineHalfStarRight",
+                "OutlineThreeQuarterStarLeft",
+                "OutlineThreeQuarterStarRight",
+                "SpatialVolume0",
+                "SpatialVolume1",
+                "SpatialVolume2",
+                "SpatialVolume3",
+                "ApplicationGuard",
+                "OutlineStarLeftHalf",
+                "OutlineStarRightHalf",
+                "ChromeAnnotateContrast",
+                "DefenderBadge12",
+                "DetachablePC",
+                "LeftStick",
+                "RightStick",
+                "TriggerLeft",
+                "TriggerRight",
+                "BumperLeft",
+                "BumperRight",
+                "Dpad",
+                "EnglishPunctuation",
+                "ChinesePunctuation",
+                "HMD",
+                "CtrlSpatialRight",
+                "PaginationDotOutline10",
+                "PaginationDotSolid10",
+                "StrokeErase2",
+                "SmallErase",
+                "LargeErase",
+                "FolderHorizontal",
+                "MicrophoneListening",
+                "StatusExclamationCircle7",
+                "Video360",
+                "GiftboxOpen",
+                "StatusCircleOuter",
+                "StatusCircleInner",
+                "StatusCircleRing",
+                "StatusTriangleOuter",
+                "StatusTriangleInner",
+                "StatusTriangleExclamation",
+                "StatusCircleExclamation",
+                "StatusCircleErrorX",
+                "StatusCircleCheckmark",
+                "StatusCircleInfo",
+                "StatusCircleBlock",
+                "StatusCircleBlock2",
+                "StatusCircleQuestionMark",
+                "StatusCircleSync",
+                "Dial1",
+                "Dial2",
+                "Dial3",
+                "Dial4",
+                "Dial5",
+                "Dial6",
+                "Dial7",
+                "Dial8",
+                "Dial9",
+                "Dial10",
+                "Dial11",
+                "Dial12",
+                "Dial13",
+                "Dial14",
+                "Dial15",
+                "Dial16",
+                "DialShape1",
+                "DialShape2",
+                "DialShape3",
+                "DialShape4",
+                "ClosedCaptionsInternational",
+                "TollSolid",
+                "TrafficCongestionSolid",
+                "ExploreContentSingle",
+                "CollapseContent",
+                "CollapseContentSingle",
+                "InfoSolid",
+                "GroupList",
+                "CaretBottomRightSolidCenter8",
+                "ProgressRingDots",
+                "Checkbox14",
+                "CheckboxComposite14",
+                "CheckboxIndeterminateCombo14",
+                "CheckboxIndeterminateCombo",
+                "StatusPause7",
+                "CharacterAppearance",
+                "Lexicon",
+                "ScreenTime",
+                "HeadlessDevice",
+                "NetworkSharing",
+                "EyeGaze",
+                "ToggleLeft",
+                "ToggleRight",
+                "WindowsInsider",
+                "ChromeSwitch",
+                "ChromeSwitchContast",
+                "StatusCheckmark",
+                "StatusCheckmarkLeft",
+                "KeyboardLeftAligned",
+                "KeyboardRightAligned",
+                "KeyboardSettings",
+                "NetworkPhysical",
+                "IOT",
+                "UnknownMirrored",
+                "ViewDashboard",
+                "ExploitProtectionSettings",
+                "KeyboardNarrow",
+                "Keyboard12Key",
+                "KeyboardDock",
+                "KeyboardUndock",
+                "KeyboardLeftDock",
+                "KeyboardRightDock",
+                "Ear",
+                "PointerHand",
+                "Bullseye",
+                "DocumentApproval",
+                "LocaleLanguage",
+                "PassiveAuthentication",
+                "ColorSolid",
+                "NetworkOffline",
+                "NetworkConnected",
+                "NetworkConnectedCheckmark",
+                "SignOut",
+                "StatusInfo",
+                "StatusInfoLeft",
+                "NearbySharing",
+                "CtrlSpatialLeft",
+                "InteractiveDashboard",
+                "DeclineCall",
+                "ClippingTool",
+                "RectangularClipping",
+                "FreeFormClipping",
+                "CopyTo",
+                "IDBadge",
+                "DynamicLock",
+                "PenTips",
+                "PenTipsMirrored",
+                "HWPJoin",
+                "HWPInsert",
+                "HWPStrikeThrough",
+                "HWPScratchOut",
+                "HWPSplit",
+                "HWPNewLine",
+                "HWPOverwrite",
+                "MobWifiWarning1",
+                "MobWifiWarning2",
+                "MobWifiWarning3",
+                "MobWifiWarning4",
+                "MicLocationCombo",
+                "Globe2",
+                "SpecialEffectSize",
+                "GIF",
+                "Sticker2",
+                "SurfaceHubSelected",
+                "HoloLensSelected",
+                "Earbud",
+                "MixVolumes",
+                "Safe",
+                "LaptopSecure",
+                "PrintDefault",
+                "PageMirrored",
+                "LandscapeOrientationMirrored",
+                "ColorOff",
+                "PrintAllPages",
+                "PrintCustomRange",
+                "PageMarginPortraitNarrow",
+                "PageMarginPortraitNormal",
+                "PageMarginPortraitModerate",
+                "PageMarginPortraitWide",
+                "PageMarginLandscapeNarrow",
+                "PageMarginLandscapeNormal",
+                "PageMarginLandscapeModerate",
+                "PageMarginLandscapeWide",
+                "CollateLandscape",
+                "CollatePortrait",
+                "CollatePortraitSeparated",
+                "DuplexLandscapeOneSided",
+                "DuplexLandscapeOneSidedMirrored",
+                "DuplexLandscapeTwoSidedLongEdge",
+                "DuplexLandscapeTwoSidedLongEdgeMirrored",
+                "DuplexLandscapeTwoSidedShortEdge",
+                "DuplexLandscapeTwoSidedShortEdgeMirrored",
+                "DuplexPortraitOneSided",
+                "DuplexPortraitOneSidedMirrored",
+                "DuplexPortraitTwoSidedLongEdge",
+                "DuplexPortraitTwoSidedLongEdgeMirrored",
+                "DuplexPortraitTwoSidedShortEdge",
+                "DuplexPortraitTwoSidedShortEdgeMirrored",
+                "PPSOneLandscape",
+                "PPSTwoLandscape",
+                "PPSTwoPortrait",
+                "PPSFourLandscape",
+                "PPSFourPortrait",
+                "HolePunchOff",
+                "HolePunchPortraitLeft",
+                "HolePunchPortraitRight",
+                "HolePunchPortraitTop",
+                "HolePunchPortraitBottom",
+                "HolePunchLandscapeLeft",
+                "HolePunchLandscapeRight",
+                "HolePunchLandscapeTop",
+                "HolePunchLandscapeBottom",
+                "StaplingOff",
+                "StaplingPortraitTopLeft",
+                "StaplingPortraitTopRight",
+                "StaplingPortraitBottomRight",
+                "StaplingPortraitTwoLeft",
+                "StaplingPortraitTwoRight",
+                "StaplingPortraitTwoTop",
+                "StaplingPortraitTwoBottom",
+                "StaplingPortraitBookBinding",
+                "StaplingLandscapeTopLeft",
+                "StaplingLandscapeTopRight",
+                "StaplingLandscapeBottomLeft",
+                "StaplingLandscapeBottomRight",
+                "StaplingLandscapeTwoLeft",
+                "StaplingLandscapeTwoRight",
+                "StaplingLandscapeTwoTop",
+                "StaplingLandscapeTwoBottom",
+                "StaplingLandscapeBookBinding",
+                "StatusDataTransferRoaming",
+                "MobSIMError",
+                "CollateLandscapeSeparated",
+                "PPSOnePortrait",
+                "StaplingPortraitBottomLeft",
+                "PlaySolid",
+                "RepeatOff",
+                "Set",
+                "SetSolid",
+                "FuzzyReading",
+                "VerticalBattery0",
+                "VerticalBattery1",
+                "VerticalBattery2",
+                "VerticalBattery3",
+                "VerticalBattery4",
+                "VerticalBattery5",
+                "VerticalBattery6",
+                "VerticalBattery7",
+                "VerticalBattery8",
+                "VerticalBattery9",
+                "VerticalBattery10",
+                "VerticalBatteryCharging0",
+                "VerticalBatteryCharging1",
+                "VerticalBatteryCharging2",
+                "VerticalBatteryCharging3",
+                "VerticalBatteryCharging4",
+                "VerticalBatteryCharging5",
+                "VerticalBatteryCharging6",
+                "VerticalBatteryCharging7",
+                "VerticalBatteryCharging8",
+                "VerticalBatteryCharging9",
+                "VerticalBatteryCharging10",
+                "VerticalBatteryUnknown",
+                "SIMError",
+                "SIMMissing",
+                "SIMLock",
+                "eSIM",
+                "eSIMNoProfile",
+                "eSIMLocked",
+                "eSIMBusy",
+                "NoiseCancelation",
+                "NoiseCancelationOff",
+                "MusicSharing",
+                "MusicSharingOff",
+                "CircleShapeSolid",
+                "WifiCallBars",
+                "WifiCall0",
+                "WifiCall1",
+                "WifiCall2",
+                "WifiCall3",
+                "WifiCall4",
+                "CHTLanguageBar",
+                "ComposeMode",
+                "ExpressiveInputEntry",
+                "EmojiTabMoreSymbols",
+                "WebSearch",
+                "Kiosk",
+                "RTTLogo",
+                "VoiceCall",
+                "GoToMessage",
+                "ReturnToCall",
+                "StartPresenting",
+                "StopPresenting",
+                "ProductivityMode",
+                "SetHistoryStatus",
+                "SetHistoryStatus2",
+                "Keyboardsettings20",
+                "OneHandedRight20",
+                "OneHandedLeft20",
+                "Split20",
+                "Full20",
+                "Handwriting20",
+                "ChevronLeft20",
+                "ChevronLeft32",
+                "ChevronRight20",
+                "ChevronRight32",
+                "Event12",
+                "MicOff2",
+                "DeliveryOptimization",
+                "CancelMedium",
+                "SearchMedium",
+                "AcceptMedium",
+                "RevealPasswordMedium",
+                "DeleteWord",
+                "DeleteWordFill",
+                "DeleteLines",
+                "DeleteLinesFill",
+                "InstertWords",
+                "InstertWordsFill",
+                "JoinWords",
+                "JoinWordsFill",
+                "OverwriteWords",
+                "OverwriteWordsFill",
+                "AddNewLine",
+                "AddNewLineFill",
+                "OverwriteWordsKorean",
+                "OverwriteWordsFillKorean",
+                "EducationIcon",
+                "WindowSnipping",
+                "VideoCapture",
+                "StatusSecured",
+                "NarratorApp",
+                "PowerButtonUpdate",
+                "RestartUpdate",
+                "UpdateStatusDot",
+                "Eject",
+                "Spelling",
+                "SpellingKorean",
+                "SpellingSerbian",
+                "SpellingChinese",
+                "FolderSelect",
+                "SmartScreen",
+                "ExploitProtection",
+                "AddBold",
+                "SubtractBold",
+                "BackSolidBold",
+                "ForwardSolidBold",
+                "PauseBold",
+                "ClickSolid",
+                "SettingsSolid",
+                "MicrophoneSolidBold",
+                "SpeechSolidBold",
+                "ClickedOutLoudSolidBold"
+            ]
+        }
+    }
+    Component {
+        file: "Def.h"
+        name: "Fluent_DarkMode"
+        accessSemantics: "none"
+        exports: ["FluentUI/FluDarkMode 1.0"]
+        isCreatable: false
+        exportMetaObjectRevisions: [256]
+        Enum {
+            name: "Fluent_DarkModeType"
+            values: ["System", "Light", "Dark"]
+        }
+    }
+    Component {
+        file: "WindowHelper.h"
+        name: "WindowHelper"
+        accessSemantics: "reference"
+        prototype: "QObject"
+        exports: ["FluentUI/WindowHelper 1.0"]
+        exportMetaObjectRevisions: [256]
+        Method {
+            name: "initWindow"
+            Parameter { name: "window"; type: "QQuickWindow"; isPointer: true }
+        }
+        Method { name: "deleteWindow" }
+        Method {
+            name: "createRegister"
+            type: "QVariant"
+            Parameter { name: "window"; type: "QQuickWindow"; isPointer: true }
+            Parameter { name: "path"; type: "QString" }
+        }
+    }
+}

+ 20 - 11
module/gui/context/add.py

@@ -4,15 +4,19 @@
 #
 #
 import re
 import re
 from pathlib import Path
 from pathlib import Path
+from PySide6.QtCore import QObject, Slot, Signal
 
 
 from module.logger import logger
 from module.logger import logger
 
 
 # 震惊到我姥姥家 除了第一个函数all_script_files是我自己写的
 # 震惊到我姥姥家 除了第一个函数all_script_files是我自己写的
 # 后面的都是github copilot写的
 # 后面的都是github copilot写的
-class Add:
+class Add(QObject):
+    
+    def __init__(self) -> None:
+        super(Add, self).__init__()
 
 
-    @classmethod
-    def all_script_files(cls) -> list:
+    @Slot(result="QVariantList")
+    def all_script_files(self) -> list:
         """
         """
         获取所有的脚本文件 除了tmplate
         获取所有的脚本文件 除了tmplate
         :return: ['oas1', 'oas2']
         :return: ['oas1', 'oas2']
@@ -27,8 +31,8 @@ class Add:
             result.append(json.stem)
             result.append(json.stem)
         return result
         return result
 
 
-    @classmethod
-    def all_json_file(cls) -> list:
+    @Slot(result="QVariantList")
+    def all_json_file(self) -> list:
         """
         """
         获取所有的json文件
         获取所有的json文件
         :return: ['oas1', 'oas2']
         :return: ['oas1', 'oas2']
@@ -38,11 +42,15 @@ class Add:
         json_files = config_path.glob('*.json')
         json_files = config_path.glob('*.json')
         result = []
         result = []
         for json in json_files:
         for json in json_files:
-            result.append(json.stem)
+            if json.stem == 'template':
+                result.insert(0, json.stem)
+            else:
+                result.append(json.stem)
         return result
         return result
 
 
-    @classmethod
-    def copy(cls, file: str, template: str = 'template') -> None:
+
+    @Slot(str, str)
+    def copy(self, file: str, template: str = 'template') -> None:
         """
         """
         复制一个配置文件
         复制一个配置文件
         :param file:  不带json后缀
         :param file:  不带json后缀
@@ -61,13 +69,14 @@ class Add:
             f.write(template_content)
             f.write(template_content)
         logger.info(f'copy {template_path} to {file_path}')
         logger.info(f'copy {template_path} to {file_path}')
 
 
-    @classmethod
-    def generate_script_name(cls) -> str:
+
+    @Slot(result="QString")
+    def generate_script_name(self) -> str:
         """
         """
         生成一个新的配置的名字
         生成一个新的配置的名字
         :return:
         :return:
         """
         """
-        all_script_files = cls.all_script_files()
+        all_script_files = self.all_script_files()
         if not all_script_files:
         if not all_script_files:
             return 'oas1'
             return 'oas1'
         all_script_files.sort()
         all_script_files.sort()

+ 4 - 0
module/gui/qml.qrc

@@ -11,5 +11,9 @@
         <file>qml/Component/SplitPanel.qml</file>
         <file>qml/Component/SplitPanel.qml</file>
         <file>qml/Component/OverStatus.qml</file>
         <file>qml/Component/OverStatus.qml</file>
         <file>qml/Component/RunStatusIcon.qml</file>
         <file>qml/Component/RunStatusIcon.qml</file>
+        <file>qml/Component/Add.qml</file>
+        <file>qml/Component/FluDialog.qml</file>
+        <file>qml/Component/FComboBox.qml</file>
+        <file>qml/Component/FItemDelegate.qml</file>
     </qresource>
     </qresource>
 </RCC>
 </RCC>

+ 134 - 0
module/gui/qml/Component/Add.qml

@@ -0,0 +1,134 @@
+import QtQuick
+import QtQuick.Layouts
+import QtQuick.Window
+import QtQuick.Controls
+import FluentUI
+import "../Global"
+
+FluContentDialog{
+    id:dialog
+    title:"Add new config"
+
+    contentItem: Rectangle {
+        id:layout_content
+        implicitWidth:minWidth
+        implicitHeight: text_title.height + contextC.height + layout_actions.height
+        color:FluTheme.dark ? Qt.rgba(45/255,45/255,45/255,1) : Qt.rgba(249/255,249/255,249/255,1)
+        radius:5
+        FluShadow{
+            radius: 5
+        }
+        FluText{
+            id:text_title
+            font: FluTextStyle.Subtitle
+            text:title
+            topPadding: 20
+            leftPadding: 20
+            rightPadding: 20
+            wrapMode: Text.WrapAnywhere
+            horizontalAlignment: Text.AlignHCenter
+            anchors{
+                top:parent.top
+                left: parent.left
+                right: parent.right
+            }
+        }
+        Column{
+            id: contextC
+            anchors{
+                horizontalCenter: parent.horizontalCenter
+                top: text_title.bottom
+            }
+            spacing: 10
+            FluText{
+                text: 'New name'
+                leftPadding: 6
+                font: FluTextStyle.Caption
+            }
+            FluTextBox{
+                id: newNameBox
+                placeholderText:"推荐:oas+number"
+            }
+            FluText{
+                text: 'Copy from existing config'
+                leftPadding: 6
+                font: FluTextStyle.Caption
+            }
+            FComboBox{
+                id: copyConfig
+                width: newNameBox.width
+                model: ["Option 1", "Option 2", "Option 3"]
+            }
+        }
+        Rectangle{
+            id:layout_actions
+            height: 68
+            radius: 5
+            color: FluTheme.dark ? Qt.rgba(32/255,32/255,32/255,1) : Qt.rgba(243/255,243/255,243/255,1)
+            anchors{
+                top:contextC.bottom
+                topMargin: 12
+                left: parent.left
+                right: parent.right
+            }
+            RowLayout{
+                anchors
+                {
+                    centerIn: parent
+                    margins: spacing
+                    fill: parent
+                }
+                spacing: 15
+                FluButton{
+                    id:neutral_btn
+                    Layout.fillWidth: true
+                    Layout.fillHeight: true
+                    visible: dialog.buttonFlags&FluContentDialog.NeutralButton
+                    text: neutralText
+                    onClicked: {
+                        dialog.close()
+                        neutralClicked()
+                    }
+                }
+                FluButton{
+                    id:negative_btn
+                    Layout.fillWidth: true
+                    Layout.fillHeight: true
+                    visible: dialog.buttonFlags&FluContentDialog.NegativeButton
+                    text: negativeText
+                    onClicked: {
+                        dialog.close()
+                        negativeClicked()
+                    }
+                }
+                FluFilledButton{
+                    id:positive_btn
+                    Layout.fillWidth: true
+                    Layout.fillHeight: true
+                    visible: dialog.buttonFlags&FluContentDialog.PositiveButton
+                    text: positiveText
+                    onClicked: {
+                        dialog.close()
+                        positiveClicked()
+                    }
+                }
+            }
+        }
+    }
+
+    negativeText:"取消"
+    buttonFlags: FluContentDialog.NegativeButton | FluContentDialog.PositiveButton
+    onNegativeClicked:{
+        showSuccess("取消创建")
+    }
+    positiveText:"确定"
+    onPositiveClicked:{
+        showSuccess("已创建")
+        add_config.copy(newNameBox.text, copyConfig.currentText)
+    }
+
+    onOpened: {
+        newNameBox.text = add_config.generate_script_name()
+        copyConfig.model = add_config.all_json_file()
+    }
+}

+ 128 - 0
module/gui/qml/Component/FComboBox.qml

@@ -0,0 +1,128 @@
+import QtQuick
+import QtQuick.Controls
+import QtQuick.Controls.Basic
+import FluentUI
+import QtQuick.Templates as T
+
+ComboBox {
+    id: control
+    property bool disabled: false
+    property color normalColor: FluTheme.dark ? Qt.rgba(62/255,62/255,62/255,1) : Qt.rgba(254/255,254/255,254/255,1)
+    property color hoverColor: FluTheme.dark ? Qt.rgba(68/255,68/255,68/255,1) : Qt.rgba(251/255,251/255,251/255,1)
+    property color disableColor: FluTheme.dark ? Qt.rgba(59/255,59/255,59/255,1) : Qt.rgba(252/255,252/255,252/255,1)
+    implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
+                            implicitContentWidth + leftPadding + rightPadding)
+    implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
+                             implicitContentHeight + topPadding + bottomPadding,
+                             implicitIndicatorHeight + topPadding + bottomPadding)
+
+    leftPadding: padding + (!control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing)
+    rightPadding: padding + (control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing)
+    enabled: !disabled
+    delegate: FItemDelegate{
+        width: ListView.view.width
+        text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] : model[control.textRole]) : modelData
+        palette.text: control.palette.text
+        palette.highlightedText: control.palette.highlightedText
+        font.weight: control.currentIndex === index ? Font.DemiBold : Font.Normal
+        highlighted: control.highlightedIndex === index
+        hoverEnabled: control.hoverEnabled
+    }
+
+    indicator: FluIcon {
+        x: control.mirrored ? control.padding : control.width - width - control.padding
+        y: control.topPadding + (control.availableHeight - height) / 2
+        width: 28
+        iconSource:FluentIcons.ChevronDown
+        iconSize: 15
+        opacity: enabled ? 1 : 0.3
+    }
+
+    contentItem: T.TextField {
+        property bool disabled: !control.editable
+        leftPadding: !control.mirrored ? 12 : control.editable && activeFocus ? 3 : 1
+        rightPadding: control.mirrored ? 12 : control.editable && activeFocus ? 3 : 1
+        topPadding: 6 - control.padding
+        bottomPadding: 6 - control.padding
+        renderType: FluTheme.nativeText ? Text.NativeRendering : Text.QtRendering
+        selectionColor: FluTheme.primaryColor.lightest
+        text: control.editable ? control.editText : control.displayText
+        enabled: control.editable
+        autoScroll: control.editable
+        font:FluTextStyle.Body
+        readOnly: control.down
+        color: FluTheme.dark ?  Qt.rgba(255/255,255/255,255/255,1) : Qt.rgba(27/255,27/255,27/255,1)
+        inputMethodHints: control.inputMethodHints
+        validator: control.validator
+        selectByMouse: true
+        verticalAlignment: Text.AlignVCenter
+        leftInset:1
+        topInset:1
+        bottomInset:1
+        rightInset:1
+        background: FluTextBoxBackground{
+            border.width: 0
+            inputItem: contentItem
+        }
+    }
+
+    background: Rectangle {
+        implicitWidth: 140
+        implicitHeight: 28
+        border.color: FluTheme.dark ? "#505050" : "#DFDFDF"
+        border.width: 1
+        visible: !control.flat || control.down
+        radius: 4
+        FluFocusRectangle{
+            visible: control.visualFocus
+            radius:8
+        }
+        color:{
+            if(disabled){
+                return disableColor
+            }
+            return hovered ? hoverColor :normalColor
+        }
+    }
+
+    popup: T.Popup {
+        y: control.height
+        width: control.width
+        height: Math.min(contentItem.implicitHeight, control.Window.height - topMargin - bottomMargin)
+        topMargin: 6
+        bottomMargin: 6
+        contentItem: ListView {
+            clip: true
+            implicitHeight: contentHeight
+            model: control.delegateModel
+            currentIndex: control.highlightedIndex
+            highlightMoveDuration: 0
+            T.ScrollIndicator.vertical: ScrollIndicator { }
+        }
+        enter: Transition {
+            NumberAnimation {
+                property: "opacity"
+                from:0
+                to:1
+                duration: 83
+            }
+        }
+        exit:Transition {
+            NumberAnimation {
+                property: "opacity"
+                from:1
+                to:0
+                duration: 83
+            }
+        }
+        background:Rectangle{
+            color:FluTheme.dark ? Qt.rgba(45/255,45/255,45/255,1) : Qt.rgba(249/255,249/255,249/255,1)
+            border.color: FluTheme.dark ? Window.active ? Qt.rgba(55/255,55/255,55/255,1):Qt.rgba(45/255,45/255,45/255,1) : Qt.rgba(226/255,229/255,234/255,1)
+            border.width: 1
+            radius: 5
+            FluShadow{
+                radius: 5
+            }
+        }
+    }
+}

+ 39 - 0
module/gui/qml/Component/FItemDelegate.qml

@@ -0,0 +1,39 @@
+import QtQuick
+import QtQuick.Controls.Basic
+import QtQuick.Templates as T
+import FluentUI
+
+T.ItemDelegate {
+    id: control
+
+    implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
+                            implicitContentWidth + leftPadding + rightPadding)
+    implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
+                             implicitContentHeight + topPadding + bottomPadding,
+                             implicitIndicatorHeight + topPadding + bottomPadding)
+
+    padding: 12
+    spacing: 8
+
+    icon.width: 24
+    icon.height: 24
+    icon.color: control.palette.text
+
+    contentItem: FluText {
+        text: control.text
+        font: control.font
+    }
+
+    background: Rectangle {
+        implicitWidth: 100
+        implicitHeight: 40
+        color:{
+            if(FluTheme.dark){
+                return Qt.rgba(1,1,1,0.05)
+            }else{
+                return Qt.rgba(0,0,0,0.05)
+            }
+        }
+        visible: control.down || control.highlighted || control.visualFocus
+    }
+}

+ 5 - 0
module/gui/qml/Component/FluDialog.qml

@@ -0,0 +1,5 @@
+import QtQuick 2.0
+
+Item {
+
+}

+ 2 - 1
module/gui/qml/Global/ItemsOriginal.qml

@@ -2,6 +2,7 @@ pragma Singleton
 
 
 import QtQuick
 import QtQuick
 import FluentUI
 import FluentUI
+import "../Global/"
 
 
 FluObject{
 FluObject{
     id: itemsOriginal
     id: itemsOriginal
@@ -18,7 +19,7 @@ FluObject{
         title: "add"
         title: "add"
         icon: FluentIcons.Add
         icon: FluentIcons.Add
         onTap:{
         onTap:{
-            navigationView.push(Qt.resolvedUrl("../../qml/Page/O_Add.qml"))
+            MainEvent.addOpen = !MainEvent.addOpen
         }
         }
     }
     }
 
 

+ 1 - 0
module/gui/qml/Global/MainEvent.qml

@@ -15,4 +15,5 @@ QtObject {
     property int displayMode : FluNavigationView.Compact
     property int displayMode : FluNavigationView.Compact
     property int runStatus: MainEvent.RunStatus.Empty
     property int runStatus: MainEvent.RunStatus.Empty
     property string menuTitle: "主页"
     property string menuTitle: "主页"
+    property bool addOpen: false
 }
 }

+ 8 - 0
module/gui/qml/MainWindow.qml

@@ -57,6 +57,14 @@ FluWindow {
             }
             }
     }
     }
 
 
+    //添加一份脚本实例的dialog
+    Add{
+        id: add
+        property bool add_open: MainEvent.addOpen
+        onAdd_openChanged: {
+            add.open()
+        }
+    }
 
 
     FluNavigationView{
     FluNavigationView{
         id:nav_view
         id:nav_view