* add themes

This commit is contained in:
royqh1979@gmail.com 2021-06-18 21:48:40 +08:00
parent cd6f3163cf
commit bfe1b05394
648 changed files with 6144 additions and 63 deletions

View File

@ -40,6 +40,7 @@ SOURCES += \
settingsdialog/editorcolorschemewidget.cpp \ settingsdialog/editorcolorschemewidget.cpp \
settingsdialog/editorfontwidget.cpp \ settingsdialog/editorfontwidget.cpp \
settingsdialog/editorgeneralwidget.cpp \ settingsdialog/editorgeneralwidget.cpp \
settingsdialog/environmentappearencewidget.cpp \
settingsdialog/settingsdialog.cpp \ settingsdialog/settingsdialog.cpp \
settingsdialog/settingswidget.cpp \ settingsdialog/settingswidget.cpp \
systemconsts.cpp \ systemconsts.cpp \
@ -79,6 +80,7 @@ HEADERS += \
settingsdialog/editorcolorschemewidget.h \ settingsdialog/editorcolorschemewidget.h \
settingsdialog/editorfontwidget.h \ settingsdialog/editorfontwidget.h \
settingsdialog/editorgeneralwidget.h \ settingsdialog/editorgeneralwidget.h \
settingsdialog/environmentappearencewidget.h \
settingsdialog/settingsdialog.h \ settingsdialog/settingsdialog.h \
settingsdialog/settingswidget.h \ settingsdialog/settingswidget.h \
systemconsts.h \ systemconsts.h \
@ -95,6 +97,7 @@ FORMS += \
settingsdialog/editorcolorschemewidget.ui \ settingsdialog/editorcolorschemewidget.ui \
settingsdialog/editorfontwidget.ui \ settingsdialog/editorfontwidget.ui \
settingsdialog/editorgeneralwidget.ui \ settingsdialog/editorgeneralwidget.ui \
settingsdialog/environmentappearencewidget.ui \
settingsdialog/settingsdialog.ui settingsdialog/settingsdialog.ui
TRANSLATIONS += \ TRANSLATIONS += \
@ -106,6 +109,9 @@ else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target !isEmpty(target.path): INSTALLS += target
RESOURCES += \ RESOURCES += \
themes/dark/dark.qrc \
themes/light/light.qrc \
themes/dracula/dracula.qrc \
icons.qrc icons.qrc
#win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../../QScintilla/src/release/ -lqscintilla2_qt5d #win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../../QScintilla/src/release/ -lqscintilla2_qt5d

View File

