mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-24 23:47:20 +00:00
replace buttons in dataengine page
This commit is contained in:
parent
3ee1d4c30e
commit
a326ebdabf
@ -215,72 +215,24 @@ Item {
|
|||||||
Column {
|
Column {
|
||||||
height: implicitHeight
|
height: implicitHeight
|
||||||
width: parent.width
|
width: parent.width
|
||||||
Row {
|
ButtonSelector {
|
||||||
height: implicitHeight
|
value: i18n("Custom scripts")
|
||||||
width: parent.width
|
onButtonActivated: awKeys.editItem("extscript")
|
||||||
QtControls.Label {
|
|
||||||
height: parent.height
|
|
||||||
width: parent.width * 2 / 5
|
|
||||||
horizontalAlignment: Text.AlignRight
|
|
||||||
verticalAlignment: Text.AlignVCenter
|
|
||||||
text: i18n("Custom scripts")
|
|
||||||
}
|
|
||||||
QtControls.Button {
|
|
||||||
width: parent.width * 3 / 5
|
|
||||||
text: i18n("Edit scripts")
|
|
||||||
onClicked: awKeys.editItem("extscript")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Row {
|
ButtonSelector {
|
||||||
height: implicitHeight
|
value: i18n("Quotes monitor")
|
||||||
width: parent.width
|
onButtonActivated: awKeys.editItem("extquotes")
|
||||||
QtControls.Label {
|
|
||||||
height: parent.height
|
|
||||||
width: parent.width * 2 / 5
|
|
||||||
horizontalAlignment: Text.AlignRight
|
|
||||||
verticalAlignment: Text.AlignVCenter
|
|
||||||
text: i18n("Quotes monitor")
|
|
||||||
}
|
|
||||||
QtControls.Button {
|
|
||||||
width: parent.width * 3 / 5
|
|
||||||
text: i18n("Edit tickers")
|
|
||||||
onClicked: awKeys.editItem("extquotes")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Row {
|
ButtonSelector {
|
||||||
height: implicitHeight
|
value: i18n("Package manager")
|
||||||
width: parent.width
|
onButtonActivated: awKeys.editItem("extupgrade")
|
||||||
QtControls.Label {
|
|
||||||
height: parent.height
|
|
||||||
width: parent.width * 2 / 5
|
|
||||||
horizontalAlignment: Text.AlignRight
|
|
||||||
verticalAlignment: Text.AlignVCenter
|
|
||||||
text: i18n("Package manager")
|
|
||||||
}
|
|
||||||
QtControls.Button {
|
|
||||||
width: parent.width * 3 / 5
|
|
||||||
text: i18n("Edit command")
|
|
||||||
onClicked: awKeys.editItem("extupgrade")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Row {
|
ButtonSelector {
|
||||||
height: implicitHeight
|
value: i18n("Weather")
|
||||||
width: parent.width
|
onButtonActivated: awKeys.editItem("extweather")
|
||||||
QtControls.Label {
|
|
||||||
height: parent.height
|
|
||||||
width: parent.width * 2 / 5
|
|
||||||
horizontalAlignment: Text.AlignRight
|
|
||||||
verticalAlignment: Text.AlignVCenter
|
|
||||||
text: i18n("Weather")
|
|
||||||
}
|
|
||||||
QtControls.Button {
|
|
||||||
width: parent.width * 3 / 5
|
|
||||||
text: i18n("Edit weather")
|
|
||||||
onClicked: awKeys.editItem("extweather")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user