Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checkbox image for wallet themes #868

Merged
merged 3 commits into from
Jun 6, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/Makefile.qt.include
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,8 @@ RES_IMAGES = \
qt/res/images/drkblue/splash.png \
qt/res/images/drkblue/splash_testnet.png \
qt/res/images/drkblue/dash_logo_horizontal.png \
qt/res/images/drkblue/unchecked.png \
qt/res/images/drkblue/checked.png \
qt/res/images/drkblue/drkblue_downArrow.png \
qt/res/images/drkblue/drkblue_downArrow_small.png \
qt/res/images/drkblue/drkblue_upArrow_small.png \
Expand All @@ -434,6 +436,8 @@ RES_IMAGES = \
qt/res/images/crownium/splash.png \
qt/res/images/crownium/splash_testnet.png \
qt/res/images/crownium/dash_logo_horizontal.png \
qt/res/images/crownium/unchecked.png \
qt/res/images/crownium/checked.png \
qt/res/images/crownium/drkblue_downArrow.png \
qt/res/images/crownium/drkblue_downArrow_small.png \
qt/res/images/crownium/drkblue_upArrow_small.png \
Expand All @@ -445,6 +449,8 @@ RES_IMAGES = \
qt/res/images/light/splash.png \
qt/res/images/light/splash_testnet.png \
qt/res/images/light/dash_logo_horizontal.png \
qt/res/images/light/unchecked.png \
qt/res/images/light/checked.png \
qt/res/images/light/drkblue_downArrow.png \
qt/res/images/light/drkblue_downArrow_small.png \
qt/res/images/light/drkblue_upArrow_small.png \
Expand Down
6 changes: 6 additions & 0 deletions src/qt/dash.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@
<qresource prefix="/images/drkblue">
<file alias="about">res/images/drkblue/about.png</file>
<file alias="dash_logo_horizontal">res/images/drkblue/dash_logo_horizontal.png</file>
<file alias="unchecked">res/images/drkblue/unchecked.png</file>
<file alias="checked">res/images/drkblue/checked.png</file>
<file alias="drkblue_downArrow">res/images/drkblue/drkblue_downArrow.png</file>
<file alias="drkblue_downArrow_small">res/images/drkblue/drkblue_downArrow_small.png</file>
<file alias="drkblue_upArrow_small">res/images/drkblue/drkblue_upArrow_small.png</file>
Expand All @@ -223,6 +225,8 @@
<qresource prefix="/images/crownium">
<file alias="about">res/images/crownium/about.png</file>
<file alias="dash_logo_horizontal">res/images/crownium/dash_logo_horizontal.png</file>
<file alias="unchecked">res/images/crownium/unchecked.png</file>
<file alias="checked">res/images/crownium/checked.png</file>
<file alias="drkblue_downArrow">res/images/crownium/drkblue_downArrow.png</file>
<file alias="drkblue_downArrow_small">res/images/crownium/drkblue_downArrow_small.png</file>
<file alias="drkblue_upArrow_small">res/images/crownium/drkblue_upArrow_small.png</file>
Expand All @@ -236,6 +240,8 @@
<qresource prefix="/images/light">
<file alias="about">res/images/light/about.png</file>
<file alias="dash_logo_horizontal">res/images/light/dash_logo_horizontal.png</file>
<file alias="unchecked">res/images/light/unchecked.png</file>
<file alias="checked">res/images/light/checked.png</file>
<file alias="drkblue_downArrow">res/images/light/drkblue_downArrow.png</file>
<file alias="drkblue_downArrow_small">res/images/light/drkblue_downArrow_small.png</file>
<file alias="drkblue_upArrow_small">res/images/light/drkblue_upArrow_small.png</file>
Expand Down
44 changes: 44 additions & 0 deletions src/qt/res/css/crownium.css
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,47 @@ QAbstractSpinBox::down-arrow {
image:url(':/images/crownium/drkblue_downArrow_small');
}

QCheckBox {
spacing: 5px;
}

QCheckBox::indicator {
width: 16px;
height: 16px;
}

