add formatter configuration to ui

This commit is contained in:
2016-05-15 01:18:18 +03:00
parent 6bd7788aa9
commit 301a908aed
15 changed files with 604 additions and 39 deletions

View File

@ -31,6 +31,9 @@ Item {
AWActions {
id: awActions
}
AWFormatterConfigFactory {
id: awFormatter
}
width: childrenRect.width
height: childrenRect.height
@ -320,10 +323,15 @@ Item {
height: implicitHeight
width: parent.width
QtControls.Button {
width: parent.width * 3 / 5
width: parent.width * 3 / 10
text: i18n("Edit bars")
onClicked: awKeys.editItem("graphicalitem")
}
QtControls.Button {
width: parent.width * 3 / 10
text: i18n("Formatters")
onClicked: awFormatter.showDialog(awKeys.dictKeys(true))
}
QtControls.Button {
width: parent.width * 2 / 5
text: i18n("Preview")