@ -119,7 +119,7 @@
<message> <message>
<location filename="settingsdialog/compilersetoptionwidget.ui" line="105"/> <location filename="settingsdialog/compilersetoptionwidget.ui" line="105"/>
<source>General</source> <source>General</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settingsdialog/compilersetoptionwidget.ui" line="111"/> <location filename="settingsdialog/compilersetoptionwidget.ui" line="111"/>
@ -154,7 +154,7 @@
<message> <message>
<location filename="settingsdialog/compilersetoptionwidget.ui" line="206"/> <location filename="settingsdialog/compilersetoptionwidget.ui" line="206"/>
<source>TextLabel</source> <source>TextLabel</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settingsdialog/compilersetoptionwidget.ui" line="222"/> <location filename="settingsdialog/compilersetoptionwidget.ui" line="222"/>
@ -254,22 +254,241 @@ Are you really want to continue?</source>
<context> <context>
<name>Editor</name> <name>Editor</name>
<message> <message>
<location filename="editor.cpp" line="49"/>
<source>untitled</source> <source>untitled</source>
<translation></translation> <translation type="vanished"></translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="148"/> <location filename="editor.cpp" line="54"/>
<location filename="editor.cpp" line="157"/> <source>untitled%1</source>
<location filename="editor.cpp" line="183"/> <translation type="unfinished"></translation>
</message>
<message>
<location filename="editor.cpp" line="122"/>
<location filename="editor.cpp" line="133"/>
<location filename="editor.cpp" line="160"/>
<location filename="editor.cpp" line="246"/>
<location filename="editor.cpp" line="251"/>
<location filename="editor.cpp" line="269"/>
<location filename="editor.cpp" line="274"/>
<source>Fail</source> <source>Fail</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="172"/> <location filename="editor.cpp" line="148"/>
<source>Save As</source> <source>Save As</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="editor.cpp" line="247"/>
<source>The text to be copied exceeds count limit!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="editor.cpp" line="252"/>
<source>The text to be copied exceeds character limit!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="editor.cpp" line="270"/>
<source>The text to be cut exceeds count limit!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="editor.cpp" line="275"/>
<source>The text to be cut exceeds character limit!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EditorClipboardWidget</name>
<message>
<location filename="settingsdialog/editorclipboardwidget.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorclipboardwidget.ui" line="20"/>
<source>Copy Size Limit</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorclipboardwidget.ui" line="29"/>
<source>Don&apos;t copy text larger than</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorclipboardwidget.ui" line="51"/>
<source>Lines</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorclipboardwidget.ui" line="58"/>
<source>Size(kilo characters):</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorclipboardwidget.ui" line="107"/>
<source>Copy with format as</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorclipboardwidget.ui" line="137"/>
<source>Copy &amp;&amp; Export As HTML</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorclipboardwidget.ui" line="146"/>
<location filename="settingsdialog/editorclipboardwidget.ui" line="213"/>
<source>Use background color</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorclipboardwidget.ui" line="153"/>
<location filename="settingsdialog/editorclipboardwidget.ui" line="220"/>
<source>Use editor&apos;s color schema</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorclipboardwidget.ui" line="175"/>
<location filename="settingsdialog/editorclipboardwidget.ui" line="242"/>
<source>Color schema</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorclipboardwidget.ui" line="204"/>
<source>Export As RTF</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EditorColorSchemeWidget</name>
<message>
<location filename="settingsdialog/editorcolorschemewidget.ui" line="20"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorcolorschemewidget.ui" line="29"/>
<source>Scheme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorcolorschemewidget.ui" line="39"/>
<source>...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorcolorschemewidget.ui" line="111"/>
<location filename="settingsdialog/editorcolorschemewidget.ui" line="168"/>
<source>TextLabel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorcolorschemewidget.ui" line="118"/>
<source>Foreground:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorcolorschemewidget.ui" line="138"/>
<source>Font Styles</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorcolorschemewidget.ui" line="144"/>
<source>Bold</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorcolorschemewidget.ui" line="151"/>
<source>Italic</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorcolorschemewidget.ui" line="158"/>
<source>Underlined</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorcolorschemewidget.ui" line="175"/>
<source>Background:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EditorFontWidget</name>
<message>
<location filename="settingsdialog/editorfontwidget.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorfontwidget.ui" line="29"/>
<location filename="settingsdialog/editorfontwidget.ui" line="310"/>
<source>Size:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorfontwidget.ui" line="74"/>
<location filename="settingsdialog/editorfontwidget.ui" line="303"/>
<source>Font:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorfontwidget.ui" line="109"/>
<location filename="settingsdialog/editorfontwidget.ui" line="398"/>
<source>Show only monospaced fonts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorfontwidget.ui" line="135"/>
<source>Gutter</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorfontwidget.ui" line="141"/>
<source>Gutter is visible</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorfontwidget.ui" line="163"/>
<source>Left Offset</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorfontwidget.ui" line="180"/>
<source>Right Offset</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorfontwidget.ui" line="213"/>
<source>Show Line Numbers</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorfontwidget.ui" line="222"/>
<source>Add leading zeros to line numbers</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorfontwidget.ui" line="229"/>
<source>Line numbers starts at zero</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorfontwidget.ui" line="236"/>
<source>Auto calculate the digit count of line number</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorfontwidget.ui" line="258"/>
<source>Digit count</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorfontwidget.ui" line="294"/>
<source>Use Custom Font</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>EditorGeneralWidget</name> <name>EditorGeneralWidget</name>
@ -294,6 +513,29 @@ Are you really want to continue?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>EnvironmentAppearenceWidget</name>
<message>
<location filename="settingsdialog/environmentappearencewidget.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/environmentappearencewidget.ui" line="54"/>
<source>Theme:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/environmentappearencewidget.ui" line="61"/>
<source>Font:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/environmentappearencewidget.ui" line="68"/>
<source>Font Size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>FileCompiler</name> <name>FileCompiler</name>
<message> <message>
@ -573,25 +815,82 @@ Are you really want to continue?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="550"/> <location filename="mainwindow.ui" line="553"/>
<source>Collapse All</source> <source>Collapse All</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="555"/> <location filename="mainwindow.ui" line="558"/>
<source>Uncollapse All</source> <source>Uncollapse All</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="70"/> <location filename="mainwindow.ui" line="563"/>
<source>Line: %1 Col: %2 Lines: %3 Chars: %4</source> <source>Encode in ANSI</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="140"/> <location filename="mainwindow.ui" line="568"/>
<source>Encode in UTF-8</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.ui" line="573"/>
<source>Auto Detect</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.ui" line="578"/>
<source>Convert to ANSI</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.ui" line="583"/>
<source>Convert to UTF-8</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="60"/>
<source>File Encoding</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="171"/>
<source>Line:%1 Col:%2 Selected:%3 Lines:%4 Length:%5</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="189"/>
<source>Read Only</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="191"/>
<source>Insert</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="193"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="261"/>
<source>Open</source> <source>Open</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="mainwindow.cpp" line="467"/>
<location filename="mainwindow.cpp" line="481"/>
<source>Confirm Convertion</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="468"/>
<location filename="mainwindow.cpp" line="482"/>
<source>The editing file will be saved using %1 encoding. &lt;br /&gt;This operation can&apos;t be reverted. &lt;br /&gt;Are you sure to continue?</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>QObject</name> <name>QObject</name>
@ -610,7 +909,7 @@ Are you really want to continue?</source>
<translation type="vanished">&quot;%s&quot;</translation> <translation type="vanished">&quot;%s&quot;</translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="149"/> <location filename="editor.cpp" line="123"/>
<source>File %s is not writable!</source> <source>File %s is not writable!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -640,28 +939,28 @@ Are you really want to continue?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main.cpp" line="32"/> <location filename="main.cpp" line="33"/>
<location filename="main.cpp" line="39"/> <location filename="main.cpp" line="40"/>
<source>Error</source> <source>Error</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main.cpp" line="33"/> <location filename="main.cpp" line="34"/>
<source>Can&apos;t create configuration folder %1</source> <source>Can&apos;t create configuration folder %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="main.cpp" line="40"/> <location filename="main.cpp" line="41"/>
<source>Can&apos;t write to configuration file %1</source> <source>Can&apos;t write to configuration file %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="889"/> <location filename="settings.cpp" line="1307"/>
<source>C options</source> <source>C options</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="895"/> <location filename="settings.cpp" line="1313"/>
<source>Code Generation</source> <source>Code Generation</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -701,155 +1000,180 @@ Are you really want to continue?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="utils.cpp" line="323"/> <location filename="utils.cpp" line="324"/>
<source>Index %1 out of range</source> <source>Index %1 out of range</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="colorscheme.cpp" line="64"/>
<source>Can&apos;t open file &apos;%1&apos; for read</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="colorscheme.cpp" line="70"/>
<source>Can&apos;t parse json file &apos;%1&apos; at offset %2! Error Code: %3</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="colorscheme.cpp" line="74"/>
<source>Can&apos;t parse json file &apos;%1&apos; is not a color schema config file!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="colorscheme.cpp" line="85"/>
<source>Can&apos;t open file &apos;%1&apos; for write</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qsynedit/exporter/synexporter.cpp" line="177"/>
<source>Untitled</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>Settings::CompilerSet</name> <name>Settings::CompilerSet</name>
<message> <message>
<location filename="settings.cpp" line="890"/> <location filename="settings.cpp" line="1308"/>
<source>Support all ANSI standard C programs (-ansi)</source> <source>Support all ANSI standard C programs (-ansi)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="891"/> <location filename="settings.cpp" line="1309"/>
<source>Do not recognize asm,inline or typeof as a keyword (-fno-asm)</source> <source>Do not recognize asm,inline or typeof as a keyword (-fno-asm)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="892"/> <location filename="settings.cpp" line="1310"/>
<source>Imitate traditional C preprocessors (-traditional-cpp)</source> <source>Imitate traditional C preprocessors (-traditional-cpp)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="924"/> <location filename="settings.cpp" line="1342"/>
<source>Optimize for the following machine (-march)</source> <source>Optimize for the following machine (-march)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="925"/> <location filename="settings.cpp" line="1343"/>
<source>Optimize less, while maintaining full compatibility (-tune)</source> <source>Optimize less, while maintaining full compatibility (-tune)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="945"/> <location filename="settings.cpp" line="1363"/>
<source>Enable use of specific instructions (-mx)</source> <source>Enable use of specific instructions (-mx)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="956"/> <location filename="settings.cpp" line="1374"/>
<source>Optimization level (-Ox)</source> <source>Optimization level (-Ox)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="963"/> <location filename="settings.cpp" line="1381"/>
<source>Compile with the following pointer size (-mx)</source> <source>Compile with the following pointer size (-mx)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="986"/> <location filename="settings.cpp" line="1404"/>
<source>Language standard (-std)</source> <source>Language standard (-std)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="987"/> <location filename="settings.cpp" line="1405"/>
<source>Generate debugging information (-g3)</source> <source>Generate debugging information (-g3)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="988"/> <location filename="settings.cpp" line="1406"/>
<source>Generate profiling info for analysis (-pg)</source> <source>Generate profiling info for analysis (-pg)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="991"/> <location filename="settings.cpp" line="1409"/>
<source>Warnings</source> <source>Warnings</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="992"/> <location filename="settings.cpp" line="1410"/>
<source>Inhibit all warning messages (-w)</source> <source>Inhibit all warning messages (-w)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="993"/> <location filename="settings.cpp" line="1411"/>
<source>Show most warnings (-Wall)</source> <source>Show most warnings (-Wall)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="994"/> <location filename="settings.cpp" line="1412"/>
<source>Show some more warnings (-Wextra)</source> <source>Show some more warnings (-Wextra)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="995"/> <location filename="settings.cpp" line="1413"/>
<source>Check ISO C/C++/C++0x conformance (-pedantic)</source> <source>Check ISO C/C++/C++0x conformance (-pedantic)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="996"/> <location filename="settings.cpp" line="1414"/>
<source>Only check the code for syntax errors (-fsyntax-only)</source> <source>Only check the code for syntax errors (-fsyntax-only)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="997"/> <location filename="settings.cpp" line="1415"/>
<source>Make all warnings into errors (-Werror)</source> <source>Make all warnings into errors (-Werror)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="998"/> <location filename="settings.cpp" line="1416"/>
<source>Abort compilation on first error (-Wfatal-errors)</source> <source>Abort compilation on first error (-Wfatal-errors)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="1001"/> <location filename="settings.cpp" line="1419"/>
<source>Linker</source> <source>Linker</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="1002"/> <location filename="settings.cpp" line="1420"/>
<source>Link an Objective C program (-lobjc)</source> <source>Link an Objective C program (-lobjc)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="1003"/> <location filename="settings.cpp" line="1421"/>
<source>Do not use standard system libraries (-nostdlib)</source> <source>Do not use standard system libraries (-nostdlib)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="1004"/> <location filename="settings.cpp" line="1422"/>
<source>Do not create a console window (-mwindows)</source> <source>Do not create a console window (-mwindows)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="1005"/> <location filename="settings.cpp" line="1423"/>
<source>Strip executable (-s)</source> <source>Strip executable (-s)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="1006"/> <location filename="settings.cpp" line="1424"/>
<source>Link libraries statically (-static)</source> <source>Link libraries statically (-static)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="1009"/> <location filename="settings.cpp" line="1427"/>
<source>Output</source> <source>Output</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="1010"/> <location filename="settings.cpp" line="1428"/>
<source>-fverbose-asm</source> <source>-fverbose-asm</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="1011"/> <location filename="settings.cpp" line="1429"/>
<source>Use pipes instead of temporary files during compilation (-pipe)</source> <source>Use pipes instead of temporary files during compilation (-pipe)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="settings.cpp" line="1012"/> <location filename="settings.cpp" line="1430"/>
<source>Do not assemble, compile and generate the assemble code (-S)</source> <source>Do not assemble, compile and generate the assemble code (-S)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -882,32 +1206,60 @@ Are you really want to continue?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settingsdialog/settingsdialog.cpp" line="21"/> <location filename="settingsdialog/settingsdialog.cpp" line="26"/>
<source>Appearence</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/settingsdialog.cpp" line="26"/>
<source>Environment</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/settingsdialog.cpp" line="30"/>
<source>Compiler Set</source> <source>Compiler Set</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settingsdialog/settingsdialog.cpp" line="21"/> <location filename="settingsdialog/settingsdialog.cpp" line="30"/>
<source>Compiler</source> <source>Compiler</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settingsdialog/settingsdialog.cpp" line="25"/> <location filename="settingsdialog/settingsdialog.cpp" line="34"/>
<source>General</source> <source>General</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settingsdialog/settingsdialog.cpp" line="25"/> <location filename="settingsdialog/settingsdialog.cpp" line="34"/>
<location filename="settingsdialog/settingsdialog.cpp" line="38"/>
<location filename="settingsdialog/settingsdialog.cpp" line="42"/>
<location filename="settingsdialog/settingsdialog.cpp" line="46"/>
<source>Editor</source> <source>Editor</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settingsdialog/settingsdialog.cpp" line="107"/> <location filename="settingsdialog/settingsdialog.cpp" line="38"/>
<source>Font</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/settingsdialog.cpp" line="42"/>
<source>Copy &amp; Export</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/settingsdialog.cpp" line="46"/>
<source>Color</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/settingsdialog.cpp" line="140"/>
<source>Save Changes</source> <source>Save Changes</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settingsdialog/settingsdialog.cpp" line="108"/> <location filename="settingsdialog/settingsdialog.cpp" line="141"/>
<source>There are changes in the settings, do you want to save them before swtich to other page?</source> <source>There are changes in the settings, do you want to save them before swtich to other page?</source>
<translation></translation> <translation></translation>
</message> </message>
@ -915,7 +1267,7 @@ Are you really want to continue?</source>
<context> <context>
<name>SynEdit</name> <name>SynEdit</name>
<message> <message>
<location filename="qsynedit/TextPainter.cpp" line="849"/> <location filename="qsynedit/TextPainter.cpp" line="848"/>
<source>The highlighter seems to be in an infinite loop</source> <source>The highlighter seems to be in an infinite loop</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -923,12 +1275,12 @@ Are you really want to continue?</source>
<context> <context>
<name>SynEditStringList</name> <name>SynEditStringList</name>
<message> <message>
<location filename="qsynedit/TextBuffer.cpp" line="457"/> <location filename="qsynedit/TextBuffer.cpp" line="458"/>
<source>Can&apos;t open file &apos;%1&apos; for read!</source> <source>Can&apos;t open file &apos;%1&apos; for read!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qsynedit/TextBuffer.cpp" line="546"/> <location filename="qsynedit/TextBuffer.cpp" line="547"/>
<source>Can&apos;t open file &apos;%1&apos; for save!</source> <source>Can&apos;t open file &apos;%1&apos; for save!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -996,17 +1348,47 @@ Are you really want to continue?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settingsdialog/editorgeneralwidget.ui" line="187"/> <location filename="settingsdialog/editorgeneralwidget.ui" line="181"/>
<source>Caret for inserting mode</source> <source>Caret for inserting mode</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settingsdialog/editorgeneralwidget.ui" line="194"/> <location filename="settingsdialog/editorgeneralwidget.ui" line="227"/>
<source>Scroll</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorgeneralwidget.ui" line="233"/>
<source>Auto hide scroll bars</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorgeneralwidget.ui" line="240"/>
<source>Can scroll the last char to the left edge of the editor</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorgeneralwidget.ui" line="247"/>
<source>Can scroll the last line to the top edge of the editor</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorgeneralwidget.ui" line="254"/>
<source>Page Up/Down scrolls half a page</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorgeneralwidget.ui" line="261"/>
<source>Forces page scroll to be one line less</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog/editorgeneralwidget.ui" line="171"/>
<source>Caret for overwriting mode</source> <source>Caret for overwriting mode</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="settingsdialog/editorgeneralwidget.ui" line="204"/> <location filename="settingsdialog/editorgeneralwidget.ui" line="201"/>
<source>Caret Color</source> <source>Caret Color</source>
<translation></translation> <translation></translation>
</message> </message>

