mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2026-11-10 01:20:33 +00:00
update DP
update aw-kde4
This commit is contained in:
1 parent
6e27717dc8
commit
16d7d2bc20
15 files changed
+797
-689
No files matched your search
@@ -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