Skip to content

Commit

Permalink
feat: add DFileChooserEdit light theme
Browse files Browse the repository at this point in the history
Change-Id: I94bdf6b034257442b96ded4fe2ac0cb56d0c58d8
  • Loading branch information
Iceyer authored and deepin-gerrit committed Nov 19, 2017
1 parent 52ccd1e commit 0c77c6f
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/widgets/themes/dui_theme_light.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
<file>light/DSpinBox.theme</file>
<file>light/DTitlebar.theme</file>
<file>light/DBoxWidget.theme</file>
<file>light/DFileChooserEdit.theme</file>
</qresource>
<qresource prefix="/images">
<file>light/images/arrow_down_hover.png</file>
Expand Down Expand Up @@ -143,5 +144,8 @@
<file>light/images/window/unmaximize_hover.svg</file>
<file>light/images/window/unmaximize_normal.svg</file>
<file>light/images/window/unmaximize_press.svg</file>
<file>light/images/loadfile_hover.svg</file>
<file>light/images/loadfile_normal.svg</file>
<file>light/images/loadfile_press.svg</file>
</qresource>
</RCC>
5 changes: 5 additions & 0 deletions src/widgets/themes/light/DFileChooserEdit.theme
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Dtk--Widget--DFileChooserEdit {
qproperty-normalIcon:url(:/images/light/images/loadfile_normal.svg);
qproperty-hoverIcon:url(:/images/light/images/loadfile_hover.svg);
qproperty-pressIcon:url(:/images/light/images/loadfile_press.svg);
}
16 changes: 16 additions & 0 deletions src/widgets/themes/light/images/loadfile_hover.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions src/widgets/themes/light/images/loadfile_normal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions src/widgets/themes/light/images/loadfile_press.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 0c77c6f

Please sign in to comment.