View File

@ -8,6 +8,8 @@
#include "settings.h" #include "settings.h"
#include "qsynedit/Constants.h" #include "qsynedit/Constants.h"
ColorManager * pColorManager;
ColorScheme::ColorScheme() ColorScheme::ColorScheme()
{ {
@ -253,6 +255,7 @@ ColorManager::ColorManager()
{ {
mDefaultSchemeItemDefine = std::make_shared<ColorSchemeItemDefine>(); mDefaultSchemeItemDefine = std::make_shared<ColorSchemeItemDefine>();
initItemDefines(); initItemDefines();
init();
} }
void ColorManager::init() void ColorManager::init()

View File

@ -142,4 +142,6 @@ private:
PColorSchemeItemDefine mDefaultSchemeItemDefine; PColorSchemeItemDefine mDefaultSchemeItemDefine;
}; };
extern ColorManager * pColorManager;
#endif // COLORSCHEME_H #endif // COLORSCHEME_H

View File

@ -10,6 +10,7 @@
#include <QMessageBox> #include <QMessageBox>
#include <QStringList> #include <QStringList>
#include "common.h" #include "common.h"
#include "colorscheme.h"
Settings* createAppSettings(const QString& filepath = QString()) { Settings* createAppSettings(const QString& filepath = QString()) {
QString filename; QString filename;
@ -66,6 +67,11 @@ int main(int argc, char *argv[])
auto settings = std::unique_ptr<Settings>(pSettings); auto settings = std::unique_ptr<Settings>(pSettings);
settings->compilerSets().loadSets(); settings->compilerSets().loadSets();
settings->editor().load(); settings->editor().load();
settings->environment().load();
pColorManager = new ColorManager();
//settings->compilerSets().addSets("e:/workspace/contributes/Dev-CPP/MinGW32_GCC92"); //settings->compilerSets().addSets("e:/workspace/contributes/Dev-CPP/MinGW32_GCC92");
// settings->compilerSets().findSets(); // settings->compilerSets().findSets();

View File

@ -71,6 +71,8 @@ MainWindow::MainWindow(QWidget *parent)
ui->actionEncode_in_UTF_8->setCheckable(true); ui->actionEncode_in_UTF_8->setCheckable(true);
updateEditorActions(); updateEditorActions();
applySettings();
} }
MainWindow::~MainWindow() MainWindow::~MainWindow()
@ -154,6 +156,14 @@ void MainWindow::updateEditorActions()
} }
void MainWindow::applySettings()
{
changeTheme(pSettings->environment().theme());
QFont font(pSettings->environment().interfaceFont(),
pSettings->environment().interfaceFontSize());
dynamic_cast<QApplication*>(QApplication::instance())->setFont(font);
}
void MainWindow::updateStatusbarForLineCol() void MainWindow::updateStatusbarForLineCol()
{ {
Editor* e = mEditorList->getEditor(); Editor* e = mEditorList->getEditor();

View File

@ -28,6 +28,8 @@ public:
void updateEditorSettings(); void updateEditorSettings();
void updateEditorActions(); void updateEditorActions();
void applySettings();
protected: protected:
void openFiles(const QStringList& files); void openFiles(const QStringList& files);
void openFile(const QString& filename); void openFile(const QString& filename);

View File

@ -250,7 +250,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>946</width> <width>946</width>
<height>26</height> <height>25</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="menuFile"> <widget class="QMenu" name="menuFile">

View File

@ -17,6 +17,7 @@ Settings::Settings(const QString &filename):
mSettings(filename,QSettings::IniFormat), mSettings(filename,QSettings::IniFormat),
mDirs(this), mDirs(this),
mEditor(this), mEditor(this),
mEnvironment(this),
mCompilerSets(this) mCompilerSets(this)
{ {
} }
@ -78,6 +79,11 @@ Settings::CompilerSets &Settings::compilerSets()
return mCompilerSets; return mCompilerSets;
} }
Settings::Environment &Settings::environment()
{
return mEnvironment;
}
QString Settings::filename() const QString Settings::filename() const
{ {
return mFilename; return mFilename;
@ -1801,3 +1807,54 @@ Settings::PCompilerSet Settings::CompilerSets::loadSet(int index)
pSet->setDefines(); pSet->setDefines();
return pSet; return pSet;
} }
Settings::Environment::Environment(Settings *settings):_Base(settings, SETTING_ENVIRONMENT)
{
}
void Settings::Environment::doLoad()
{
//Appearence
mTheme = stringValue("theme","default");
mInterfaceFont = stringValue("interface font","Segoe UI");
mInterfaceFontSize = intValue("interface font size",9);
}
int Settings::Environment::interfaceFontSize() const
{
return mInterfaceFontSize;
}
void Settings::Environment::setInterfaceFontSize(int interfaceFontSize)
{
mInterfaceFontSize = interfaceFontSize;
}
void Settings::Environment::doSave()
{
//Appearence
saveValue("theme", mTheme);
saveValue("interface font", mInterfaceFont);
saveValue("interface font size", mInterfaceFontSize);
}
QString Settings::Environment::interfaceFont() const
{
return mInterfaceFont;
}
void Settings::Environment::setInterfaceFont(const QString &interfaceFont)
{
mInterfaceFont = interfaceFont;
}
QString Settings::Environment::theme() const
{
return mTheme;
}
void Settings::Environment::setTheme(const QString &theme)
{
mTheme = theme;
}

