Skip to content

Commit

Permalink
Merge pull request #277 from mottosso/check-icon
Browse files Browse the repository at this point in the history
Check icon
  • Loading branch information
mottosso authored Dec 18, 2017
2 parents d9005f2 + 52307d5 commit 1a35024
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion pyblish_qml/qml/Pyblish/CheckBox.qml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,15 @@ MouseArea {

anchors.centerIn: parent

color: "transparent"
color: {
if (status == "success")
return Qt.darker(check.color, 1.5)
if (status == "warning")
return Qt.darker(check.color, 1.5)
if (status == "error")
return Qt.darker(check.color, 1.5)
return "transparent"
}
border.color: check.color
border.width: 1
}
Expand Down
2 changes: 1 addition & 1 deletion pyblish_qml/qml/Pyblish/ListItems/SectionItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Item {
property string text

property var statuses: {
"default": "#222",
"default": "#ddd",
"processing": Theme.primaryColor,
"success": Theme.dark.successColor,
"warning": Theme.dark.warningColor,
Expand Down
2 changes: 1 addition & 1 deletion pyblish_qml/version.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

VERSION_MAJOR = 1
VERSION_MINOR = 7
VERSION_PATCH = 0
VERSION_PATCH = 1

version_info = (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH)
version = '%i.%i.%i' % version_info
Expand Down

0 comments on commit 1a35024

Please sign in to comment.