Launcher: experimenting with SVG icons
|
@ -346,7 +346,7 @@ endif (USE_DBUS)
|
|||
## Qt5 setup setup
|
||||
if (ENABLE_QT)
|
||||
message(STATUS "Qt launcher enabled, checking for Qt 5.4 / qmake")
|
||||
find_package(Qt5 5.4 COMPONENTS Widgets Network Qml Quick QuickWidgets)
|
||||
find_package(Qt5 5.4 COMPONENTS Widgets Network Qml Quick Svg)
|
||||
if (Qt5Widgets_FOUND)
|
||||
message(STATUS "Will enable Qt launcher GUI")
|
||||
message(STATUS " Qt5Widgets version: ${Qt5Widgets_VERSION_STRING}")
|
||||
|
|
|
@ -123,7 +123,7 @@ if (HAVE_QT)
|
|||
${qml_sources})
|
||||
|
||||
set_property(TARGET fglauncher PROPERTY AUTOMOC ON)
|
||||
target_link_libraries(fglauncher Qt5::Core Qt5::Widgets Qt5::Network Qt5::Qml Qt5::Quick Qt5::QuickWidgets SimGearCore)
|
||||
target_link_libraries(fglauncher Qt5::Core Qt5::Widgets Qt5::Network Qt5::Qml Qt5::Quick Qt5::Svg SimGearCore)
|
||||
target_include_directories(fglauncher PRIVATE ${PROJECT_BINARY_DIR}/src/GUI)
|
||||
|
||||
add_library(fgqmlui QQuickDrawable.cxx
|
||||
|
|
6
src/GUI/assets/icons8-aircraft.svg
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 50 50" version="1.1" fill="#ffffff" width="50px" height="50px">
|
||||
<g id="surface1" fill="#ffffff">
|
||||
<path style=" " d="M 38.5 8.96875 C 38.265625 8.960938 38.035156 8.96875 37.78125 9 L 37.75 9 C 36.488281 9.195313 28.226563 10.414063 19 10.8125 C 18.988281 10.8125 18.980469 10.8125 18.96875 10.8125 C 18.378906 10.8125 17.792969 10.753906 17.125 11.0625 C 16.785156 11.21875 16.441406 11.53125 16.25 11.90625 C 16.058594 12.28125 16 12.667969 16 13.09375 C 16 13.859375 16.457031 14.367188 17 14.78125 C 17.542969 15.195313 18.257813 15.550781 19.21875 15.875 C 19.976563 16.132813 20.929688 16.347656 22 16.53125 L 22 20.09375 L 11.15625 21.15625 L 8.46875 16.6875 C 8.457031 16.675781 8.449219 16.667969 8.4375 16.65625 C 7.621094 15.429688 6.214844 14.8125 4.8125 14.8125 L 1 14.8125 C 0.9375 14.804688 0.875 14.804688 0.8125 14.8125 C 0.535156 14.863281 0.296875 15.027344 0.148438 15.265625 C 0 15.503906 -0.0429688 15.792969 0.03125 16.0625 L 2.9375 26.1875 C 3.230469 27.183594 4.003906 27.757813 5.21875 28.5625 C 6.433594 29.367188 8.136719 30.226563 10.40625 31.03125 C 14.945313 32.640625 21.703125 34 31 34 C 31.222656 34 31.4375 33.972656 31.65625 33.96875 L 33.78125 36.34375 C 33.300781 36.941406 33 37.679688 33 38.5 C 33 40.421875 34.578125 42 36.5 42 C 38.421875 42 40 40.421875 40 38.5 C 40 36.578125 38.421875 35 36.5 35 C 36.113281 35 35.757813 35.070313 35.40625 35.1875 L 34.21875 33.84375 C 38.601563 33.484375 42.164063 32.441406 44.78125 31.0625 C 45.765625 30.542969 46.613281 29.992188 47.34375 29.40625 L 47 32 C 47 32.601563 47.699219 33 48.5 33 C 49.300781 33 50 32.601563 50 32 L 49.4375 27.03125 C 49.789063 26.375 50 25.691406 50 25 C 50 24.332031 49.773438 23.746094 49.40625 23.21875 L 50 18 C 50 17.398438 49.300781 17 48.5 17 C 47.699219 17 47 17.398438 47 18 L 47.4375 21.375 C 46.628906 20.820313 45.707031 20.335938 44.71875 19.90625 C 42.449219 18.921875 39.945313 18.246094 38 18.0625 L 38 15.8125 C 38.78125 15.484375 39.453125 15.039063 39.96875 14.46875 C 40.636719 13.726563 41 12.738281 41 11.6875 C 41 11.015625 40.875 10.25 40.28125 9.65625 C 39.835938 9.210938 39.207031 8.996094 38.5 8.96875 Z M 38.03125 11 C 38.054688 10.996094 38.039063 11.003906 38.0625 11 C 38.6875 10.9375 38.847656 11.035156 38.875 11.0625 C 38.90625 11.09375 39 11.257813 39 11.6875 C 39 12.335938 38.84375 12.742188 38.5 13.125 C 38.15625 13.507813 37.550781 13.898438 36.65625 14.1875 C 34.867188 14.769531 31.957031 15 28.09375 15 C 24.171875 15 21.503906 14.519531 19.875 13.96875 C 19.0625 13.695313 18.507813 13.410156 18.21875 13.1875 C 18.074219 13.078125 18.019531 12.996094 18 12.96875 C 18.007813 12.945313 18.027344 12.886719 18.03125 12.875 C 18.09375 12.859375 18.4375 12.8125 19 12.8125 L 19.03125 12.8125 C 28.371094 12.410156 36.664063 11.210938 38.03125 11 Z M 36 16.40625 L 36 18.71875 C 35.394531 19.949219 34.644531 20.75 33.3125 21.3125 C 31.917969 21.902344 29.847656 22.1875 26.8125 22.1875 C 24.964844 22.1875 24.222656 21.175781 24 20.78125 L 24 16.78125 C 25.214844 16.902344 26.542969 17 28.09375 17 C 31.324219 17 33.941406 16.855469 36 16.40625 Z M 2.34375 16.8125 L 4.8125 16.8125 C 5.59375 16.8125 6.359375 17.164063 6.75 17.71875 C 6.757813 17.730469 6.773438 17.738281 6.78125 17.75 L 9.75 22.71875 C 9.949219 23.039063 10.3125 23.21875 10.6875 23.1875 L 22.5 22.0625 C 22.539063 22.085938 22.582031 22.105469 22.625 22.125 C 22.628906 22.128906 22.652344 22.121094 22.65625 22.125 C 23.191406 22.894531 24.324219 24.1875 26.8125 24.1875 C 29.976563 24.1875 32.289063 23.917969 34.09375 23.15625 C 35.613281 22.515625 36.628906 21.425781 37.40625 20.125 C 37.417969 20.113281 37.425781 20.105469 37.4375 20.09375 C 37.445313 20.082031 37.460938 20.074219 37.46875 20.0625 C 39.03125 20.15625 41.644531 20.769531 43.90625 21.75 C 45.128906 22.28125 46.230469 22.917969 46.96875 23.53125 C 47.4375 23.917969 47.695313 24.269531 47.84375 24.5625 L 47.90625 25 L 47.8125 25.65625 C 47.386719 26.628906 46.140625 28.074219 43.84375 29.28125 C 40.953125 30.804688 36.609375 32 31 32 C 21.898438 32 15.347656 30.671875 11.0625 29.15625 C 8.917969 28.398438 7.351563 27.59375 6.3125 26.90625 C 5.285156 26.226563 4.84375 25.5 4.875 25.625 Z M 36.5 37 C 37.339844 37 38 37.660156 38 38.5 C 38 39.339844 37.339844 40 36.5 40 C 35.660156 40 35 39.339844 35 38.5 C 35 37.660156 35.660156 37 36.5 37 Z " fill="#ffffff"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.4 KiB |
6
src/GUI/assets/icons8-airplane-take-off.svg
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 50 50" version="1.1" fill="#ffffff" width="50px" height="50px">
|
||||
<g id="surface1" fill="#ffffff">
|
||||
<path style=" " d="M 43.03125 11 C 42.722656 11.003906 42.386719 11.03125 42.0625 11.0625 C 40.757813 11.183594 39.332031 11.507813 37.875 12.15625 C 37.875 12.15625 32.265625 14.675781 27.625 16.75 L 16.34375 13.28125 C 15.589844 13.050781 14.773438 12.949219 14 12.9375 C 13.226563 12.925781 12.527344 12.992188 11.875 13.28125 L 10.3125 13.96875 C 10.050781 14.085938 9.734375 14.273438 9.5625 14.65625 C 9.390625 15.039063 9.441406 15.503906 9.59375 15.8125 C 9.890625 16.414063 10.375 16.726563 11.0625 17.09375 L 11.09375 17.125 L 17.71875 21.15625 C 14.382813 22.648438 9.867188 24.671875 9.625 24.78125 C 9.414063 24.875 9.414063 24.839844 9.25 24.78125 C 9.085938 24.722656 8.789063 24.535156 8.40625 24.25 C 7.050781 23.25 5.046875 21.792969 4.46875 21.34375 C 3.578125 20.664063 2.519531 20.65625 1.5625 20.96875 C 1.085938 21.125 0.601563 21.386719 0.28125 21.90625 C -0.0390625 22.425781 -0.0820313 23.179688 0.1875 23.78125 C 0.855469 25.28125 2.964844 29.921875 3.75 31.6875 C 4.175781 32.644531 5.066406 33.304688 6.15625 33.59375 C 7.246094 33.882813 8.558594 33.871094 10.125 33.65625 C 13.257813 33.222656 17.472656 31.867188 22.78125 29.5 C 23.199219 29.3125 23.679688 29.105469 24.125 28.90625 L 21.8125 41.125 L 21.8125 41.1875 C 21.628906 41.933594 21.535156 42.507813 21.78125 43.125 C 21.910156 43.441406 22.226563 43.777344 22.625 43.90625 C 23.023438 44.035156 23.363281 43.957031 23.625 43.84375 L 25.1875 43.15625 C 25.835938 42.867188 26.367188 42.367188 26.875 41.78125 C 27.382813 41.195313 27.859375 40.496094 28.1875 39.78125 L 28.15625 39.78125 L 35.59375 23.6875 C 39.304688 21.949219 42.867188 20.21875 45.46875 18.75 C 46.808594 17.992188 47.90625 17.304688 48.6875 16.6875 C 49.078125 16.378906 49.375 16.097656 49.625 15.75 C 49.875 15.402344 50.148438 14.832031 49.875 14.21875 C 49.253906 12.828125 47.699219 11.796875 45.59375 11.28125 C 44.804688 11.089844 43.960938 10.984375 43.03125 11 Z M 43.03125 13 C 43.796875 13 44.5 13.097656 45.125 13.25 C 46.566406 13.601563 47.445313 14.304688 47.8125 14.78125 C 47.710938 14.886719 47.636719 14.96875 47.4375 15.125 C 46.816406 15.617188 45.796875 16.269531 44.5 17 C 41.910156 18.460938 38.257813 20.246094 34.4375 22.03125 L 34.09375 22.1875 L 33.9375 22.53125 L 26.34375 38.96875 C 26.113281 39.472656 25.765625 40.019531 25.375 40.46875 C 24.984375 40.917969 24.53125 41.242188 24.375 41.3125 L 23.75 41.59375 L 23.75 41.5625 L 26.40625 27.40625 L 26.78125 25.53125 L 25.03125 26.3125 C 23.949219 26.796875 22.925781 27.261719 21.96875 27.6875 C 16.761719 30.007813 12.683594 31.300781 9.875 31.6875 C 8.472656 31.882813 7.382813 31.839844 6.6875 31.65625 C 5.992188 31.472656 5.714844 31.214844 5.5625 30.875 C 4.773438 29.109375 2.695313 24.464844 2.03125 22.96875 C 2.015625 22.929688 2.007813 22.945313 2 22.9375 C 2.035156 22.910156 2.101563 22.871094 2.1875 22.84375 C 2.53125 22.730469 3.164063 22.871094 3.25 22.9375 L 3.25 22.90625 C 3.902344 23.410156 5.859375 24.875 7.21875 25.875 C 7.617188 26.167969 8.019531 26.488281 8.5625 26.6875 C 9.105469 26.886719 9.8125 26.875 10.4375 26.59375 C 10.722656 26.46875 15.738281 24.210938 20.0625 22.28125 C 20.097656 22.265625 20.121094 22.296875 20.15625 22.28125 C 20.253906 22.253906 20.351563 22.210938 20.4375 22.15625 C 20.453125 22.148438 20.453125 22.132813 20.46875 22.125 C 20.480469 22.113281 20.488281 22.105469 20.5 22.09375 C 23.832031 20.609375 24.398438 20.351563 27.78125 18.84375 C 27.8125 18.835938 27.84375 18.824219 27.875 18.8125 C 27.886719 18.808594 27.894531 18.816406 27.90625 18.8125 C 28.117188 18.789063 28.3125 18.703125 28.46875 18.5625 C 28.480469 18.550781 28.488281 18.542969 28.5 18.53125 C 33.097656 16.484375 38.6875 14 38.6875 14 C 39.953125 13.4375 41.167969 13.132813 42.25 13.03125 C 42.519531 13.007813 42.777344 13 43.03125 13 Z M 13.96875 14.9375 C 14.5625 14.949219 15.21875 15.023438 15.75 15.1875 L 24.875 17.96875 C 22.480469 19.039063 22.234375 19.144531 19.96875 20.15625 L 12.09375 15.375 L 12.6875 15.09375 C 12.84375 15.023438 13.375 14.925781 13.96875 14.9375 Z " fill="#ffffff"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.2 KiB |
6
src/GUI/assets/icons8-automation.svg
Normal file
After Width: | Height: | Size: 8.3 KiB |
4
src/GUI/assets/icons8-home.svg
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" fill="#ffffff" width="50px" height="50px">
|
||||
<path style="line-height:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;block-progression:tb;isolation:auto;mix-blend-mode:normal" d="M 24.962891 1.0546875 A 1.0001 1.0001 0 0 0 24.384766 1.2636719 L 1.3847656 19.210938 A 1.0005659 1.0005659 0 0 0 2.6152344 20.789062 L 4 19.708984 L 4 46 A 1.0001 1.0001 0 0 0 5 47 L 18.832031 47 A 1.0001 1.0001 0 0 0 19.158203 47 L 30.832031 47 A 1.0001 1.0001 0 0 0 31.158203 47 L 45 47 A 1.0001 1.0001 0 0 0 46 46 L 46 19.708984 L 47.384766 20.789062 A 1.0005657 1.0005657 0 1 0 48.615234 19.210938 L 41 13.269531 L 41 6 L 35 6 L 35 8.5859375 L 25.615234 1.2636719 A 1.0001 1.0001 0 0 0 24.962891 1.0546875 z M 25 3.3222656 L 44 18.148438 L 44 45 L 32 45 L 32 26 L 18 26 L 18 45 L 6 45 L 6 18.148438 L 25 3.3222656 z M 37 8 L 39 8 L 39 11.708984 L 37 10.146484 L 37 8 z M 20 28 L 30 28 L 30 45 L 20 45 L 20 28 z" font-weight="400" font-family="sans-serif" white-space="normal" overflow="visible" fill="#ffffff"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
6
src/GUI/assets/icons8-location.svg
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 50 50" version="1.1" fill="#ffffff" width="50px" height="50px">
|
||||
<g id="surface1" fill="#ffffff">
|
||||
<path style=" " d="M 35 2 C 32.03125 2 29.433594 3.730469 28.050781 6.265625 C 27.097656 6.113281 26.132813 6.019531 25.199219 6.007813 L 25.199219 6 L 25 6 C 13.398438 6 4 15.398438 4 27 C 4 38.601563 13.398438 48 25 48 C 36.601563 48 46 38.601563 46 27 C 46 22.511719 44.476563 18.117188 41.839844 14.5625 C 42.535156 12.96875 43 11.5 43 10.402344 C 43 5.800781 39.398438 2 35 2 Z M 35 4 C 38.300781 4 41 6.898438 41 10.402344 C 41 12.800781 37.800781 18.398438 35 22.5 C 32.199219 18.398438 29 12.800781 29 10.402344 C 29 6.898438 31.699219 4 35 4 Z M 35 6 C 32.800781 6 31 7.800781 31 10 C 31 12.199219 32.800781 14 35 14 C 37.199219 14 39 12.199219 39 10 C 39 7.800781 37.199219 6 35 6 Z M 35 8 C 36.117188 8 37 8.882813 37 10 C 37 11.117188 36.117188 12 35 12 C 33.882813 12 33 11.117188 33 10 C 33 8.882813 33.882813 8 35 8 Z M 26 8.046875 C 26.425781 8.066406 26.863281 8.105469 27.300781 8.15625 C 27.113281 8.875 27 9.625 27 10.402344 C 27 11.824219 27.769531 13.863281 28.828125 16 L 26 16 Z M 24 8.132813 L 24 16 L 17.71875 16 C 19.179688 11.746094 21.4375 8.757813 24 8.132813 Z M 19.398438 8.839844 C 17.824219 10.578125 16.519531 13.035156 15.585938 16 L 9.523438 16 C 11.917969 12.640625 15.363281 10.082031 19.398438 8.839844 Z M 40.855469 16.613281 C 42.734375 19.375 43.785156 22.632813 43.960938 26 L 35.992188 26 C 35.988281 25.542969 35.96875 25.101563 35.941406 24.648438 C 37.097656 22.980469 39.160156 19.890625 40.855469 16.613281 Z M 8.265625 18 L 15.03125 18 C 14.445313 20.433594 14.09375 23.128906 14.027344 26 L 6.050781 26 C 6.199219 23.117188 6.96875 20.402344 8.265625 18 Z M 17.109375 18 L 24 18 L 24 26 L 16.027344 26 C 16.101563 23.136719 16.476563 20.414063 17.109375 18 Z M 26 18 L 29.898438 18 C 31.339844 20.589844 32.875 22.929688 33.902344 24.421875 C 33.933594 24.9375 33.953125 25.46875 33.96875 26 L 26 26 Z M 6.050781 28 L 14.027344 28 C 14.09375 30.871094 14.445313 33.566406 15.03125 36 L 8.265625 36 C 6.96875 33.597656 6.199219 30.882813 6.050781 28 Z M 16.027344 28 L 24 28 L 24 36 L 17.109375 36 C 16.476563 33.585938 16.101563 30.863281 16.027344 28 Z M 26 28 L 33.972656 28 C 33.898438 30.863281 33.523438 33.585938 32.890625 36 L 26 36 Z M 35.972656 28 L 43.949219 28 C 43.800781 30.882813 43.03125 33.597656 41.734375 36 L 34.96875 36 C 35.554688 33.566406 35.90625 30.871094 35.972656 28 Z M 9.523438 38 L 15.585938 38 C 16.519531 40.964844 17.824219 43.421875 19.398438 45.160156 C 15.363281 43.917969 11.917969 41.359375 9.523438 38 Z M 17.71875 38 L 24 38 L 24 45.871094 C 21.441406 45.242188 19.179688 42.253906 17.71875 38 Z M 26 38 L 32.28125 38 C 30.820313 42.253906 28.558594 45.242188 26 45.871094 Z M 34.414063 38 L 40.476563 38 C 38.082031 41.359375 34.636719 43.917969 30.601563 45.160156 C 32.175781 43.421875 33.480469 40.964844 34.414063 38 Z " fill="#ffffff"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3 KiB |
6
src/GUI/assets/icons8-puzzle.svg
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 50 50" version="1.1" fill="#ffffff" width="50px" height="50px">
|
||||
<g id="surface1" fill="#ffffff">
|
||||
<path style=" " d="M 26.5625 1 C 22.636719 1 19.40625 4.132813 19.40625 8 C 19.40625 9.734375 20.070313 11.074219 21.125 12.5625 C 21.984375 13.777344 21.9375 14.433594 21.84375 14.625 C 21.75 14.816406 21.398438 15.0625 20.46875 15 C 18.039063 14.835938 10.25 13.9375 10.25 13.9375 L 10.25 13.96875 C 9.308594 13.839844 8.367188 14.242188 7.875 14.90625 C 7.398438 15.550781 7.21875 16.308594 7.125 17.09375 C 7.125 17.09375 7.125 17.15625 7.125 17.15625 C 7.121094 17.179688 7.097656 17.195313 7.09375 17.21875 L 7.125 17.21875 C 7.113281 17.261719 6.691406 19.207031 6.0625 27.46875 C 6.054688 27.597656 6.042969 27.496094 6.03125 27.625 L 6.0625 27.625 C 6.011719 28.011719 6.054688 28.359375 6.0625 28.40625 C 6.1875 29.042969 6.539063 29.675781 7.125 29.96875 C 7.710938 30.261719 8.304688 30.183594 8.8125 30.03125 C 9.832031 29.726563 10.792969 29.046875 11.78125 28.34375 C 12.949219 27.515625 14.046875 27 15.3125 27 C 18.183594 27 20.46875 29.238281 20.46875 32 C 20.46875 34.761719 18.183594 37 15.3125 37 C 13.886719 37 13.078125 36.632813 11.71875 35.5625 C 10.960938 34.96875 10.074219 34.324219 9.125 33.96875 C 8.648438 33.792969 8.140625 33.6875 7.5625 33.8125 C 6.984375 33.9375 6.425781 34.414063 6.1875 35 C 5.941406 35.601563 5.953125 36.023438 6.03125 36.53125 C 6.035156 36.582031 6.027344 36.542969 6.03125 36.59375 C 6.621094 42.714844 6.917969 43.3125 7.125 44.21875 C 7.273438 44.867188 7.539063 45.527344 8.03125 46.0625 C 8.523438 46.597656 9.300781 47 10.15625 47 L 42.1875 47 C 43.300781 47 44.308594 46.632813 45 45.9375 C 45.691406 45.242188 46 44.277344 46 43.25 L 46 17.375 C 46 16.414063 45.644531 15.59375 45.09375 15.03125 C 44.542969 14.46875 43.863281 14.160156 43.21875 13.96875 C 43.097656 13.933594 42.96875 13.925781 42.84375 13.9375 C 42.84375 13.9375 35.316406 14.683594 32.59375 15 C 31.800781 15.089844 31.527344 14.914063 31.40625 14.65625 C 31.285156 14.398438 31.234375 13.667969 31.96875 12.5 C 32.523438 11.617188 32.949219 10.972656 33.25 10.28125 C 33.550781 9.589844 33.6875 8.863281 33.6875 8 C 33.6875 4.132813 30.488281 1 26.5625 1 Z M 26.5625 3 C 29.433594 3 31.6875 5.238281 31.6875 8 C 31.6875 8.664063 31.609375 9.035156 31.40625 9.5 C 31.203125 9.964844 30.839844 10.546875 30.28125 11.4375 C 29.34375 12.929688 29.046875 14.34375 29.59375 15.5 C 30.140625 16.65625 31.480469 17.152344 32.8125 17 C 35.398438 16.699219 42.386719 16.007813 42.78125 15.96875 C 43.171875 16.101563 43.515625 16.230469 43.6875 16.40625 C 43.882813 16.605469 44 16.824219 44 17.375 L 44 43.25 C 44 43.878906 43.824219 44.265625 43.5625 44.53125 C 43.300781 44.796875 42.902344 45 42.1875 45 L 10.15625 45 C 9.878906 45 9.722656 44.929688 9.53125 44.71875 C 9.339844 44.507813 9.148438 44.148438 9.0625 43.78125 C 8.804688 42.664063 8.628906 42.5625 8.03125 36.34375 C 8.023438 36.324219 8.011719 36.300781 8 36.28125 C 7.980469 36.171875 8.082031 35.625 8.03125 35.75 C 8.066406 35.75 8.199219 35.753906 8.4375 35.84375 C 8.980469 36.046875 9.78125 36.613281 10.46875 37.15625 C 12 38.359375 13.472656 39 15.3125 39 C 19.238281 39 22.46875 35.867188 22.46875 32 C 22.46875 28.132813 19.238281 25 15.3125 25 C 13.488281 25 11.953125 25.773438 10.625 26.71875 C 9.675781 27.394531 8.742188 27.976563 8.25 28.125 C 8.15625 28.152344 8.109375 28.152344 8.0625 28.15625 C 8.058594 28.128906 8.050781 28.121094 8.03125 28.03125 C 8.019531 27.96875 8.03125 27.921875 8.03125 27.90625 C 8.035156 27.863281 8.035156 27.824219 8.03125 27.78125 C 8.679688 19.132813 9.0625 17.5625 9.0625 17.5625 C 9.074219 17.523438 9.085938 17.480469 9.09375 17.4375 C 9.164063 16.789063 9.324219 16.292969 9.46875 16.09375 C 9.613281 15.894531 9.585938 15.875 9.96875 15.9375 C 9.988281 15.9375 10.011719 15.9375 10.03125 15.9375 C 10.03125 15.9375 17.722656 16.824219 20.34375 17 C 21.71875 17.09375 23.078125 16.683594 23.65625 15.5 C 24.234375 14.316406 23.8125 12.910156 22.75 11.40625 C 21.769531 10.023438 21.40625 9.273438 21.40625 8 C 21.40625 5.238281 23.691406 3 26.5625 3 Z " fill="#ffffff"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.2 KiB |
6
src/GUI/assets/icons8-windy-weather-filled.svg
Normal file
After Width: | Height: | Size: 5.2 KiB |
|
@ -6,8 +6,8 @@ Item {
|
|||
// order of this model sets the order of buttons in the sidebar
|
||||
ListModel {
|
||||
id: pagesModel
|
||||
ListElement { title: qsTr("Summary"); pageSource: "qrc:///qml/Summary.qml"; iconPath: "qrc:///toolbox-summary"; state:"loader" }
|
||||
ListElement { title: qsTr("Aircraft"); pageSource: "qrc:///qml/AircraftList.qml"; iconPath: "qrc:///toolbox-aircraft"; state:"loader" }
|
||||
ListElement { title: qsTr("Summary"); pageSource: "qrc:///qml/Summary.qml"; iconPath: "qrc:///svg/toolbox-summary"; state:"loader" }
|
||||
ListElement { title: qsTr("Aircraft"); pageSource: "qrc:///qml/AircraftList.qml"; iconPath: "qrc:///svg/toolbox-aircraft"; state:"loader" }
|
||||
|
||||
ListElement {
|
||||
title: qsTr("Location"); pageSource: "qrc:///qml/Location.qml";
|
||||
|
@ -20,10 +20,10 @@ Item {
|
|||
// permanently so that collecting args works. So we instantiate them down below, and toggle the visiblity
|
||||
// of them and the loader using a state.
|
||||
|
||||
ListElement { title: qsTr("Environment"); pageSource: ""; iconPath: "qrc:///toolbox-environment"; state:"environment" }
|
||||
ListElement { title: qsTr("Settings"); pageSource: ""; iconPath: "qrc:///toolbox-settings"; state:"settings" }
|
||||
ListElement { title: qsTr("Environment"); pageSource: ""; iconPath: "qrc:///svg/toolbox-environment"; state:"environment" }
|
||||
ListElement { title: qsTr("Settings"); pageSource: ""; iconPath: "qrc:///svg/toolbox-settings"; state:"settings" }
|
||||
|
||||
ListElement { title: qsTr("Add-ons"); pageSource: "qrc:///qml/AddOns.qml"; iconPath: "qrc:///toolbox-addons"; state:"loader" }
|
||||
ListElement { title: qsTr("Add-ons"); pageSource: "qrc:///qml/AddOns.qml"; iconPath: "qrc:///svg/toolbox-addons"; state:"loader" }
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ Rectangle {
|
|||
anchors.bottomMargin: Style.margin
|
||||
enabled: _launcher.canFly
|
||||
disabledText: qsTr("The selected aircraft is not installed")
|
||||
icon: "qrc:///toolbox-fly"
|
||||
icon: "qrc:///svg/toolbox-fly"
|
||||
onClicked: _launcher.fly();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -112,4 +112,13 @@
|
|||
<file alias="left-arrow-icon">preview-left-arrow.png</file>
|
||||
<file alias="right-arrow-icon">preview-right-arrow.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/svg">
|
||||
<file alias="toolbox-fly">assets/icons8-airplane-take-off.svg</file>
|
||||
<file alias="toolbox-environment">assets/icons8-windy-weather-filled.svg</file>
|
||||
<file alias="toolbox-location">assets/icons8-location.svg</file>
|
||||
<file alias="toolbox-settings">assets/icons8-automation.svg</file>
|
||||
<file alias="toolbox-addons">assets/icons8-puzzle.svg</file>
|
||||
<file alias="toolbox-summary">assets/icons8-home.svg</file>
|
||||
<file alias="toolbox-aircraft">assets/icons8-aircraft.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|