View File

@ -14,6 +14,7 @@
#define SETTING_DIRS "Dirs" #define SETTING_DIRS "Dirs"
#define SETTING_EDITOR "Editor" #define SETTING_EDITOR "Editor"
#define SETTING_ENVIRONMENT "Environment"
#define SETTING_COMPILTER_SETS "CompilerSets" #define SETTING_COMPILTER_SETS "CompilerSets"
#define SETTING_COMPILTER_SETS_DEFAULT_INDEX "defaultIndex" #define SETTING_COMPILTER_SETS_DEFAULT_INDEX "defaultIndex"
#define SETTING_COMPILTER_SETS_COUNT "count" #define SETTING_COMPILTER_SETS_COUNT "count"
@ -276,6 +277,30 @@ public:
void doLoad() override; void doLoad() override;
}; };
class Environment: public _Base {
public:
explicit Environment(Settings * settings);
QString theme() const;
void setTheme(const QString &theme);
QString interfaceFont() const;
void setInterfaceFont(const QString &interfaceFont);
int interfaceFontSize() const;
void setInterfaceFontSize(int interfaceFontSize);
private:
//Appearence
QString mTheme;
QString mInterfaceFont;
int mInterfaceFontSize;
// _Base interface
protected:
void doSave() override;
void doLoad() override;
};
class CompilerSet { class CompilerSet {
public: public:
explicit CompilerSet(const QString& compilerFolder = QString()); explicit CompilerSet(const QString& compilerFolder = QString());
@ -447,6 +472,7 @@ public:
Dirs& dirs(); Dirs& dirs();
Editor& editor(); Editor& editor();
CompilerSets& compilerSets(); CompilerSets& compilerSets();
Environment& environment();
QString filename() const; QString filename() const;
private: private:
@ -454,6 +480,7 @@ private:
QSettings mSettings; QSettings mSettings;
Dirs mDirs; Dirs mDirs;
Editor mEditor; Editor mEditor;
Environment mEnvironment;
CompilerSets mCompilerSets; CompilerSets mCompilerSets;
}; };

