mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-13 22:05:48 +00:00
update DP
update aw-kde4
This commit is contained in:
@ -146,8 +146,8 @@ Item {
|
||||
PlasmaCore.ToolTipArea {
|
||||
id: rootTooltip
|
||||
mainItem: Text {
|
||||
id: tooltip
|
||||
textFormat: Text.RichText
|
||||
id: tooltip
|
||||
textFormat: Text.RichText
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -180,6 +180,8 @@ Item {
|
||||
}
|
||||
|
||||
Plasmoid.onUserConfiguringChanged: {
|
||||
if (debug) console.log("[main::onUserConfiguringChanged]")
|
||||
|
||||
// init submodule
|
||||
AWKeys.initKeys(plasmoid.configuration.text, tooltipSettings)
|
||||
}
|
||||
|
@ -122,10 +122,10 @@ QString AWKeys::parsePattern(const QString pattern)
|
||||
if (!ready) return pattern;
|
||||
|
||||
QString parsed = pattern;
|
||||
parsed.replace(QString(" "), QString(" "));
|
||||
parsed.replace(QString("$$"), QString("$\\$\\"));
|
||||
for (int i=0; i<foundKeys.count(); i++)
|
||||
parsed.replace(QString("$") + foundKeys[i], valueByKey(foundKeys[i]));
|
||||
parsed.replace(QString(" "), QString(" "));
|
||||
for (int i=0; i<foundBars.count(); i++)
|
||||
parsed.replace(QString("$") + foundBars[i], getItemByTag(foundBars[i])->image(valueByKey(foundBars[i]).toFloat()));
|
||||
parsed.replace(QString("$\\$\\"), QString("$$"));
|
||||
|
Reference in New Issue
Block a user