Index: sources/gui/qml/pages/treatment/TreatmentSectionHeader.qml =================================================================== diff -u -rec9c06478bddf4cadf546aa4a49bb18b224f3b50 -r6c3a4b048006ebd90c85cfa943d2b9615dc808f3 --- sources/gui/qml/pages/treatment/TreatmentSectionHeader.qml (.../TreatmentSectionHeader.qml) (revision ec9c06478bddf4cadf546aa4a49bb18b224f3b50) +++ sources/gui/qml/pages/treatment/TreatmentSectionHeader.qml (.../TreatmentSectionHeader.qml) (revision 6c3a4b048006ebd90c85cfa943d2b9615dc808f3) @@ -24,11 +24,14 @@ property bool editEnabled : true property bool showLock : false property bool showEdit : true + property bool showExpanding : false + property int titleLeftMargin: Variables.defaultMargin * 2 property bool setEditActive : true // set to disable edit no matter what - signal editClicked - signal lockClicked + signal editClicked() + signal lockClicked() + signal expandingClicked() color : Colors.treatmentSectionHeader height : Variables.contentHeight + (Variables.defaultMargin * 2) @@ -58,6 +61,20 @@ color: Colors.textTextRectLabel } + ArrowButton {id : _expandingArrows + objectName : "expandingArrows" + + anchors { + verticalCenter : _title.verticalCenter + right : _editButton.left + rightMargin : Variables.defaultMargin * 2 + } + iconSize : Variables.iconButtonSize + visible : showExpanding + expandingArrow : true + onClicked : _root.expandingClicked() + } + IconButton { id : _lockButton anchors { verticalCenter : _title.verticalCenter