addressing comments on #36

This commit is contained in:
erinn 2020-12-16 17:34:15 -08:00
parent 6b285e4bbc
commit a998ebc935
4 changed files with 3 additions and 11 deletions

View File

@ -6,9 +6,9 @@ import "theme"
Opaque.Column { Opaque.Column {
id: root id: root
//: Show //: Show
readonly property string strShow: qsTr("collapser-show") readonly property string strShow: qsTr("collapser-show")
//: Hide //: Hide
readonly property string strHide: qsTr("collapser-hide") readonly property string strHide: qsTr("collapser-hide")
property string textShow: strShow property string textShow: strShow

View File

@ -193,7 +193,6 @@ Item {
height: root.size * 0.8 height: root.size * 0.8
color: Theme.dividerColor color: Theme.dividerColor
visible: !root.narrowMode && !root.searchMode visible: !root.narrowMode && !root.searchMode
//anchors.verticalCenter: parent.verticalCenter
} }
Item { Item {

View File

@ -29,7 +29,6 @@ Item {
Rectangle { Rectangle {
id: mainImage id: mainImage
//anchors.leftMargin: baseWidth * 0.1
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
width: parent.width * 0.8 width: parent.width * 0.8

View File

@ -3,12 +3,8 @@ import QtQuick.Controls.Styles 1.4
import QtQuick 2.12 import QtQuick 2.12
import "theme" import "theme"
// ToggleSwtch implements a stylized toggle switch. It requires the user create a function called onToggled to // ToggleSwtch implements a stylized toggle switch.
// perform any additional operations needed to define the behavior of the toggle switch
Switch { Switch {
//property bool isToggled
//property var onToggled: function () { console.log("In Superclass") };
//checked: isToggled
style: SwitchStyle { style: SwitchStyle {
handle: Rectangle { handle: Rectangle {
implicitWidth: 25 implicitWidth: 25
@ -25,8 +21,6 @@ Switch {
color: checked ? Theme.toggleOnColor :Theme.toggleOffColor color: checked ? Theme.toggleOnColor :Theme.toggleOffColor
} }
} }
//onClicked: function() {onToggled()}
} }