update translations

add notifications
edit resizing
fix reading ps
some fixes
This commit is contained in:
arcan1s
2015-02-11 05:04:56 +03:00
parent 8055647f34
commit 061244b1d0
29 changed files with 8757 additions and 2659 deletions

View File

@ -44,11 +44,6 @@ Item {
Plasmoid.preferredRepresentation: Plasmoid.fullRepresentation
Plasmoid.compactRepresentation: Plasmoid.fullRepresentation
Layout.fillWidth: plasmoid.formFactor != PlasmaCore.Planar
Layout.fillHeight: plasmoid.formFactor != PlasmaCore.Planar
Layout.minimumWidth: width
Layout. minimumHeight: height
Plasmoid.icon: "utilities-system-monitor"
Plasmoid.backgroundHints: plasmoid.configuration.background ? "DefaultBackground" : "NoBackground"
@ -60,6 +55,8 @@ Item {
Repeater {
id: repeater
height: implicitHeight
width: implicitWidth
model: DPAdds.numberOfDesktops()
Text {
id: text
@ -126,12 +123,11 @@ Item {
repeater.itemAt(i).font.weight = general.fontWeight[plasmoid.configuration.fontWeight]
}
repeater.itemAt(i).update()
newHeight += repeater.itemAt(i).height
newWidth += repeater.itemAt(i).width
newHeight += repeater.itemAt(i).contentHeight
newWidth += repeater.itemAt(i).contentWidth
}
height = newHeight
width = newHeight
update()
Layout.minimumHeight = newHeight
Layout.minimumWidth = newWidth
needTooltipUpdate()
}