Skip to content

Commit

Permalink
Add missing DarkStyle SVG icons
Browse files Browse the repository at this point in the history
Add missing DarkStyle SVG icons.
  • Loading branch information
ensisoft committed Nov 27, 2024
1 parent 0068a56 commit 379f264
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 2 deletions.
6 changes: 4 additions & 2 deletions editor/gui/darkstyle/darkstyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ QDockWidget::title{
border-bottom:2px solid rgba(25,25,25,75);
}
QDockWidget{
titlebar-close-icon:url(:/darkstyle/icon_close.png);
titlebar-normal-icon:url(:/darkstyle/icon_restore.png);
titlebar-close-icon:url(:/darkstyle/icons/close.svg);
titlebar-normal-icon:url(:/darkstyle/icons/restore.svg);
}
QDockWidget::close-button,QDockWidget::float-button{
subcontrol-position:top right;
Expand Down Expand Up @@ -300,6 +300,8 @@ QTabBar::tab:!selected{
QTabBar::close-button {
border:1px solid transparent;
border-radius:2px;
image: url(:/darkstyle/icons/close.svg);
padding: 6px;
}
QTabBar::close-button:hover {
background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(106,106,106,255),stop:1 rgba(106,106,106,75));
Expand Down
2 changes: 2 additions & 0 deletions editor/gui/darkstyle/darkstyle.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
<RCC version="1.0">
<qresource prefix="/darkstyle">
<file>wave.png</file>
<file>icons/restore.svg</file>
<file>icons/close.svg</file>
</qresource>
</RCC>
16 changes: 16 additions & 0 deletions editor/gui/darkstyle/icons/close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions editor/gui/darkstyle/icons/maximize.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions editor/gui/darkstyle/icons/minimize.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions editor/gui/darkstyle/icons/restore.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 379f264

Please sign in to comment.