2019-05-13 05:57:18 +10:00
|
|
|
import QtQuick 2.7
|
2019-04-29 05:45:42 +10:00
|
|
|
import QtQuick.Layouts 1.3
|
2019-04-29 05:18:36 +10:00
|
|
|
import "../Base"
|
2019-03-26 18:19:55 +11:00
|
|
|
|
2019-05-12 07:51:00 +10:00
|
|
|
HRectangle {
|
2019-03-26 18:19:55 +11:00
|
|
|
id: sidePane
|
2019-04-29 01:01:38 +10:00
|
|
|
|
2019-05-13 05:57:18 +10:00
|
|
|
property int normalSpacing: 8
|
|
|
|
property bool collapsed: false
|
|
|
|
|
2019-04-29 05:18:36 +10:00
|
|
|
HColumnLayout {
|
2019-03-26 18:19:55 +11:00
|
|
|
anchors.fill: parent
|
|
|
|
|
|
|
|
AccountList {
|
|
|
|
Layout.fillWidth: true
|
|
|
|
Layout.fillHeight: true
|
2019-05-03 04:20:21 +10:00
|
|
|
|
2019-05-13 05:57:18 +10:00
|
|
|
spacing: collapsed ? 0 : normalSpacing
|
|
|
|
topMargin: spacing
|
|
|
|
bottomMargin: spacing
|
|
|
|
Layout.leftMargin: spacing
|
|
|
|
|
|
|
|
Behavior on spacing {
|
2019-05-15 05:15:10 +10:00
|
|
|
NumberAnimation { duration: HStyle.animationDuration }
|
2019-05-13 05:57:18 +10:00
|
|
|
}
|
2019-03-26 18:19:55 +11:00
|
|
|
}
|
|
|
|
|
2019-04-29 02:40:18 +10:00
|
|
|
PaneToolBar {}
|
2019-03-26 18:19:55 +11:00
|
|
|
}
|
|
|
|
}
|