QCheckBox::indicator:unchecked {
image:url(':/images/crownium/unchecked');
}

QCheckBox::indicator:unchecked:hover {
image:url(':/images/crownium/unchecked');
}

QCheckBox::indicator:unchecked:pressed {
image:url(':/images/crownium/checked');
}

QCheckBox::indicator:checked {
image:url(':/images/crownium/checked');
}

QCheckBox::indicator:checked:hover {
image:url(':/images/crownium/checked');
}

QCheckBox::indicator:checked:pressed {
image:url(':/images/crownium/unchecked');
}

QCheckBox::indicator:indeterminate:hover {
image:url(':/images/crownium/unchecked');
}

QCheckBox::indicator:indeterminate:pressed {
image:url(':/images/crownium/checked');
}

/*******************************************************/

QHeaderView { /* Table Header */
Expand Down Expand Up @@ -1221,6 +1262,9 @@ padding-bottom:20px; */
min-height:27px;
}

#checkboxSubtractFeeFromAmount {
padding-left:10px;
}

/* SEND COINS ENTRY */

Expand Down
44 changes: 44 additions & 0 deletions src/qt/res/css/drkblue.css
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,47 @@ QAbstractSpinBox::down-arrow {
image:url(':/images/drkblue/drkblue_downArrow_small');
}

QCheckBox {
spacing: 5px;
}

QCheckBox::indicator {
width: 16px;
height: 16px;
}

QCheckBox::indicator:unchecked {
image:url(':/images/drkblue/unchecked');
}

QCheckBox::indicator:unchecked:hover {
image:url(':/images/drkblue/unchecked');
}

QCheckBox::indicator:unchecked:pressed {
image:url(':/images/drkblue/checked');
}

QCheckBox::indicator:checked {
image:url(':/images/drkblue/checked');
}

QCheckBox::indicator:checked:hover {
image:url(':/images/drkblue/checked');
}

QCheckBox::indicator:checked:pressed {
image:url(':/images/drkblue/unchecked');
}

QCheckBox::indicator:indeterminate:hover {
image:url(':/images/drkblue/unchecked');
}

QCheckBox::indicator:indeterminate:pressed {
image:url(':/images/drkblue/checked');
}

/*******************************************************/

QHeaderView { /* Table Header */
Expand Down Expand Up @@ -1205,6 +1246,9 @@ padding-bottom:20px; */
min-height:27px;
}

#checkboxSubtractFeeFromAmount {
padding-left:10px;
}

/* SEND COINS ENTRY */

Expand Down
45 changes: 45 additions & 0 deletions src/qt/res/css/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,47 @@ QAbstractSpinBox::down-arrow {
image:url(':/images/light/drkblue_downArrow_small');
}

QCheckBox {
spacing: 5px;
}

QCheckBox::indicator {
width: 16px;
height: 16px;
}

QCheckBox::indicator:unchecked {
image:url(':/images/light/unchecked');
}

QCheckBox::indicator:unchecked:hover {
image:url(':/images/light/unchecked');
}

QCheckBox::indicator:unchecked:pressed {
image:url(':/images/light/checked');
}

QCheckBox::indicator:checked {
image:url(':/images/light/checked');
}

QCheckBox::indicator:checked:hover {
image:url(':/images/light/checked');
}

QCheckBox::indicator:checked:pressed {
image:url(':/images/light/unchecked');
}

QCheckBox::indicator:indeterminate:hover {
image:url(':/images/light/unchecked');
}

QCheckBox::indicator:indeterminate:pressed {
image:url(':/images/light/checked');
}

/*******************************************************/

QHeaderView { /* Table Header */
Expand Down Expand Up @@ -1211,6 +1252,10 @@ padding-bottom:20px; */
min-height:27px;
}

#checkboxSubtractFeeFromAmount {
padding-left:10px;
}


/* SEND COINS ENTRY */

Expand Down
Binary file added src/qt/res/images/crownium/checked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/images/crownium/unchecked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/images/drkblue/checked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/images/drkblue/unchecked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/images/light/checked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/images/light/unchecked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.