The buttons use png icons instead of svg

This commit is contained in:
lupoDharkael
2017-05-25 13:18:08 +02:00
parent b39177567f
commit bc1f442d21
36 changed files with 54 additions and 46 deletions

View File

@@ -1,37 +1,37 @@
<RCC>
<qresource prefix="/">
<file>img/flameshot.svg</file>
<file>img/buttonIconsBlack/arrow-bottom-left.svg</file>
<file>img/buttonIconsBlack/circle-outline.svg</file>
<file>img/buttonIconsBlack/close.svg</file>
<file>img/buttonIconsBlack/cloud-upload.svg</file>
<file>img/buttonIconsBlack/content-copy.svg</file>
<file>img/buttonIconsBlack/content-save.svg</file>
<file>img/buttonIconsBlack/exit-to-app.svg</file>
<file>img/buttonIconsBlack/format-text.svg</file>
<file>img/buttonIconsBlack/line.svg</file>
<file>img/buttonIconsBlack/marker.svg</file>
<file>img/buttonIconsBlack/mouse.svg</file>
<file>img/buttonIconsBlack/mouse-off.svg</file>
<file>img/buttonIconsBlack/pencil.svg</file>
<file>img/buttonIconsBlack/square-outline.svg</file>
<file>img/buttonIconsBlack/undo-variant.svg</file>
<file>img/buttonIconsWhite/arrow-bottom-left.svg</file>
<file>img/buttonIconsWhite/square-outline.svg</file>
<file>img/buttonIconsWhite/undo-variant.svg</file>
<file>img/buttonIconsWhite/circle-outline.svg</file>
<file>img/buttonIconsWhite/close.svg</file>
<file>img/buttonIconsWhite/cloud-upload.svg</file>
<file>img/buttonIconsWhite/content-copy.svg</file>
<file>img/buttonIconsWhite/content-save.svg</file>
<file>img/buttonIconsWhite/exit-to-app.svg</file>
<file>img/buttonIconsWhite/format-text.svg</file>
<file>img/buttonIconsWhite/line.svg</file>
<file>img/buttonIconsWhite/marker.svg</file>
<file>img/buttonIconsWhite/mouse-off.svg</file>
<file>img/buttonIconsWhite/mouse.svg</file>
<file>img/buttonIconsWhite/pencil.svg</file>
<file>img/buttonIconsBlack/cursor-move.svg</file>
<file>img/buttonIconsWhite/cursor-move.svg</file>
<file>img/buttonIconsBlack/arrow-bottom-left.png</file>
<file>img/buttonIconsBlack/circle-outline.png</file>
<file>img/buttonIconsBlack/close.png</file>
<file>img/buttonIconsBlack/cloud-upload.png</file>
<file>img/buttonIconsBlack/content-copy.png</file>
<file>img/buttonIconsBlack/content-save.png</file>
<file>img/buttonIconsBlack/exit-to-app.png</file>
<file>img/buttonIconsBlack/format-text.png</file>
<file>img/buttonIconsBlack/line.png</file>
<file>img/buttonIconsBlack/marker.png</file>
<file>img/buttonIconsBlack/mouse.png</file>
<file>img/buttonIconsBlack/mouse-off.png</file>
<file>img/buttonIconsBlack/pencil.png</file>
<file>img/buttonIconsBlack/square-outline.png</file>
<file>img/buttonIconsBlack/undo-variant.png</file>
<file>img/buttonIconsWhite/arrow-bottom-left.png</file>
<file>img/buttonIconsWhite/square-outline.png</file>
<file>img/buttonIconsWhite/undo-variant.png</file>
<file>img/buttonIconsWhite/circle-outline.png</file>
<file>img/buttonIconsWhite/close.png</file>
<file>img/buttonIconsWhite/cloud-upload.png</file>
<file>img/buttonIconsWhite/content-copy.png</file>
<file>img/buttonIconsWhite/content-save.png</file>
<file>img/buttonIconsWhite/exit-to-app.png</file>
<file>img/buttonIconsWhite/format-text.png</file>
<file>img/buttonIconsWhite/line.png</file>
<file>img/buttonIconsWhite/marker.png</file>
<file>img/buttonIconsWhite/mouse-off.png</file>
<file>img/buttonIconsWhite/mouse.png</file>
<file>img/buttonIconsWhite/pencil.png</file>
<file>img/buttonIconsBlack/cursor-move.png</file>
<file>img/buttonIconsWhite/cursor-move.png</file>
</qresource>
</RCC>

View File

@@ -0,0 +1,4 @@
[Dolphin]
PreviewsShown=true
Timestamp=2017,5,25,13,7,52
Version=3

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 469 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 387 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

View File

@@ -0,0 +1,4 @@
[Dolphin]
PreviewsShown=true
Timestamp=2017,5,25,12,50,24
Version=3

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

View File

@@ -93,46 +93,46 @@ QIcon Button::getIcon(const Type t, bool isWhite) {
switch (t) {
case Type::arrow:
path += "arrow-bottom-left.svg";
path += "arrow-bottom-left.png";
break;
case Type::circle:
path += "circle-outline.svg";
path += "circle-outline.png";
break;
case Type::colorPicker:
path += "square-outline.svg";
path += "square-outline.png";
break;
case Type::copy:
path += "content-copy.svg";
path += "content-copy.png";
break;
case Type::exit:
path += "close.svg";
path += "close.png";
break;
case Type::imageUploader:
path += "cloud-upload.svg";
path += "cloud-upload.png";
break;
case Type::line:
path += "line.svg";
path += "line.png";
break;
case Type::marker:
path += "marker.svg";
path += "marker.png";
break;
case Type::pencil:
path += "pencil.svg";
path += "pencil.png";
break;
case Type::rectangle:
path += "square-outline.svg";
path += "square-outline.png";
break;
case Type::save:
path += "content-save.svg";
path += "content-save.png";
break;
case Type::text:
path += "format-text.svg";
path += "format-text.png";
break;
case Type::undo:
path += "undo-variant.svg";
path += "undo-variant.png";
break;
case Type::move:
path += "cursor-move.svg";
path += "cursor-move.png";
break;
default:
break;