View File

@ -12,3 +12,13 @@ EditorColorSchemeWidget::~EditorColorSchemeWidget()
{ {
delete ui; delete ui;
} }
void EditorColorSchemeWidget::doLoad()
{
}
void EditorColorSchemeWidget::doSave()
{
}

View File

@ -6,8 +6,10 @@
#include "editorfontwidget.h" #include "editorfontwidget.h"
#include "editorclipboardwidget.h" #include "editorclipboardwidget.h"
#include "editorcolorschemewidget.h" #include "editorcolorschemewidget.h"
#include "environmentappearencewidget.h"
#include <QDebug> #include <QDebug>
#include <QMessageBox> #include <QMessageBox>
#include <QModelIndex>
SettingsDialog::SettingsDialog(QWidget *parent) : SettingsDialog::SettingsDialog(QWidget *parent) :
QDialog(parent), QDialog(parent),
@ -21,6 +23,10 @@ SettingsDialog::SettingsDialog(QWidget *parent) :
ui->btnApply->setEnabled(false); ui->btnApply->setEnabled(false);
pEnvironmentAppearenceWidget = new EnvironmentAppearenceWidget(tr("Appearence"),tr("Environment"));
pEnvironmentAppearenceWidget->init();
addWidget(pEnvironmentAppearenceWidget);
pCompilerSetOptionWidget = new CompilerSetOptionWidget(tr("Compiler Set"),tr("Compiler")); pCompilerSetOptionWidget = new CompilerSetOptionWidget(tr("Compiler Set"),tr("Compiler"));
pCompilerSetOptionWidget->init(); pCompilerSetOptionWidget->init();
addWidget(pCompilerSetOptionWidget); addWidget(pCompilerSetOptionWidget);
@ -40,6 +46,18 @@ SettingsDialog::SettingsDialog(QWidget *parent) :
pEditorColorSchemeWidget = new EditorColorSchemeWidget(tr("Color"),tr("Editor")); pEditorColorSchemeWidget = new EditorColorSchemeWidget(tr("Color"),tr("Editor"));
pEditorColorSchemeWidget->init(); pEditorColorSchemeWidget->init();
addWidget(pEditorColorSchemeWidget); addWidget(pEditorColorSchemeWidget);
ui->widgetsView->expandAll();
//select the first widget of the first group
auto groupIndex = ui->widgetsView->model()->index(0,0);
auto widgetIndex = ui->widgetsView->model()->index(0,0, groupIndex);
ui->widgetsView->selectionModel()->setCurrentIndex(
widgetIndex,
QItemSelectionModel::Select
);
on_widgetsView_clicked(widgetIndex);
} }
SettingsDialog::~SettingsDialog() SettingsDialog::~SettingsDialog()

