mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-07-05 20:42:08 -07:00
Add About Dialog
This commit is contained in:
parent
5faa801331
commit
028f86fb1c
7 changed files with 258 additions and 2 deletions
|
@ -17,7 +17,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
|||
|
||||
add_subdirectory(third-party)
|
||||
|
||||
add_definitions(-DCHIAKI_VERSION_MAJOR=${CHIAKI_VERSION_MAJOR} -DCHIAKI_VERSION_MINOR=${CHIAKI_VERSION_MINOR} -DCHIAKI_VERSION_PATCH=${CHIAKI_VERSION_PATCH})
|
||||
add_definitions(-DCHIAKI_VERSION_MAJOR=${CHIAKI_VERSION_MAJOR} -DCHIAKI_VERSION_MINOR=${CHIAKI_VERSION_MINOR} -DCHIAKI_VERSION_PATCH=${CHIAKI_VERSION_PATCH} -DCHIAKI_VERSION=\"${CHIAKI_VERSION}\")
|
||||
|
||||
add_subdirectory(lib)
|
||||
|
||||
|
|
134
assets/chiaki_simple.svg
Normal file
134
assets/chiaki_simple.svg
Normal file
|
@ -0,0 +1,134 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg8"
|
||||
version="1.1"
|
||||
viewBox="0 0 270.93333 270.93334"
|
||||
height="1024"
|
||||
width="1024"
|
||||
sodipodi:docname="chiaki_simple.svg"
|
||||
inkscape:version="0.92.4 5da689c313, 2019-01-14">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1918"
|
||||
inkscape:window-height="1048"
|
||||
id="namedview950"
|
||||
showgrid="false"
|
||||
inkscape:zoom="0.83691406"
|
||||
inkscape:cx="539.48191"
|
||||
inkscape:cy="564.5741"
|
||||
inkscape:window-x="1920"
|
||||
inkscape:window-y="15"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1" />
|
||||
<defs
|
||||
id="defs2">
|
||||
<clipPath
|
||||
id="clipPath964"
|
||||
clipPathUnits="userSpaceOnUse">
|
||||
<circle
|
||||
transform="scale(-1,1)"
|
||||
r="135.46667"
|
||||
cy="161.49431"
|
||||
cx="-135.46669"
|
||||
id="circle966"
|
||||
style="display:inline;fill:#ff9955;fill-opacity:1;stroke:none;stroke-width:8.46666622;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</clipPath>
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
style="display:inline"
|
||||
transform="translate(0,-26.066633)"
|
||||
id="layer1">
|
||||
<g
|
||||
inkscape:label="quadface"
|
||||
clip-path="none"
|
||||
id="g1027"
|
||||
transform="matrix(0.88085933,0,0,0.88085934,16.139583,19.245187)"
|
||||
style="display:none">
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path1019"
|
||||
transform="matrix(0.30036957,0,0,0.30036956,-18.322543,7.7440809)"
|
||||
d="M 64.517578,61 C 62.568856,61 61,62.568856 61,64.517578 V 373.58008 h 261.16211 l 19.32422,-40.73438 33.47656,-70.5664 33.47852,70.5664 19.32226,40.73438 H 512 596.23633 l 19.32226,-40.73438 33.47852,-70.5664 33.47656,70.5664 19.32422,40.73438 H 963 V 64.517578 C 963,62.568856 961.43114,61 959.48242,61 Z M 61,650.41992 v 309.0625 C 61,961.43114 62.568856,963 64.517578,963 H 959.48242 C 961.43114,963 963,961.43114 963,959.48242 V 650.41992 H 575.55664 L 512,746.66211 448.44336,650.41992 Z"
|
||||
style="fill:#cfff0d;fill-opacity:1;stroke:none;stroke-width:28.1796608;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
style="display:inline;fill:#162d50;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 94.304836,86.524958 84.249637,107.72108 78.44534,119.95599 H 0 v 83.15462 h 116.37636 l 19.0903,28.90779 19.09031,-28.90779 h 116.37636 v -83.15462 h -78.44534 l -5.8043,-12.23491 -10.0552,-21.196122 -10.05571,21.196122 -5.8043,12.23491 h -25.30182 -25.30181 l -5.8043,-12.23491 z"
|
||||
id="path1021"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="display:inline;fill:#ffaaee;fill-opacity:1;stroke:none;stroke-width:0.1879124;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="m 100.80626,150.68538 v 31.75 h 15.875 v -31.75 z m 53.44584,0 v 31.75 h 15.875 v -31.75 z"
|
||||
id="path1023"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path1025"
|
||||
transform="matrix(0.30036957,0,0,0.30036956,-18.322543,7.7440809)"
|
||||
d="m 374.96289,146.52539 c -50.81479,0 -97.4156,18.32847 -133.56445,48.70899 l 18.00781,21.45898 c 31.21815,-26.2066 71.5066,-41.98047 115.55664,-41.98047 44.05104,0 84.3382,15.77477 115.55664,41.98242 l 18.00781,-21.46093 C 472.37833,164.85329 425.77821,146.52539 374.96289,146.52539 Z m 0,56.48633 c -36.98894,0 -70.92741,13.35745 -97.25781,35.49023 l 18.00781,21.46094 c 21.40007,-17.9602 49.02455,-28.76367 79.25,-28.76367 30.22545,0 57.85047,10.80347 79.25195,28.76367 l 18.00586,-21.46094 c -26.33176,-22.13257 -60.26906,-35.49023 -97.25781,-35.49023 z"
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#162d50;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:28.1875;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />
|
||||
</g>
|
||||
<circle
|
||||
style="display:inline;fill:#cfff0d;fill-opacity:1;stroke:none;stroke-width:7.45794201;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="circle1041"
|
||||
cx="135.46667"
|
||||
cy="161.53329"
|
||||
r="119.32709"
|
||||
inkscape:label="round mask" />
|
||||
<g
|
||||
style="display:inline"
|
||||
transform="matrix(0.88085933,0,0,0.88085934,16.139583,19.245187)"
|
||||
id="g929"
|
||||
clip-path="none"
|
||||
inkscape:label="roundface">
|
||||
<path
|
||||
style="fill:#cfff0d;fill-opacity:1;stroke:none;stroke-width:28.1796608;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 512,61 A 451.00001,451.00001 0 0 0 83.019531,373.58008 H 322.16211 l 19.32422,-40.73438 33.47656,-70.5664 33.47852,70.5664 19.32226,40.73438 H 512 596.23633 l 19.32226,-40.73438 33.47852,-70.5664 33.47656,70.5664 19.32422,40.73438 H 940.6582 A 451.00001,451.00001 0 0 0 512,61 Z M 83.341797,650.41992 A 451.00001,451.00001 0 0 0 512,963 451.00001,451.00001 0 0 0 940.98047,650.41992 H 575.55664 L 512,746.66211 448.44336,650.41992 Z"
|
||||
transform="matrix(0.30036957,0,0,0.30036956,-18.322543,7.7440809)"
|
||||
id="rect895"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="display:inline;fill:#162d50;stroke:none;stroke-width:0.88085926px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 374.96289,262.2793 -33.47656,70.5664 -19.32422,40.73438 H 83.019531 A 451.00001,451.00001 0 0 0 61,512 451.00001,451.00001 0 0 0 83.341797,650.41992 H 448.44336 L 512,746.66211 575.55664,650.41992 H 940.98047 A 451.00001,451.00001 0 0 0 963,512 451.00001,451.00001 0 0 0 940.6582,373.58008 H 701.83789 l -19.32422,-40.73438 -33.47656,-70.5664 -33.47852,70.5664 -19.32226,40.73438 H 512 427.76367 L 408.44141,332.8457 Z"
|
||||
transform="matrix(0.30036957,0,0,0.30036956,-18.322543,7.7440809)"
|
||||
id="path915"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="rect917"
|
||||
d="m 100.80626,150.68538 v 31.75 h 15.875 v -31.75 z m 53.44584,0 v 31.75 h 15.875 v -31.75 z"
|
||||
style="display:inline;fill:#ffaaee;fill-opacity:1;stroke:none;stroke-width:0.1879124;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<path
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#162d50;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:28.1875;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
|
||||
d="m 374.96289,146.52539 c -50.81479,0 -97.4156,18.32847 -133.56445,48.70899 l 18.00781,21.45898 c 31.21815,-26.2066 71.5066,-41.98047 115.55664,-41.98047 44.05104,0 84.3382,15.77477 115.55664,41.98242 l 18.00781,-21.46093 C 472.37833,164.85329 425.77821,146.52539 374.96289,146.52539 Z m 0,56.48633 c -36.98894,0 -70.92741,13.35745 -97.25781,35.49023 l 18.00781,21.46094 c 21.40007,-17.9602 49.02455,-28.76367 79.25,-28.76367 30.22545,0 57.85047,10.80347 79.25195,28.76367 l 18.00586,-21.46094 c -26.33176,-22.13257 -60.26906,-35.49023 -97.25781,-35.49023 z"
|
||||
transform="matrix(0.30036957,0,0,0.30036956,-18.322543,7.7440809)"
|
||||
id="circle925"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 9.8 KiB |
99
gui/res/chiaki.svg
Normal file
99
gui/res/chiaki.svg
Normal file
|
@ -0,0 +1,99 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="1024"
|
||||
height="1024"
|
||||
viewBox="0 0 270.93333 270.93334"
|
||||
version="1.1"
|
||||
id="svg8">
|
||||
<defs
|
||||
id="defs2">
|
||||
<clipPath
|
||||
clipPathUnits="userSpaceOnUse"
|
||||
id="clipPath964">
|
||||
<circle
|
||||
style="display:inline;fill:#ff9955;fill-opacity:1;stroke:none;stroke-width:8.46666622;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="circle966"
|
||||
cx="-135.46669"
|
||||
cy="161.49431"
|
||||
r="135.46667"
|
||||
transform="scale(-1,1)" />
|
||||
</clipPath>
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
transform="translate(0,-26.066633)"
|
||||
style="display:inline">
|
||||
<g
|
||||
style="display:none"
|
||||
transform="matrix(0.88085933,0,0,0.88085934,16.139583,19.245187)"
|
||||
id="g1027"
|
||||
clip-path="none">
|
||||
<path
|
||||
style="fill:#cfff0d;fill-opacity:1;stroke:none;stroke-width:28.1796608;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 64.517578,61 C 62.568856,61 61,62.568856 61,64.517578 V 373.58008 h 261.16211 l 19.32422,-40.73438 33.47656,-70.5664 33.47852,70.5664 19.32226,40.73438 H 512 596.23633 l 19.32226,-40.73438 33.47852,-70.5664 33.47656,70.5664 19.32422,40.73438 H 963 V 64.517578 C 963,62.568856 961.43114,61 959.48242,61 Z M 61,650.41992 v 309.0625 C 61,961.43114 62.568856,963 64.517578,963 H 959.48242 C 961.43114,963 963,961.43114 963,959.48242 V 650.41992 H 575.55664 L 512,746.66211 448.44336,650.41992 Z"
|
||||
transform="matrix(0.30036957,0,0,0.30036956,-18.322543,7.7440809)"
|
||||
id="path1019" />
|
||||
<path
|
||||
id="path1021"
|
||||
d="M 94.304836,86.524958 84.249637,107.72108 78.44534,119.95599 H 0 v 83.15462 h 116.37636 l 19.0903,28.90779 19.09031,-28.90779 h 116.37636 v -83.15462 h -78.44534 l -5.8043,-12.23491 -10.0552,-21.196122 -10.05571,21.196122 -5.8043,12.23491 h -25.30182 -25.30181 l -5.8043,-12.23491 z"
|
||||
style="display:inline;fill:#162d50;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
id="path1023"
|
||||
d="m 100.80626,150.68538 v 31.75 h 15.875 v -31.75 z m 53.44584,0 v 31.75 h 15.875 v -31.75 z"
|
||||
style="display:inline;fill:#ffaaee;fill-opacity:1;stroke:none;stroke-width:0.1879124;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<path
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#162d50;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:28.1875;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
|
||||
d="m 374.96289,146.52539 c -50.81479,0 -97.4156,18.32847 -133.56445,48.70899 l 18.00781,21.45898 c 31.21815,-26.2066 71.5066,-41.98047 115.55664,-41.98047 44.05104,0 84.3382,15.77477 115.55664,41.98242 l 18.00781,-21.46093 C 472.37833,164.85329 425.77821,146.52539 374.96289,146.52539 Z m 0,56.48633 c -36.98894,0 -70.92741,13.35745 -97.25781,35.49023 l 18.00781,21.46094 c 21.40007,-17.9602 49.02455,-28.76367 79.25,-28.76367 30.22545,0 57.85047,10.80347 79.25195,28.76367 l 18.00586,-21.46094 c -26.33176,-22.13257 -60.26906,-35.49023 -97.25781,-35.49023 z"
|
||||
transform="matrix(0.30036957,0,0,0.30036956,-18.322543,7.7440809)"
|
||||
id="path1025" />
|
||||
</g>
|
||||
<circle
|
||||
r="119.32709"
|
||||
cy="161.53329"
|
||||
cx="135.46667"
|
||||
id="circle1041"
|
||||
style="display:none;fill:#cfff0d;fill-opacity:1;stroke:none;stroke-width:7.45794201;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<g
|
||||
clip-path="none"
|
||||
id="g929"
|
||||
transform="matrix(0.88085933,0,0,0.88085934,16.139583,19.245187)"
|
||||
style="display:inline">
|
||||
<path
|
||||
id="rect895"
|
||||
transform="matrix(0.30036957,0,0,0.30036956,-18.322543,7.7440809)"
|
||||
d="M 512,61 A 451.00001,451.00001 0 0 0 83.019531,373.58008 H 322.16211 l 19.32422,-40.73438 33.47656,-70.5664 33.47852,70.5664 19.32226,40.73438 H 512 596.23633 l 19.32226,-40.73438 33.47852,-70.5664 33.47656,70.5664 19.32422,40.73438 H 940.6582 A 451.00001,451.00001 0 0 0 512,61 Z M 83.341797,650.41992 A 451.00001,451.00001 0 0 0 512,963 451.00001,451.00001 0 0 0 940.98047,650.41992 H 575.55664 L 512,746.66211 448.44336,650.41992 Z"
|
||||
style="fill:#cfff0d;fill-opacity:1;stroke:none;stroke-width:28.1796608;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
id="path915"
|
||||
transform="matrix(0.30036957,0,0,0.30036956,-18.322543,7.7440809)"
|
||||
d="m 374.96289,262.2793 -33.47656,70.5664 -19.32422,40.73438 H 83.019531 A 451.00001,451.00001 0 0 0 61,512 451.00001,451.00001 0 0 0 83.341797,650.41992 H 448.44336 L 512,746.66211 575.55664,650.41992 H 940.98047 A 451.00001,451.00001 0 0 0 963,512 451.00001,451.00001 0 0 0 940.6582,373.58008 H 701.83789 l -19.32422,-40.73438 -33.47656,-70.5664 -33.47852,70.5664 -19.32226,40.73438 H 512 427.76367 L 408.44141,332.8457 Z"
|
||||
style="display:inline;fill:#162d50;stroke:none;stroke-width:0.88085926px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
style="display:inline;fill:#ffaaee;fill-opacity:1;stroke:none;stroke-width:0.1879124;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="m 100.80626,150.68538 v 31.75 h 15.875 v -31.75 z m 53.44584,0 v 31.75 h 15.875 v -31.75 z"
|
||||
id="rect917" />
|
||||
<path
|
||||
id="circle925"
|
||||
transform="matrix(0.30036957,0,0,0.30036956,-18.322543,7.7440809)"
|
||||
d="m 374.96289,146.52539 c -50.81479,0 -97.4156,18.32847 -133.56445,48.70899 l 18.00781,21.45898 c 31.21815,-26.2066 71.5066,-41.98047 115.55664,-41.98047 44.05104,0 84.3382,15.77477 115.55664,41.98242 l 18.00781,-21.46093 C 472.37833,164.85329 425.77821,146.52539 374.96289,146.52539 Z m 0,56.48633 c -36.98894,0 -70.92741,13.35745 -97.25781,35.49023 l 18.00781,21.46094 c 21.40007,-17.9602 49.02455,-28.76367 79.25,-28.76367 30.22545,0 57.85047,10.80347 79.25195,28.76367 l 18.00586,-21.46094 c -26.33176,-22.13257 -60.26906,-35.49023 -97.25781,-35.49023 z"
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#162d50;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:28.1875;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 8.6 KiB |
|
@ -3,5 +3,6 @@
|
|||
<file>settings-20px.svg</file>
|
||||
<file>add-24px.svg</file>
|
||||
<file>discover-24px.svg</file>
|
||||
<file>chiaki.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
@ -71,7 +71,7 @@ int real_main(int argc, char *argv[])
|
|||
|
||||
QApplication app(argc, argv);
|
||||
|
||||
Q_INIT_RESOURCE(resources);
|
||||
QApplication::setWindowIcon(QIcon(":/icons/chiaki.svg"));
|
||||
|
||||
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
|
||||
|
|
|
@ -53,6 +53,8 @@ SessionLog::SessionLog(StreamSession *session, uint32_t level_mask, const QStrin
|
|||
CHIAKI_LOGI(&log, "Logging to file %s", filename.toLocal8Bit().constData());
|
||||
}
|
||||
}
|
||||
|
||||
CHIAKI_LOGI(&log, "Chiaki Version " CHIAKI_VERSION);
|
||||
}
|
||||
|
||||
SessionLog::~SessionLog()
|
||||
|
|
|
@ -32,6 +32,21 @@
|
|||
#include <QCheckBox>
|
||||
#include <QLineEdit>
|
||||
|
||||
|
||||
const char * const about_string =
|
||||
"<h1>Chiaki</h1> by thestr4ng3r, version " CHIAKI_VERSION
|
||||
""
|
||||
"<p>This program is free software: you can redistribute it and/or modify "
|
||||
"it under the terms of the GNU General Public License as published by "
|
||||
"the Free Software Foundation, either version 3 of the License, or "
|
||||
"(at your option) any later version.</p>"
|
||||
""
|
||||
"<p>This program is distributed in the hope that it will be useful, "
|
||||
"but WITHOUT ANY WARRANTY; without even the implied warranty of "
|
||||
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "
|
||||
"GNU General Public License for more details.</p>";
|
||||
|
||||
|
||||
SettingsDialog::SettingsDialog(Settings *settings, QWidget *parent) : QDialog(parent)
|
||||
{
|
||||
this->settings = settings;
|
||||
|
@ -61,6 +76,11 @@ SettingsDialog::SettingsDialog(Settings *settings, QWidget *parent) : QDialog(pa
|
|||
log_directory_label->setReadOnly(true);
|
||||
general_layout->addRow(tr("Log Directory:"), log_directory_label);
|
||||
|
||||
auto about_button = new QPushButton(tr("About Chiaki"), this);
|
||||
general_layout->addRow(about_button);
|
||||
connect(about_button, &QPushButton::clicked, this, [this]() {
|
||||
QMessageBox::about(this, tr("About Chiaki"), about_string);
|
||||
});
|
||||
|
||||
// Stream Settings
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue