Added dark mode support for the configuration dialog on Windows/macOS runtime. Fixes #4292
Detects dark mode at server start and styles the runtime accordingly. Patch modified by: Neel Patel
@ -29,6 +29,7 @@ Bug fixes
|
||||
| `Issue #3972 <https://redmine.postgresql.org/issues/3972>`_ - Modified keyboard shortcuts in Query Tool for OSX native support.
|
||||
| `Issue #3988 <https://redmine.postgresql.org/issues/3988>`_ - Fixed cursor disappeared issue in the query editor for some of the characters when zoomed out.
|
||||
| `Issue #4206 <https://redmine.postgresql.org/issues/4206>`_ - Ensure that the grant wizard should be closed on pressing the ESC key.
|
||||
| `Issue #4292 <https://redmine.postgresql.org/issues/4292>`_ - Added dark mode support for the configuration dialog on Windows/macOS runtime.
|
||||
| `Issue #4512 <https://redmine.postgresql.org/issues/4512>`_ - Fixed calendar opening issue on the exception tab inside the schedules tab of pgAgent.
|
||||
| `Issue #4856 <https://redmine.postgresql.org/issues/4856>`_ - Enable the save button by default when a query tool is opened with CREATE or other scripts.
|
||||
| `Issue #4864 <https://redmine.postgresql.org/issues/4864>`_ - Make the configuration window in runtime to auto-resize.
|
||||
|
@ -74,7 +74,7 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="pythonPathLabel_2">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
@ -87,7 +87,7 @@
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>150</width>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
@ -96,6 +96,22 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_4">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Fixed</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="browserCommandLineEdit">
|
||||
<property name="placeholderText">
|
||||
@ -149,7 +165,7 @@
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>150</width>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
|
89
runtime/breeze.qrc
Normal file
@ -0,0 +1,89 @@
|
||||
<RCC>
|
||||
<qresource>
|
||||
<file>light/hmovetoolbar.svg</file>
|
||||
<file>light/vmovetoolbar.svg</file>
|
||||
<file>light/hsepartoolbar.svg</file>
|
||||
<file>light/vsepartoolbars.svg</file>
|
||||
<file>light/stylesheet-branch-end.svg</file>
|
||||
<file>light/stylesheet-branch-end-closed.svg</file>
|
||||
<file>light/stylesheet-branch-end-open.svg</file>
|
||||
<file>light/stylesheet-vline.svg</file>
|
||||
<file>light/stylesheet-branch-more.svg</file>
|
||||
<file>light/branch_closed.svg</file>
|
||||
<file>light/branch_closed-on.svg</file>
|
||||
<file>light/branch_open.svg</file>
|
||||
<file>light/branch_open-on.svg</file>
|
||||
<file>light/down_arrow.svg</file>
|
||||
<file>light/down_arrow_disabled.svg</file>
|
||||
<file>light/down_arrow-hover.svg</file>
|
||||
<file>light/left_arrow.svg</file>
|
||||
<file>light/left_arrow_disabled.svg</file>
|
||||
<file>light/right_arrow.svg</file>
|
||||
<file>light/right_arrow_disabled.svg</file>
|
||||
<file>light/up_arrow.svg</file>
|
||||
<file>light/up_arrow_disabled.svg</file>
|
||||
<file>light/up_arrow-hover.svg</file>
|
||||
<file>light/sizegrip.svg</file>
|
||||
<file>light/transparent.svg</file>
|
||||
<file>light/close.svg</file>
|
||||
<file>light/close-hover.svg</file>
|
||||
<file>light/close-pressed.svg</file>
|
||||
<file>light/undock.svg</file>
|
||||
<file>light/undock-hover.svg</file>
|
||||
<file>light/checkbox_checked-hover.svg</file>
|
||||
<file>light/checkbox_checked.svg</file>
|
||||
<file>light/checkbox_checked_disabled.svg</file>
|
||||
<file>light/checkbox_indeterminate.svg</file>
|
||||
<file>light/checkbox_indeterminate-hover.svg</file>
|
||||
<file>light/checkbox_indeterminate_disabled.svg</file>
|
||||
<file>light/checkbox_unchecked-hover.svg</file>
|
||||
<file>light/checkbox_unchecked_disabled.svg</file>
|
||||
<file>light/radio_checked-hover.svg</file>
|
||||
<file>light/radio_checked.svg</file>
|
||||
<file>light/radio_checked_disabled.svg</file>
|
||||
<file>light/radio_unchecked-hover.svg</file>
|
||||
<file>light/radio_unchecked_disabled.svg</file>
|
||||
<file>dark/hmovetoolbar.svg</file>
|
||||
<file>dark/vmovetoolbar.svg</file>
|
||||
<file>dark/hsepartoolbar.svg</file>
|
||||
<file>dark/vsepartoolbars.svg</file>
|
||||
<file>dark/stylesheet-branch-end.svg</file>
|
||||
<file>dark/stylesheet-branch-end-closed.svg</file>
|
||||
<file>dark/stylesheet-branch-end-open.svg</file>
|
||||
<file>dark/stylesheet-vline.svg</file>
|
||||
<file>dark/stylesheet-branch-more.svg</file>
|
||||
<file>dark/branch_closed.svg</file>
|
||||
<file>dark/branch_closed-on.svg</file>
|
||||
<file>dark/branch_open.svg</file>
|
||||
<file>dark/branch_open-on.svg</file>
|
||||
<file>dark/down_arrow.svg</file>
|
||||
<file>dark/down_arrow_disabled.svg</file>
|
||||
<file>dark/down_arrow-hover.svg</file>
|
||||
<file>dark/left_arrow.svg</file>
|
||||
<file>dark/left_arrow_disabled.svg</file>
|
||||
<file>dark/right_arrow.svg</file>
|
||||
<file>dark/right_arrow_disabled.svg</file>
|
||||
<file>dark/up_arrow.svg</file>
|
||||
<file>dark/up_arrow_disabled.svg</file>
|
||||
<file>dark/up_arrow-hover.svg</file>
|
||||
<file>dark/sizegrip.svg</file>
|
||||
<file>dark/transparent.svg</file>
|
||||
<file>dark/close.svg</file>
|
||||
<file>dark/close-hover.svg</file>
|
||||
<file>dark/close-pressed.svg</file>
|
||||
<file>dark/undock.svg</file>
|
||||
<file>dark/undock-hover.svg</file>
|
||||
<file>dark/checkbox_checked.svg</file>
|
||||
<file>dark/checkbox_checked_disabled.svg</file>
|
||||
<file>dark/checkbox_indeterminate.svg</file>
|
||||
<file>dark/checkbox_indeterminate_disabled.svg</file>
|
||||
<file>dark/checkbox_unchecked.svg</file>
|
||||
<file>dark/checkbox_unchecked_disabled.svg</file>
|
||||
<file>dark/radio_checked.svg</file>
|
||||
<file>dark/radio_checked_disabled.svg</file>
|
||||
<file>dark/radio_unchecked.svg</file>
|
||||
<file>dark/radio_unchecked_disabled.svg</file>
|
||||
<file>light.qss</file>
|
||||
<file>dark.qss</file>
|
||||
</qresource>
|
||||
</RCC>
|
1648
runtime/dark.qss
Normal file
3
runtime/dark/branch_closed-on.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="6" height="9">
|
||||
<path fill="#fff" fill-rule="evenodd" d="M1,8V1L5,4.5Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 94 B |
3
runtime/dark/branch_closed.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="12" height="18">
|
||||
<path fill="#afafaf" d="M5,12V6L9,9Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 78 B |
3
runtime/dark/branch_open-on.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="9" height="6">
|
||||
<path fill="#fff" d="M1,1H8L4.5,5Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 74 B |
3
runtime/dark/branch_open.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="18" height="12">
|
||||
<path fill="#afafaf" d="M5.5,3H12.5L9,9Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 82 B |
5
runtime/dark/checkbox_checked.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#58d3ff"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#58d3ff"/>
|
||||
<path d="M5,5 h8 v8 h-8 v-8 z" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 330 B |
5
runtime/dark/checkbox_checked_disabled.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#c8c9ca"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#c8c9ca"/>
|
||||
<path d="M5,5 h8 v8 h-8 v-8 z" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 330 B |
7
runtime/dark/checkbox_indeterminate.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#58d3ff"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#58d3ff"/>
|
||||
<path d="M5,5 h8 v8 h-0.9 v-7.1 h-7.1 z" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
<path d="M13,13 h-8 v-8 h0.9 v7.1 h7.1 z" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
<path d="M13,5 L 5,13 v-8 h8 z" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 492 B |
7
runtime/dark/checkbox_indeterminate_disabled.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#c8c9ca"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#c8c9ca"/>
|
||||
<path d="M5,5 h8 v8 h-0.9 v-7.1 h-7.1 z" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
<path d="M13,13 h-8 v-8 h0.9 v7.1 h7.1 z" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
<path d="M13,5 L 5,13 v-8 h8 z" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 492 B |
4
runtime/dark/checkbox_unchecked.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#58d3ff"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#58d3ff"/>
|
||||
</svg>
|
After Width: | Height: | Size: 260 B |
4
runtime/dark/checkbox_unchecked_disabled.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#c8c9ca"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#c8c9ca"/>
|
||||
</svg>
|
After Width: | Height: | Size: 260 B |
3
runtime/dark/close-hover.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="1200" height="1200">
|
||||
<path d="M 600,1050 C 351.472,1050 150,848.528 150,600 150,351.472 351.472,150 600,150 c 248.528,0 450,201.472 450,450 0,248.528 -201.472,450 -450,450 z M 888.462,827.851 661.974,601.122 l 0,-2.244 226.488,-226.729 0,-60.611 -60.848,0 Q 727.339,411.986 627.043,512.451 613.524,525.358 600,538.267 l -226.487,-226.729 -61.975,0 0,60.611 L 538.026,600 311.538,826.729 l 0,61.733 60.848,0 q 34.363,-34.792 68.735,-69.59 L 600,661.733 l 226.487,226.729 61.975,0 0,-60.611 z" fill="#b37979"/>
|
||||
</svg>
|
After Width: | Height: | Size: 530 B |
3
runtime/dark/close-pressed.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="1200" height="1200">
|
||||
<path d="M 600,1050 C 351.472,1050 150,848.528 150,600 150,351.472 351.472,150 600,150 c 248.528,0 450,201.472 450,450 0,248.528 -201.472,450 -450,450 z M 888.462,827.851 661.974,601.122 l 0,-2.244 226.488,-226.729 0,-60.611 -60.848,0 Q 727.339,411.986 627.043,512.451 613.524,525.358 600,538.267 l -226.487,-226.729 -61.975,0 0,60.611 L 538.026,600 311.538,826.729 l 0,61.733 60.848,0 q 34.363,-34.792 68.735,-69.59 L 600,661.733 l 226.487,226.729 61.975,0 0,-60.611 z" fill="#b33e3e"/>
|
||||
</svg>
|
After Width: | Height: | Size: 530 B |
3
runtime/dark/close.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="1200" height="1200">
|
||||
<path d="M 600,1050 C 351.472,1050 150,848.528 150,600 150,351.472 351.472,150 600,150 c 248.528,0 450,201.472 450,450 0,248.528 -201.472,450 -450,450 z M 888.462,827.851 661.974,601.122 l 0,-2.244 226.488,-226.729 0,-60.611 -60.848,0 Q 727.339,411.986 627.043,512.451 613.524,525.358 600,538.267 l -226.487,-226.729 -61.975,0 0,60.611 L 538.026,600 311.538,826.729 l 0,61.733 60.848,0 q 34.363,-34.792 68.735,-69.59 L 600,661.733 l 226.487,226.729 61.975,0 0,-60.611 z" fill="#626568"/>
|
||||
</svg>
|
After Width: | Height: | Size: 530 B |
3
runtime/dark/down_arrow-hover.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,0.91769718 4.5,4.2280182 7.8105408,0.91627648 c 0.1577125,-0.157702 0.4134624,-0.157702 0.5711749,0 0.1577124,0.15770202 0.1577124,0.41343492 0,0.57113692 l -3.5961283,3.5973102 0,0 0,0 c -0.1577124,0.1577019 -0.4134624,0.1577019 -0.5711748,0 L 0.6182843,1.4874134 c -0.1577124,-0.157702 -0.1577124,-0.4134349 0,-0.57113692 0.1577125,-0.15628131 0.4134624,-0.15628131 0.5711749,0.00142 z" fill="#3daee9"/>
|
||||
</svg>
|
After Width: | Height: | Size: 554 B |
3
runtime/dark/down_arrow.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,0.91769718 4.5,4.2280182 7.8105408,0.91627648 c 0.1577125,-0.157702 0.4134624,-0.157702 0.5711749,0 0.1577124,0.15770202 0.1577124,0.41343492 0,0.57113692 l -3.5961283,3.5973102 0,0 0,0 c -0.1577124,0.1577019 -0.4134624,0.1577019 -0.5711748,0 L 0.6182843,1.4874134 c -0.1577124,-0.157702 -0.1577124,-0.4134349 0,-0.57113692 0.1577125,-0.15628131 0.4134624,-0.15628131 0.5711749,0.00142 z" fill="#fff"/>
|
||||
</svg>
|
After Width: | Height: | Size: 551 B |
3
runtime/dark/down_arrow_disabled.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,0.91769718 4.5,4.2280182 7.8105408,0.91627648 c 0.1577125,-0.157702 0.4134624,-0.157702 0.5711749,0 0.1577124,0.15770202 0.1577124,0.41343492 0,0.57113692 l -3.5961283,3.5973102 0,0 0,0 c -0.1577124,0.1577019 -0.4134624,0.1577019 -0.5711748,0 L 0.6182843,1.4874134 c -0.1577124,-0.157702 -0.1577124,-0.4134349 0,-0.57113692 0.1577125,-0.15628131 0.4134624,-0.15628131 0.5711749,0.00142 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 554 B |
4
runtime/dark/hmovetoolbar.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="16px" height="64px" viewBox="0 0 16 64" enable-background="new 0 0 16 64" xml:space="preserve">
|
||||
<rect fill="#5f5f5f" x="2" y="1" width="1" height="62.5"/>
|
||||
<rect fill="#5f5f5f" x="9" y="1" width="1" height="62.5"/>
|
||||
</svg>
|
After Width: | Height: | Size: 253 B |
3
runtime/dark/hsepartoolbar.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="7px" height="63px" viewBox="0 0 7 63" enable-background="new 0 0 7 63" xml:space="preserve">
|
||||
<rect fill="#5f5f5f" x="2" y="13" width="1" height="37"/>
|
||||
</svg>
|
After Width: | Height: | Size: 188 B |
3
runtime/dark/left_arrow.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="6px" height="9px" viewBox="0 0 6 9" enable-background="new 0 0 6 9" xml:space="preserve">
|
||||
<path d="m 5.0823028,1.1894593 -3.310321,3.3105408 3.3117417,3.3105408 c 0.157702,0.1577125 0.157702,0.4134624 0,0.5711749 -0.157702,0.1577123 -0.4134349,0.1577123 -0.5711369,0 l -3.59731017,-3.5961283 0,0 0,0 c -0.15770191,-0.1577124 -0.15770191,-0.4134624 0,-0.5711748 L 4.5125866,0.61828437 c 0.157702,-0.1577124 0.4134349,-0.1577124 0.5711369,0 0.1562813,0.1577125 0.1562813,0.41346243 -0.00142,0.57117493 z" fill="#fff"/>
|
||||
</svg>
|
After Width: | Height: | Size: 554 B |
3
runtime/dark/left_arrow_disabled.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="6px" height="9px" viewBox="0 0 6 9" enable-background="new 0 0 6 9" xml:space="preserve">
|
||||
<path d="m 5.0823028,1.1894593 -3.310321,3.3105408 3.3117417,3.3105408 c 0.157702,0.1577125 0.157702,0.4134624 0,0.5711749 -0.157702,0.1577123 -0.4134349,0.1577123 -0.5711369,0 l -3.59731017,-3.5961283 0,0 0,0 c -0.15770191,-0.1577124 -0.15770191,-0.4134624 0,-0.5711748 L 4.5125866,0.61828437 c 0.157702,-0.1577124 0.4134349,-0.1577124 0.5711369,0 0.1562813,0.1577125 0.1562813,0.41346243 -0.00142,0.57117493 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 557 B |
5
runtime/dark/radio_checked.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
<path d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 427 B |
5
runtime/dark/radio_checked_disabled.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
<path d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 427 B |
4
runtime/dark/radio_unchecked.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 341 B |
4
runtime/dark/radio_unchecked_disabled.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 341 B |
3
runtime/dark/right_arrow.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="6" height="9">
|
||||
<path d="m 0.9166972,1.1894593 3.310321,3.3105408 -3.3117417,3.3105408 c -0.157702,0.1577125 -0.157702,0.4134624 0,0.5711749 0.157702,0.1577123 0.4134349,0.1577123 0.5711369,0 l 3.5973102,-3.5961283 0,0 0,0 c 0.1577019,-0.1577124 0.1577019,-0.4134624 0,-0.5711748 L 1.4864134,0.61828437 c -0.157702,-0.1577124 -0.4134349,-0.1577124 -0.5711369,0 -0.1562813,0.1577125 -0.1562813,0.41346243 0.00142,0.57117493 z" fill="#fff"/>
|
||||
</svg>
|
After Width: | Height: | Size: 460 B |
3
runtime/dark/right_arrow_disabled.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="6" height="9">
|
||||
<path d="m 0.9166972,1.1894593 3.310321,3.3105408 -3.3117417,3.3105408 c -0.157702,0.1577125 -0.157702,0.4134624 0,0.5711749 0.157702,0.1577123 0.4134349,0.1577123 0.5711369,0 l 3.5973102,-3.5961283 0,0 0,0 c 0.1577019,-0.1577124 0.1577019,-0.4134624 0,-0.5711748 L 1.4864134,0.61828437 c -0.157702,-0.1577124 -0.4134349,-0.1577124 -0.5711369,0 -0.1562813,0.1577125 -0.1562813,0.41346243 0.00142,0.57117493 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 463 B |
3
runtime/dark/sizegrip.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="1000" height="1000">
|
||||
<path fill="#b0b0b0" d="M22.1,1022.1L-22.1,977.9l1000-1000L1022.1,22.1Zm220,30L197.9,1007.9l1000-1000L1242.1,52.1Zm250,0L447.9,1007.9l1000-1000L1492.1,52.1Zm250,0L697.9,1007.9l1030-1030L1772.1,22.1Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 244 B |
3
runtime/dark/spinup_disabled.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="9" height="6">
|
||||
<path d="M 1.1894592,5.0833028 4.5,1.7729818 7.8105408,5.0847235 c 0.1577125,0.157702 0.4134624,0.157702 0.5711749,0 0.1577124,-0.157702 0.1577124,-0.4134349 0,-0.5711369 l -3.5961283,-3.59731019 0,0 0,0 c -0.1577124,-0.1577019 -0.4134624,-0.1577019 -0.5711748,0 L 0.6182843,4.5135866 c -0.1577124,0.157702 -0.1577124,0.4134349 0,0.5711369 0.1577125,0.1562813 0.4134624,0.1562813 0.5711749,-0.00142 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 455 B |
4
runtime/dark/stylesheet-branch-end-closed.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="81" height="58">
|
||||
<rect id="VLine" fill="#626568" x="36" width="2" height="14"/>
|
||||
<rect id="HLine" fill="#626568" x="65" y="28" height="1" width="28"/>
|
||||
</svg>
|
After Width: | Height: | Size: 173 B |
4
runtime/dark/stylesheet-branch-end-open.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="81" height="58">
|
||||
<rect id="VLine" fill="#626568" x="36" width="2" height="14"/>
|
||||
<rect id="HLine" fill="#626568" x="65" y="28" height="1" width="28"/>
|
||||
</svg>
|
After Width: | Height: | Size: 173 B |
4
runtime/dark/stylesheet-branch-end.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="81" height="58">
|
||||
<rect id="VLine" fill="#626568" x="36" width="2" height="28"/>
|
||||
<rect id="HLine" fill="#626568" x="36" y="28" height="1" width="57"/>
|
||||
</svg>
|
After Width: | Height: | Size: 173 B |
4
runtime/dark/stylesheet-branch-more.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="81" height="58">
|
||||
<rect id="VLine" fill="#626568" x="36" width="2" height="58"/>
|
||||
<rect id="HLine" fill="#626568" x="36" y="30" height="1" width="44"/>
|
||||
</svg>
|
After Width: | Height: | Size: 173 B |
3
runtime/dark/stylesheet-vline.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="81" height="58">
|
||||
<rect fill="#626568" x="36" width="2" height="58"/>
|
||||
</svg>
|
After Width: | Height: | Size: 90 B |
1
runtime/dark/transparent.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg width="64" height="64"/>
|
After Width: | Height: | Size: 30 B |
5
runtime/dark/undock-hover.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg width="1000" height="1000" >
|
||||
<path id="BottomCircle" d="M100,500 a250,250, 0, 1,0, 800,0 M775,500 L500,775 L225,500 z" fill="#a2a2a2" />
|
||||
<path id="TopCircle" d="M900,500 a250,250, 0, 1,0, -800,0 M225,500 L500,225 L775,500 z" fill="#a2a2a2" />
|
||||
<path id="Inside" d="M275,500 L 500,725 L 725,500 L 500,275 z" fill="#a2a2a2" />
|
||||
</svg>
|
After Width: | Height: | Size: 343 B |
3
runtime/dark/undock.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="1000" height="1000" >
|
||||
<path d="M250,500 L 500,750 L 750,500 L 500,250 z" fill="none" stroke="#a2a2a2" stroke-width="50" />
|
||||
</svg>
|
After Width: | Height: | Size: 144 B |
3
runtime/dark/up_arrow-hover.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,5.0833028 4.5,1.7729818 7.8105408,5.0847235 c 0.1577125,0.157702 0.4134624,0.157702 0.5711749,0 0.1577124,-0.157702 0.1577124,-0.4134349 0,-0.5711369 l -3.5961283,-3.59731019 0,0 0,0 c -0.1577124,-0.1577019 -0.4134624,-0.1577019 -0.5711748,0 L 0.6182843,4.5135866 c -0.1577124,0.157702 -0.1577124,0.4134349 0,0.5711369 0.1577125,0.1562813 0.4134624,0.1562813 0.5711749,-0.00142 z" fill="#3daee9"/>
|
||||
</svg>
|
After Width: | Height: | Size: 546 B |
3
runtime/dark/up_arrow.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,5.0833028 4.5,1.7729818 7.8105408,5.0847235 c 0.1577125,0.157702 0.4134624,0.157702 0.5711749,0 0.1577124,-0.157702 0.1577124,-0.4134349 0,-0.5711369 l -3.5961283,-3.59731019 0,0 0,0 c -0.1577124,-0.1577019 -0.4134624,-0.1577019 -0.5711748,0 L 0.6182843,4.5135866 c -0.1577124,0.157702 -0.1577124,0.4134349 0,0.5711369 0.1577125,0.1562813 0.4134624,0.1562813 0.5711749,-0.00142 z" fill="#fff"/>
|
||||
</svg>
|
After Width: | Height: | Size: 543 B |
3
runtime/dark/up_arrow_disabled.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,5.0833028 4.5,1.7729818 7.8105408,5.0847235 c 0.1577125,0.157702 0.4134624,0.157702 0.5711749,0 0.1577124,-0.157702 0.1577124,-0.4134349 0,-0.5711369 l -3.5961283,-3.59731019 0,0 0,0 c -0.1577124,-0.1577019 -0.4134624,-0.1577019 -0.5711748,0 L 0.6182843,4.5135866 c -0.1577124,0.157702 -0.1577124,0.4134349 0,0.5711369 0.1577125,0.1562813 0.4134624,0.1562813 0.5711749,-0.00142 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 546 B |
8
runtime/dark/vmovetoolbar.svg
Normal file
@ -0,0 +1,8 @@
|
||||
<svg x="0px" y="0px" width="54px" height="10px" viewBox="0 0 54 10" enable-background="new 0 0 54 10" xml:space="preserve">
|
||||
<rect id="Dark1" data-name="Dark1" fill="#292c31" x="16" y="1" width="4" height="8"/>
|
||||
<rect id="Light1" data-name="Light1" fill="#7f8795" x="16" y="1" width="3" height="7"/>
|
||||
<rect id="Dark2" data-name="Dark2" fill="#292c31" x="25" y="1" width="4" height="8"/>
|
||||
<rect id="Light2" data-name="Light2" fill="#7f8795" x="25" y="1" width="3" height="7"/>
|
||||
<rect id="Dark3" data-name="Dark3" fill="#292c31" x="34" y="1" width="4" height="8"/>
|
||||
<rect id="Light3" data-name="Light3" fill="#7f8795" x="34" y="1" width="3" height="7"/>
|
||||
</svg>
|
After Width: | Height: | Size: 665 B |
7
runtime/dark/vsepartoolbars.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<svg x="0px" y="0px" width="63px" height="7px" viewBox="0 0 63 7" enable-background="new 0 0 63 7" xml:space="preserve">
|
||||
<rect id="Dark1" data-name="Dark1" fill="#292c31" x="25" y="1" width="1" height="5"/>
|
||||
<rect id="Dark2" data-name="Dark2" fill="#292c31" x="38" y="1" width="1" height="5"/>
|
||||
<rect id="Light1" data-name="Light1" fill="#7f8795" x="23" y="1" width="2" height="5"/>
|
||||
<rect id="Light2" data-name="Light2" fill="#7f8795" x="30" y="1" width="2" height="5"/>
|
||||
<rect id="Light3" data-name="Light3" fill="#7f8795" x="36" y="1" width="2" height="5"/>
|
||||
</svg>
|
After Width: | Height: | Size: 574 B |
1654
runtime/light.qss
Normal file
3
runtime/light/branch_closed-on.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="6" height="9">
|
||||
<path fill="#000" fill-rule="evenodd" d="M1,8V1L5,4.5Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 94 B |
3
runtime/light/branch_closed.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="12" height="18">
|
||||
<path fill="#4b4b4b" d="M5,12V6L9,9Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 78 B |
3
runtime/light/branch_open-on.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="9" height="6">
|
||||
<path fill="#000" d="M1,1H8L4.5,5Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 74 B |
3
runtime/light/branch_open.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="18" height="12">
|
||||
<path fill="#4b4b4b" d="M5.5,3H12.5L9,9Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 82 B |
5
runtime/light/checkbox_checked-hover.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#51c2fc"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#51c2fc"/>
|
||||
<path d="M5,5 h8 v8 h-8 v-8 z" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 330 B |
5
runtime/light/checkbox_checked.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#3daee9"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#3daee9"/>
|
||||
<path d="M5,5 h8 v8 h-8 v-8 z" fill="#3daee9" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 330 B |
5
runtime/light/checkbox_checked_disabled.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#31363B"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#31363B"/>
|
||||
<path d="M5,5 h8 v8 h-8 v-8 z" fill="#31363B" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 330 B |
7
runtime/light/checkbox_indeterminate-hover.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#51c2fc"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#51c2fc"/>
|
||||
<path d="M5,5 h8 v8 h-0.9 v-7.1 h-7.1 z" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
<path d="M13,13 h-8 v-8 h0.9 v7.1 h7.1 z" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
<path d="M13,5 L 5,13 v-8 h8 z" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 492 B |
7
runtime/light/checkbox_indeterminate.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#3daee9"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#3daee9"/>
|
||||
<path d="M5,5 h8 v8 h-0.9 v-7.1 h-7.1 z" fill="#3daee9" fill-rule="evenodd"/>
|
||||
<path d="M13,13 h-8 v-8 h0.9 v7.1 h7.1 z" fill="#3daee9" fill-rule="evenodd"/>
|
||||
<path d="M13,5 L 5,13 v-8 h8 z" fill="#3daee9" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 492 B |
7
runtime/light/checkbox_indeterminate_disabled.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#31363B"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#31363B"/>
|
||||
<path d="M5,5 h8 v8 h-0.9 v-7.1 h-7.1 z" fill="#31363B" fill-rule="evenodd"/>
|
||||
<path d="M13,13 h-8 v-8 h0.9 v7.1 h7.1 z" fill="#31363B" fill-rule="evenodd"/>
|
||||
<path d="M13,5 L 5,13 v-8 h8 z" fill="#31363B" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 492 B |
4
runtime/light/checkbox_unchecked-hover.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#51c2fc"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#51c2fc"/>
|
||||
</svg>
|
After Width: | Height: | Size: 260 B |
4
runtime/light/checkbox_unchecked_disabled.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#31363B"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#31363B"/>
|
||||
</svg>
|
After Width: | Height: | Size: 260 B |
3
runtime/light/close-hover.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="1200" height="1200">
|
||||
<path d="M 600,1050 C 351.472,1050 150,848.528 150,600 150,351.472 351.472,150 600,150 c 248.528,0 450,201.472 450,450 0,248.528 -201.472,450 -450,450 z M 888.462,827.851 661.974,601.122 l 0,-2.244 226.488,-226.729 0,-60.611 -60.848,0 Q 727.339,411.986 627.043,512.451 613.524,525.358 600,538.267 l -226.487,-226.729 -61.975,0 0,60.611 L 538.026,600 311.538,826.729 l 0,61.733 60.848,0 q 34.363,-34.792 68.735,-69.59 L 600,661.733 l 226.487,226.729 61.975,0 0,-60.611 z" fill="#dc7676"/>
|
||||
</svg>
|
After Width: | Height: | Size: 530 B |
3
runtime/light/close-pressed.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="1200" height="1200">
|
||||
<path d="M 600,1050 C 351.472,1050 150,848.528 150,600 150,351.472 351.472,150 600,150 c 248.528,0 450,201.472 450,450 0,248.528 -201.472,450 -450,450 z M 888.462,827.851 661.974,601.122 l 0,-2.244 226.488,-226.729 0,-60.611 -60.848,0 Q 727.339,411.986 627.043,512.451 613.524,525.358 600,538.267 l -226.487,-226.729 -61.975,0 0,60.611 L 538.026,600 311.538,826.729 l 0,61.733 60.848,0 q 34.363,-34.792 68.735,-69.59 L 600,661.733 l 226.487,226.729 61.975,0 0,-60.611 z" fill="#b33e3e"/>
|
||||
</svg>
|
After Width: | Height: | Size: 530 B |
3
runtime/light/close.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="1200" height="1200">
|
||||
<path d="M 600,1050 C 351.472,1050 150,848.528 150,600 150,351.472 351.472,150 600,150 c 248.528,0 450,201.472 450,450 0,248.528 -201.472,450 -450,450 z M 888.462,827.851 661.974,601.122 l 0,-2.244 226.488,-226.729 0,-60.611 -60.848,0 Q 727.339,411.986 627.043,512.451 613.524,525.358 600,538.267 l -226.487,-226.729 -61.975,0 0,60.611 L 538.026,600 311.538,826.729 l 0,61.733 60.848,0 q 34.363,-34.792 68.735,-69.59 L 600,661.733 l 226.487,226.729 61.975,0 0,-60.611 z" fill="#626568"/>
|
||||
</svg>
|
After Width: | Height: | Size: 530 B |
3
runtime/light/down_arrow-hover.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,0.91769718 4.5,4.2280182 7.8105408,0.91627648 c 0.1577125,-0.157702 0.4134624,-0.157702 0.5711749,0 0.1577124,0.15770202 0.1577124,0.41343492 0,0.57113692 l -3.5961283,3.5973102 0,0 0,0 c -0.1577124,0.1577019 -0.4134624,0.1577019 -0.5711748,0 L 0.6182843,1.4874134 c -0.1577124,-0.157702 -0.1577124,-0.4134349 0,-0.57113692 0.1577125,-0.15628131 0.4134624,-0.15628131 0.5711749,0.00142 z" fill="#3daee9"/>
|
||||
</svg>
|
After Width: | Height: | Size: 554 B |
3
runtime/light/down_arrow.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,0.91769718 4.5,4.2280182 7.8105408,0.91627648 c 0.1577125,-0.157702 0.4134624,-0.157702 0.5711749,0 0.1577124,0.15770202 0.1577124,0.41343492 0,0.57113692 l -3.5961283,3.5973102 0,0 0,0 c -0.1577124,0.1577019 -0.4134624,0.1577019 -0.5711748,0 L 0.6182843,1.4874134 c -0.1577124,-0.157702 -0.1577124,-0.4134349 0,-0.57113692 0.1577125,-0.15628131 0.4134624,-0.15628131 0.5711749,0.00142 z" fill="#31363B"/>
|
||||
</svg>
|
After Width: | Height: | Size: 554 B |
3
runtime/light/down_arrow_disabled.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,0.91769718 4.5,4.2280182 7.8105408,0.91627648 c 0.1577125,-0.157702 0.4134624,-0.157702 0.5711749,0 0.1577124,0.15770202 0.1577124,0.41343492 0,0.57113692 l -3.5961283,3.5973102 0,0 0,0 c -0.1577124,0.1577019 -0.4134624,0.1577019 -0.5711748,0 L 0.6182843,1.4874134 c -0.1577124,-0.157702 -0.1577124,-0.4134349 0,-0.57113692 0.1577125,-0.15628131 0.4134624,-0.15628131 0.5711749,0.00142 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 554 B |
5
runtime/light/hmovetoolbar.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="16px" height="64px" viewBox="0 0 16 64" enable-background="new 0 0 16 64" xml:space="preserve">
|
||||
<rect fill="#76797c" x="2" y="1" width="1" height="62.5"/>
|
||||
<rect fill="#76797c" x="9" y="1" width="1" height="62.5"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 254 B |
3
runtime/light/hsepartoolbar.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="7px" height="63px" viewBox="0 0 7 63" enable-background="new 0 0 7 63" xml:space="preserve">
|
||||
<rect fill="#76797c" x="2" y="13" width="1" height="37"/>
|
||||
</svg>
|
After Width: | Height: | Size: 188 B |
3
runtime/light/left_arrow.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="6px" height="9px" viewBox="0 0 6 9" enable-background="new 0 0 6 9" xml:space="preserve">
|
||||
<path d="m 5.0823028,1.1894593 -3.310321,3.3105408 3.3117417,3.3105408 c 0.157702,0.1577125 0.157702,0.4134624 0,0.5711749 -0.157702,0.1577123 -0.4134349,0.1577123 -0.5711369,0 l -3.59731017,-3.5961283 0,0 0,0 c -0.15770191,-0.1577124 -0.15770191,-0.4134624 0,-0.5711748 L 4.5125866,0.61828437 c 0.157702,-0.1577124 0.4134349,-0.1577124 0.5711369,0 0.1562813,0.1577125 0.1562813,0.41346243 -0.00142,0.57117493 z" fill="#31363B"/>
|
||||
</svg>
|
After Width: | Height: | Size: 557 B |
3
runtime/light/left_arrow_disabled.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="6px" height="9px" viewBox="0 0 6 9" enable-background="new 0 0 6 9" xml:space="preserve">
|
||||
<path d="m 5.0823028,1.1894593 -3.310321,3.3105408 3.3117417,3.3105408 c 0.157702,0.1577125 0.157702,0.4134624 0,0.5711749 -0.157702,0.1577123 -0.4134349,0.1577123 -0.5711369,0 l -3.59731017,-3.5961283 0,0 0,0 c -0.15770191,-0.1577124 -0.15770191,-0.4134624 0,-0.5711748 L 4.5125866,0.61828437 c 0.157702,-0.1577124 0.4134349,-0.1577124 0.5711369,0 0.1562813,0.1577125 0.1562813,0.41346243 -0.00142,0.57117493 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 557 B |
5
runtime/light/radio_checked-hover.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
<path d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 427 B |
5
runtime/light/radio_checked.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#3daee9" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#3daee9" fill-rule="evenodd"/>
|
||||
<path d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0" fill="#3daee9" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 427 B |
5
runtime/light/radio_checked_disabled.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#31363B" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#31363B" fill-rule="evenodd"/>
|
||||
<path d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0" fill="#31363B" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 427 B |
4
runtime/light/radio_unchecked-hover.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 341 B |
4
runtime/light/radio_unchecked_disabled.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#31363B" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#31363B" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 341 B |
3
runtime/light/right_arrow.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="6px" height="9px" viewBox="0 0 6 9" enable-background="new 0 0 6 9" xml:space="preserve">
|
||||
<path d="m 0.9166972,1.1894593 3.310321,3.3105408 -3.3117417,3.3105408 c -0.157702,0.1577125 -0.157702,0.4134624 0,0.5711749 0.157702,0.1577123 0.4134349,0.1577123 0.5711369,0 l 3.5973102,-3.5961283 0,0 0,0 c 0.1577019,-0.1577124 0.1577019,-0.4134624 0,-0.5711748 L 1.4864134,0.61828437 c -0.157702,-0.1577124 -0.4134349,-0.1577124 -0.5711369,0 -0.1562813,0.1577125 -0.1562813,0.41346243 0.00142,0.57117493 z" fill="#31363B"/>
|
||||
</svg>
|
After Width: | Height: | Size: 554 B |
3
runtime/light/right_arrow_disabled.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="6" height="9">
|
||||
<path d="m 0.9166972,1.1894593 3.310321,3.3105408 -3.3117417,3.3105408 c -0.157702,0.1577125 -0.157702,0.4134624 0,0.5711749 0.157702,0.1577123 0.4134349,0.1577123 0.5711369,0 l 3.5973102,-3.5961283 0,0 0,0 c 0.1577019,-0.1577124 0.1577019,-0.4134624 0,-0.5711748 L 1.4864134,0.61828437 c -0.157702,-0.1577124 -0.4134349,-0.1577124 -0.5711369,0 -0.1562813,0.1577125 -0.1562813,0.41346243 0.00142,0.57117493 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 463 B |
3
runtime/light/sizegrip.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="1000" height="1000">
|
||||
<path fill="#b0b0b0" d="M22.1,1022.1L-22.1,977.9l1000-1000L1022.1,22.1Zm220,30L197.9,1007.9l1000-1000L1242.1,52.1Zm250,0L447.9,1007.9l1000-1000L1492.1,52.1Zm250,0L697.9,1007.9l1030-1030L1772.1,22.1Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 244 B |
3
runtime/light/spinup_disabled.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="9" height="6">
|
||||
<path d="M 1.1894592,5.0833028 4.5,1.7729818 7.8105408,5.0847235 c 0.1577125,0.157702 0.4134624,0.157702 0.5711749,0 0.1577124,-0.157702 0.1577124,-0.4134349 0,-0.5711369 l -3.5961283,-3.59731019 0,0 0,0 c -0.1577124,-0.1577019 -0.4134624,-0.1577019 -0.5711748,0 L 0.6182843,4.5135866 c -0.1577124,0.157702 -0.1577124,0.4134349 0,0.5711369 0.1577125,0.1562813 0.4134624,0.1562813 0.5711749,-0.00142 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 455 B |
4
runtime/light/stylesheet-branch-end-closed.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="81" height="58">
|
||||
<rect id="VLine" fill="#bcbfc2" x="36" width="2" height="14"/>
|
||||
<rect id="HLine" fill="#bcbfc2" x="65" y="28" height="1" width="28"/>
|
||||
</svg>
|
After Width: | Height: | Size: 173 B |
4
runtime/light/stylesheet-branch-end-open.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="81" height="58">
|
||||
<rect id="VLine" fill="#bcbfc2" x="36" width="2" height="14"/>
|
||||
<rect id="HLine" fill="#bcbfc2" x="65" y="28" height="1" width="28"/>
|
||||
</svg>
|
After Width: | Height: | Size: 173 B |
4
runtime/light/stylesheet-branch-end.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="81" height="58">
|
||||
<rect id="VLine" fill="#bcbfc2" x="36" width="2" height="28"/>
|
||||
<rect id="HLine" fill="#bcbfc2" x="36" y="28" height="1" width="57"/>
|
||||
</svg>
|
After Width: | Height: | Size: 173 B |
4
runtime/light/stylesheet-branch-more.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="81" height="58">
|
||||
<rect id="VLine" fill="#bcbfc2" x="36" width="2" height="58"/>
|
||||
<rect id="HLine" fill="#bcbfc2" x="36" y="30" height="1" width="44"/>
|
||||
</svg>
|
After Width: | Height: | Size: 173 B |
3
runtime/light/stylesheet-vline.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="81" height="58">
|
||||
<rect fill="#bcbfc2" x="36" width="2" height="58"/>
|
||||
</svg>
|
After Width: | Height: | Size: 90 B |
1
runtime/light/transparent.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg width="64" height="64"/>
|
After Width: | Height: | Size: 30 B |
5
runtime/light/undock-hover.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg width="1000" height="1000" >
|
||||
<path id="BottomCircle" d="M100,500 a250,250, 0, 1,0, 800,0 M775,500 L500,775 L225,500 z" fill="#a2a2a2" />
|
||||
<path id="TopCircle" d="M900,500 a250,250, 0, 1,0, -800,0 M225,500 L500,225 L775,500 z" fill="#a2a2a2" />
|
||||
<path id="Inside" d="M275,500 L 500,725 L 725,500 L 500,275 z" fill="#a2a2a2" />
|
||||
</svg>
|
After Width: | Height: | Size: 343 B |
3
runtime/light/undock.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="1000" height="1000" >
|
||||
<path d="M250,500 L 500,750 L 750,500 L 500,250 z" fill="none" stroke="#a2a2a2" stroke-width="50" />
|
||||
</svg>
|
After Width: | Height: | Size: 144 B |
3
runtime/light/up_arrow-hover.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,5.0833028 4.5,1.7729818 7.8105408,5.0847235 c 0.1577125,0.157702 0.4134624,0.157702 0.5711749,0 0.1577124,-0.157702 0.1577124,-0.4134349 0,-0.5711369 l -3.5961283,-3.59731019 0,0 0,0 c -0.1577124,-0.1577019 -0.4134624,-0.1577019 -0.5711748,0 L 0.6182843,4.5135866 c -0.1577124,0.157702 -0.1577124,0.4134349 0,0.5711369 0.1577125,0.1562813 0.4134624,0.1562813 0.5711749,-0.00142 z" fill="#3daee9"/>
|
||||
</svg>
|
After Width: | Height: | Size: 546 B |
3
runtime/light/up_arrow.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,5.0833028 4.5,1.7729818 7.8105408,5.0847235 c 0.1577125,0.157702 0.4134624,0.157702 0.5711749,0 0.1577124,-0.157702 0.1577124,-0.4134349 0,-0.5711369 l -3.5961283,-3.59731019 0,0 0,0 c -0.1577124,-0.1577019 -0.4134624,-0.1577019 -0.5711748,0 L 0.6182843,4.5135866 c -0.1577124,0.157702 -0.1577124,0.4134349 0,0.5711369 0.1577125,0.1562813 0.4134624,0.1562813 0.5711749,-0.00142 z" fill="#31363B"/>
|
||||
</svg>
|
After Width: | Height: | Size: 546 B |
3
runtime/light/up_arrow_disabled.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,5.0833028 4.5,1.7729818 7.8105408,5.0847235 c 0.1577125,0.157702 0.4134624,0.157702 0.5711749,0 0.1577124,-0.157702 0.1577124,-0.4134349 0,-0.5711369 l -3.5961283,-3.59731019 0,0 0,0 c -0.1577124,-0.1577019 -0.4134624,-0.1577019 -0.5711748,0 L 0.6182843,4.5135866 c -0.1577124,0.157702 -0.1577124,0.4134349 0,0.5711369 0.1577125,0.1562813 0.4134624,0.1562813 0.5711749,-0.00142 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 546 B |
8
runtime/light/vmovetoolbar.svg
Normal file
@ -0,0 +1,8 @@
|
||||
<svg x="0px" y="0px" width="54px" height="10px" viewBox="0 0 54 10" enable-background="new 0 0 54 10" xml:space="preserve">
|
||||
<rect id="Dark1" data-name="Dark1" fill="#292c31" x="16" y="1" width="4" height="8"/>
|
||||
<rect id="Light1" data-name="Light1" fill="#7f8795" x="16" y="1" width="3" height="7"/>
|
||||
<rect id="Dark2" data-name="Dark2" fill="#292c31" x="25" y="1" width="4" height="8"/>
|
||||
<rect id="Light2" data-name="Light2" fill="#7f8795" x="25" y="1" width="3" height="7"/>
|
||||
<rect id="Dark3" data-name="Dark3" fill="#292c31" x="34" y="1" width="4" height="8"/>
|
||||
<rect id="Light3" data-name="Light3" fill="#7f8795" x="34" y="1" width="3" height="7"/>
|
||||
</svg>
|
After Width: | Height: | Size: 665 B |
7
runtime/light/vsepartoolbars.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<svg x="0px" y="0px" width="63px" height="7px" viewBox="0 0 63 7" enable-background="new 0 0 63 7" xml:space="preserve">
|
||||
<rect id="Dark1" data-name="Dark1" fill="#292c31" x="25" y="1" width="1" height="5"/>
|
||||
<rect id="Dark2" data-name="Dark2" fill="#292c31" x="38" y="1" width="1" height="5"/>
|
||||
<rect id="Light1" data-name="Light1" fill="#7f8795" x="23" y="1" width="2" height="5"/>
|
||||
<rect id="Light2" data-name="Light2" fill="#7f8795" x="30" y="1" width="2" height="5"/>
|
||||
<rect id="Light3" data-name="Light3" fill="#7f8795" x="36" y="1" width="2" height="5"/>
|
||||
</svg>
|
After Width: | Height: | Size: 574 B |
17
runtime/macos.h
Normal file
@ -0,0 +1,17 @@
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// pgAdmin 4 - PostgreSQL Tools
|
||||
//
|
||||
// Copyright (C) 2013 - 2020, The pgAdmin Development Team
|
||||
// This software is released under the PostgreSQL Licence
|
||||
//
|
||||
// macos.h - macOS-specific Objective-C/C++ functions
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef MACOS_H
|
||||
#define MACOS_H
|
||||
|
||||
bool IsDarkMode();
|
||||
|
||||
#endif // MACOS_H
|
22
runtime/macos.mm
Normal file
@ -0,0 +1,22 @@
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// pgAdmin 4 - PostgreSQL Tools
|
||||
//
|
||||
// Copyright (C) 2013 - 2020, The pgAdmin Development Team
|
||||
// This software is released under the PostgreSQL Licence
|
||||
//
|
||||
// macos.mm - macOS-specific Objective-C/C++ functions
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
// Detect if we're running in Dark mode
|
||||
bool IsDarkMode() {
|
||||
if (@available(macOS 10.14, *)) {
|
||||
NSString *interfaceStyle = [NSUserDefaults.standardUserDefaults valueForKey:@"AppleInterfaceStyle"];
|
||||
return [interfaceStyle isEqualToString:@"Dark"];
|
||||
} else {
|
||||
return NO;
|
||||
}
|
||||
}
|
@ -38,6 +38,10 @@
|
||||
#include "FloatingWindow.h"
|
||||
#include "Logger.h"
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
#include "macos.h"
|
||||
#endif
|
||||
|
||||
#include <QTime>
|
||||
|
||||
QString logFileName;
|
||||
@ -58,6 +62,42 @@ int main(int argc, char * argv[])
|
||||
QApplication app(argc, argv);
|
||||
app.setQuitOnLastWindowClosed(false);
|
||||
|
||||
// Setup the styling
|
||||
#ifndef Q_OS_LINUX
|
||||
QFile stylesheet;
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
QSettings registry("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize", QSettings::Registry64Format);
|
||||
if (registry.value("AppsUseLightTheme", true).toBool())
|
||||
{
|
||||
qDebug( "Windows Light Mode...");
|
||||
stylesheet.setFileName(":/light.qss");
|
||||
}
|
||||
else
|
||||
{
|
||||
qDebug( "Windows Dark Mode..." );
|
||||
stylesheet.setFileName(":/dark.qss");
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
if (IsDarkMode())
|
||||
{
|
||||
qDebug( "macOS Dark Mode...");
|
||||
stylesheet.setFileName(":/dark.qss");
|
||||
}
|
||||
else
|
||||
{
|
||||
qDebug( "macOS Light Mode..." );
|
||||
stylesheet.setFileName(":/light.qss");
|
||||
}
|
||||
#endif
|
||||
|
||||
stylesheet.open(QFile::ReadOnly | QFile::Text);
|
||||
QTextStream stream(&stylesheet);
|
||||
app.setStyleSheet(stream.readAll());
|
||||
#endif
|
||||
|
||||
// Setup the settings management
|
||||
QCoreApplication::setOrganizationName("pgadmin");
|
||||
QCoreApplication::setOrganizationDomain("pgadmin.org");
|
||||
|
@ -102,11 +102,18 @@ SOURCES = pgAdmin4.cpp \
|
||||
MenuActions.cpp \
|
||||
FloatingWindow.cpp \
|
||||
Logger.cpp
|
||||
|
||||
FORMS = ConfigWindow.ui \
|
||||
LogWindow.ui \
|
||||
FloatingWindow.ui
|
||||
ICON = pgAdmin4.icns
|
||||
QMAKE_INFO_PLIST = Info.plist
|
||||
|
||||
RESOURCES += pgadmin4.qrc
|
||||
RESOURCES += pgadmin4.qrc \
|
||||
breeze.qrc
|
||||
|
||||
macx {
|
||||
HEADERS += macos.h
|
||||
OBJECTIVE_SOURCES = macos.mm
|
||||
}
|
||||
|
||||
|