-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Important colors can now be set by the user; refactored quick setting…
…s manager
- Loading branch information
1 parent
617e662
commit daa4f22
Showing
93 changed files
with
1,193 additions
and
729 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import QtQuick | ||
import IconFonts | ||
|
||
Rectangle { | ||
id: root | ||
|
||
property bool enableReset: false | ||
|
||
signal clicked | ||
signal resetClicked | ||
|
||
implicitWidth: 100 | ||
implicitHeight: 40 | ||
|
||
color: "blue" | ||
|
||
border.width: mouse_area.containsMouse ? 1 : 0 | ||
border.color: mouse_area.pressed ? CCColors.buttonPressed : palette.button | ||
|
||
MouseArea { | ||
id: mouse_area | ||
anchors.fill: parent | ||
hoverEnabled: true | ||
|
||
onClicked: root.clicked() | ||
} | ||
|
||
CustomButton { | ||
visible: root.enableReset | ||
anchors.right: parent.right | ||
anchors.top: parent.top | ||
anchors.bottom: parent.bottom | ||
|
||
iconText: FontAwesome.rotateLeft | ||
onClicked: root.resetClicked() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.