View File

@ -16,6 +16,7 @@ class EditorFontWidget;
class EditorClipboardWidget; class EditorClipboardWidget;
class PCompilerSet; class PCompilerSet;
class EditorColorSchemeWidget; class EditorColorSchemeWidget;
class EnvironmentAppearenceWidget;
class SettingsWidget; class SettingsWidget;
class SettingsDialog : public QDialog class SettingsDialog : public QDialog
{ {
@ -50,6 +51,7 @@ private:
EditorFontWidget* pEditorFontWidget; EditorFontWidget* pEditorFontWidget;
EditorClipboardWidget *pEditorClipboardWidget; EditorClipboardWidget *pEditorClipboardWidget;
EditorColorSchemeWidget *pEditorColorSchemeWidget; EditorColorSchemeWidget *pEditorColorSchemeWidget;
EnvironmentAppearenceWidget* pEnvironmentAppearenceWidget;
}; };
#endif // SETTINGSDIALOG_H #endif // SETTINGSDIALOG_H

View File

@ -0,0 +1,216 @@
<RCC warning="WARNING! File created programmatically. All changes made in this file will be lost!">
<qresource prefix="/qss_icons/dark">
<file>rc/.keep</file>
<file>rc/arrow_down.png</file>
<file>rc/arrow_down@2x.png</file>
<file>rc/arrow_down_disabled.png</file>
<file>rc/arrow_down_disabled@2x.png</file>
<file>rc/arrow_down_focus.png</file>
<file>rc/arrow_down_focus@2x.png</file>
<file>rc/arrow_down_pressed.png</file>
<file>rc/arrow_down_pressed@2x.png</file>
<file>rc/arrow_left.png</file>
<file>rc/arrow_left@2x.png</file>
<file>rc/arrow_left_disabled.png</file>
<file>rc/arrow_left_disabled@2x.png</file>
<file>rc/arrow_left_focus.png</file>
<file>rc/arrow_left_focus@2x.png</file>
<file>rc/arrow_left_pressed.png</file>
<file>rc/arrow_left_pressed@2x.png</file>
<file>rc/arrow_right.png</file>
<file>rc/arrow_right@2x.png</file>
<file>rc/arrow_right_disabled.png</file>
<file>rc/arrow_right_disabled@2x.png</file>
<file>rc/arrow_right_focus.png</file>
<file>rc/arrow_right_focus@2x.png</file>
<file>rc/arrow_right_pressed.png</file>
<file>rc/arrow_right_pressed@2x.png</file>
<file>rc/arrow_up.png</file>
<file>rc/arrow_up@2x.png</file>
<file>rc/arrow_up_disabled.png</file>
<file>rc/arrow_up_disabled@2x.png</file>
<file>rc/arrow_up_focus.png</file>
<file>rc/arrow_up_focus@2x.png</file>
<file>rc/arrow_up_pressed.png</file>
<file>rc/arrow_up_pressed@2x.png</file>
<file>rc/base_icon.png</file>
<file>rc/base_icon@2x.png</file>
<file>rc/base_icon_disabled.png</file>
<file>rc/base_icon_disabled@2x.png</file>
<file>rc/base_icon_focus.png</file>
<file>rc/base_icon_focus@2x.png</file>
<file>rc/base_icon_pressed.png</file>
<file>rc/base_icon_pressed@2x.png</file>
<file>rc/branch_closed.png</file>
<file>rc/branch_closed@2x.png</file>
<file>rc/branch_closed_disabled.png</file>
<file>rc/branch_closed_disabled@2x.png</file>
<file>rc/branch_closed_focus.png</file>
<file>rc/branch_closed_focus@2x.png</file>
<file>rc/branch_closed_pressed.png</file>
<file>rc/branch_closed_pressed@2x.png</file>
<file>rc/branch_end.png</file>
<file>rc/branch_end@2x.png</file>
<file>rc/branch_end_disabled.png</file>
<file>rc/branch_end_disabled@2x.png</file>
<file>rc/branch_end_focus.png</file>
<file>rc/branch_end_focus@2x.png</file>
<file>rc/branch_end_pressed.png</file>
<file>rc/branch_end_pressed@2x.png</file>
<file>rc/branch_line.png</file>
<file>rc/branch_line@2x.png</file>
<file>rc/branch_line_disabled.png</file>
<file>rc/branch_line_disabled@2x.png</file>
<file>rc/branch_line_focus.png</file>
<file>rc/branch_line_focus@2x.png</file>
<file>rc/branch_line_pressed.png</file>
<file>rc/branch_line_pressed@2x.png</file>
<file>rc/branch_more.png</file>
<file>rc/branch_more@2x.png</file>
<file>rc/branch_more_disabled.png</file>
<file>rc/branch_more_disabled@2x.png</file>
<file>rc/branch_more_focus.png</file>
<file>rc/branch_more_focus@2x.png</file>
<file>rc/branch_more_pressed.png</file>
<file>rc/branch_more_pressed@2x.png</file>
<file>rc/branch_open.png</file>
<file>rc/branch_open@2x.png</file>
<file>rc/branch_open_disabled.png</file>
<file>rc/branch_open_disabled@2x.png</file>
<file>rc/branch_open_focus.png</file>
<file>rc/branch_open_focus@2x.png</file>
<file>rc/branch_open_pressed.png</file>
<file>rc/branch_open_pressed@2x.png</file>
<file>rc/checkbox_checked.png</file>
<file>rc/checkbox_checked@2x.png</file>
<file>rc/checkbox_checked_disabled.png</file>
<file>rc/checkbox_checked_disabled@2x.png</file>
<file>rc/checkbox_checked_focus.png</file>
<file>rc/checkbox_checked_focus@2x.png</file>
<file>rc/checkbox_checked_pressed.png</file>
<file>rc/checkbox_checked_pressed@2x.png</file>
<file>rc/checkbox_indeterminate.png</file>
<file>rc/checkbox_indeterminate@2x.png</file>
<file>rc/checkbox_indeterminate_disabled.png</file>
<file>rc/checkbox_indeterminate_disabled@2x.png</file>
<file>rc/checkbox_indeterminate_focus.png</file>
<file>rc/checkbox_indeterminate_focus@2x.png</file>
<file>rc/checkbox_indeterminate_pressed.png</file>
<file>rc/checkbox_indeterminate_pressed@2x.png</file>
<file>rc/checkbox_unchecked.png</file>
<file>rc/checkbox_unchecked@2x.png</file>
<file>rc/checkbox_unchecked_disabled.png</file>
<file>rc/checkbox_unchecked_disabled@2x.png</file>
<file>rc/checkbox_unchecked_focus.png</file>
<file>rc/checkbox_unchecked_focus@2x.png</file>
<file>rc/checkbox_unchecked_pressed.png</file>
<file>rc/checkbox_unchecked_pressed@2x.png</file>
<file>rc/line_horizontal.png</file>
<file>rc/line_horizontal@2x.png</file>
<file>rc/line_horizontal_disabled.png</file>
<file>rc/line_horizontal_disabled@2x.png</file>
<file>rc/line_horizontal_focus.png</file>
<file>rc/line_horizontal_focus@2x.png</file>
<file>rc/line_horizontal_pressed.png</file>
<file>rc/line_horizontal_pressed@2x.png</file>
<file>rc/line_vertical.png</file>
<file>rc/line_vertical@2x.png</file>
<file>rc/line_vertical_disabled.png</file>
<file>rc/line_vertical_disabled@2x.png</file>
<file>rc/line_vertical_focus.png</file>
<file>rc/line_vertical_focus@2x.png</file>
<file>rc/line_vertical_pressed.png</file>
<file>rc/line_vertical_pressed@2x.png</file>
<file>rc/radio_checked.png</file>
<file>rc/radio_checked@2x.png</file>
<file>rc/radio_checked_disabled.png</file>
<file>rc/radio_checked_disabled@2x.png</file>
<file>rc/radio_checked_focus.png</file>
<file>rc/radio_checked_focus@2x.png</file>
<file>rc/radio_checked_pressed.png</file>
<file>rc/radio_checked_pressed@2x.png</file>
<file>rc/radio_unchecked.png</file>
<file>rc/radio_unchecked@2x.png</file>
<file>rc/radio_unchecked_disabled.png</file>
<file>rc/radio_unchecked_disabled@2x.png</file>
<file>rc/radio_unchecked_focus.png</file>
<file>rc/radio_unchecked_focus@2x.png</file>
<file>rc/radio_unchecked_pressed.png</file>
<file>rc/radio_unchecked_pressed@2x.png</file>
<file>rc/toolbar_move_horizontal.png</file>
<file>rc/toolbar_move_horizontal@2x.png</file>
<file>rc/toolbar_move_horizontal_disabled.png</file>
<file>rc/toolbar_move_horizontal_disabled@2x.png</file>
<file>rc/toolbar_move_horizontal_focus.png</file>
<file>rc/toolbar_move_horizontal_focus@2x.png</file>
<file>rc/toolbar_move_horizontal_pressed.png</file>
<file>rc/toolbar_move_horizontal_pressed@2x.png</file>
<file>rc/toolbar_move_vertical.png</file>
<file>rc/toolbar_move_vertical@2x.png</file>
<file>rc/toolbar_move_vertical_disabled.png</file>
<file>rc/toolbar_move_vertical_disabled@2x.png</file>
<file>rc/toolbar_move_vertical_focus.png</file>
<file>rc/toolbar_move_vertical_focus@2x.png</file>
<file>rc/toolbar_move_vertical_pressed.png</file>
<file>rc/toolbar_move_vertical_pressed@2x.png</file>
<file>rc/toolbar_separator_horizontal.png</file>
<file>rc/toolbar_separator_horizontal@2x.png</file>
<file>rc/toolbar_separator_horizontal_disabled.png</file>
<file>rc/toolbar_separator_horizontal_disabled@2x.png</file>
<file>rc/toolbar_separator_horizontal_focus.png</file>
<file>rc/toolbar_separator_horizontal_focus@2x.png</file>
<file>rc/toolbar_separator_horizontal_pressed.png</file>
<file>rc/toolbar_separator_horizontal_pressed@2x.png</file>
<file>rc/toolbar_separator_vertical.png</file>
<file>rc/toolbar_separator_vertical@2x.png</file>
<file>rc/toolbar_separator_vertical_disabled.png</file>
<file>rc/toolbar_separator_vertical_disabled@2x.png</file>
<file>rc/toolbar_separator_vertical_focus.png</file>
<file>rc/toolbar_separator_vertical_focus@2x.png</file>
<file>rc/toolbar_separator_vertical_pressed.png</file>
<file>rc/toolbar_separator_vertical_pressed@2x.png</file>
<file>rc/transparent.png</file>
<file>rc/transparent@2x.png</file>
<file>rc/transparent_disabled.png</file>
<file>rc/transparent_disabled@2x.png</file>
<file>rc/transparent_focus.png</file>
<file>rc/transparent_focus@2x.png</file>
<file>rc/transparent_pressed.png</file>
<file>rc/transparent_pressed@2x.png</file>
<file>rc/window_close.png</file>
<file>rc/window_close@2x.png</file>
<file>rc/window_close_disabled.png</file>
<file>rc/window_close_disabled@2x.png</file>
<file>rc/window_close_focus.png</file>
<file>rc/window_close_focus@2x.png</file>
<file>rc/window_close_pressed.png</file>
<file>rc/window_close_pressed@2x.png</file>
<file>rc/window_grip.png</file>
<file>rc/window_grip@2x.png</file>
<file>rc/window_grip_disabled.png</file>
<file>rc/window_grip_disabled@2x.png</file>
<file>rc/window_grip_focus.png</file>
<file>rc/window_grip_focus@2x.png</file>
<file>rc/window_grip_pressed.png</file>
<file>rc/window_grip_pressed@2x.png</file>
<file>rc/window_minimize.png</file>
<file>rc/window_minimize@2x.png</file>
<file>rc/window_minimize_disabled.png</file>
<file>rc/window_minimize_disabled@2x.png</file>
<file>rc/window_minimize_focus.png</file>
<file>rc/window_minimize_focus@2x.png</file>
<file>rc/window_minimize_pressed.png</file>
<file>rc/window_minimize_pressed@2x.png</file>
<file>rc/window_undock.png</file>
<file>rc/window_undock@2x.png</file>
<file>rc/window_undock_disabled.png</file>
<file>rc/window_undock_disabled@2x.png</file>
<file>rc/window_undock_focus.png</file>
<file>rc/window_undock_focus@2x.png</file>
<file>rc/window_undock_pressed.png</file>
<file>rc/window_undock_pressed@2x.png</file>
</qresource>
<qresource prefix="/themes/dark">
<file>style.qss</file>
</qresource>
</RCC>

View File

@ -0,0 +1 @@

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 546 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 523 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 992 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 558 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 557 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 546 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 541 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 525 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1008 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 549 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 990 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 397 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 824 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 862 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 810 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 415 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 872 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 731 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 655 B

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