Skip to content

Commit

Permalink
Icon copy changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Neoperol authored and furszy committed Aug 28, 2019
1 parent 465b055 commit 7e40e4f
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Makefile.qt.include
Expand Up @@ -541,6 +541,8 @@ RES_ICONS = \
qt/pivx/res/img/img-nav-logo-pivx.png \
qt/pivx/res/img/ic-arrow-right.svg \
qt/pivx/res/img/ic-copy.svg \
qt/pivx/res/img/ic-copy-big.svg \
qt/pivx/res/img/ic-copy-big-white.svg \
qt/pivx/res/img/ic-submenu-unlock.svg \
qt/pivx/res/img/img-nav-logo.png \
qt/pivx/res/img/ic-arrow-white-left.svg \
Expand Down
2 changes: 2 additions & 0 deletions src/qt/pivx.qrc
Expand Up @@ -196,6 +196,8 @@
<file alias="ic-connect">pivx/res/img/ic-connect.svg</file>
<file alias="ic-copy-liliac">pivx/res/img/ic-copy-liliac.svg</file>
<file alias="ic-copy">pivx/res/img/ic-copy.svg</file>
<file alias="ic-copy-big">pivx/res/img/ic-copy-big.svg</file>
<file alias="ic-copy-big-white">pivx/res/img/ic-copy-big-white.svg</file>
<file alias="ic-exit">pivx/res/img/ic-exit.svg</file>
<file alias="ic-expand">pivx/res/img/ic-expand.svg</file>
<file alias="ic-folder">pivx/res/img/ic-folder.svg</file>
Expand Down
7 changes: 7 additions & 0 deletions src/qt/pivx/res/css/style_dark.css
Expand Up @@ -2240,6 +2240,13 @@ HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH*/
border:none;
}

*[cssClass="ic-copy-big"] {
qproperty-icon: url("://ic-copy-big-white") off,
url("://ic-copy-big-white") on ;
qproperty-iconSize: 24px 24px;
background-color: transparent;
border:none;
}

*[cssClass="ic-close"] {
qproperty-icon: url("://ic-close-white");
Expand Down
8 changes: 8 additions & 0 deletions src/qt/pivx/res/css/style_light.css
Expand Up @@ -2220,6 +2220,14 @@ HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH*/
border:none;
}

*[cssClass="ic-copy-big"] {
qproperty-icon: url("://ic-copy-big") off,
url("://ic-copy-big") on ;
qproperty-iconSize: 24px 24px;
background-color: transparent;
border:none;
}

*[cssClass="ic-close"] {
qproperty-icon: url("://ic-close") off,
url("://ic-close") on ;
Expand Down
16 changes: 16 additions & 0 deletions src/qt/pivx/res/img/ic-copy-big-white.svg
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/qt/pivx/res/img/ic-copy-big.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/qt/pivx/sendconfirmdialog.cpp
Expand Up @@ -62,7 +62,7 @@ TxDetailDialog::TxDetailDialog(QWidget *parent, bool isConfirmDialog) :



ui->pushCopy->setProperty("cssClass", "ic-copy");
ui->pushCopy->setProperty("cssClass", "ic-copy-big");

ui->pushInputs->setProperty("cssClass", "ic-arrow-down");
ui->pushOutputs->setProperty("cssClass", "ic-arrow-down");
Expand Down

0 comments on commit 7e40e4f

Please sign in to comment.