From 0cd2ff68131ad2e2a2cd80eda06c04db78ea828e Mon Sep 17 00:00:00 2001 From: arcan1s Date: Thu, 20 Nov 2014 06:01:56 +0300 Subject: [PATCH] rewrite all ui interfaces t oKDE standards --- sources/awesome-widget/advanced.ui | 192 ++++++++------ sources/awesome-widget/appearance.ui | 180 ++----------- sources/awesome-widget/deconfig.ui | 150 ++--------- sources/awesome-widget/graphicalitem.ui | 10 +- sources/awesome-widget/tooltipconfig.ui | 330 +++--------------------- sources/desktop-panel/appearance.ui | 252 +----------------- sources/desktop-panel/widget.ui | 57 +--- sources/ext-sysmon/extscript.ui | 48 ---- 8 files changed, 202 insertions(+), 1017 deletions(-) diff --git a/sources/awesome-widget/advanced.ui b/sources/awesome-widget/advanced.ui index 1b298e4..07247b3 100644 --- a/sources/awesome-widget/advanced.ui +++ b/sources/awesome-widget/advanced.ui @@ -41,35 +41,81 @@ 0 - -239 + 0 675 - 813 + 822 - - - Enable background - - + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 0 + 0 + + + + Enable popup on mouse click + + + + - - - Enable popup on mouse click - - + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 0 + 0 + + + + Enable background + + + + - - - 200 - 0 - + + + 0 + 0 + Custom time format @@ -107,11 +153,11 @@ $s - seconds w\o zero - - - 200 - 0 - + + + 0 + 0 + Custom uptime format @@ -139,12 +185,6 @@ $m - uptime minutes without zero - - - 200 - 0 - - Temperature units @@ -153,27 +193,8 @@ $m - uptime minutes without zero - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - 180 - 0 - - Celsius @@ -337,15 +358,12 @@ $m - uptime minutes without zero - - - 200 - 0 - - Disable auto select device and set specified device + + Qt::RightToLeft + Set network device @@ -353,12 +371,6 @@ $m - uptime minutes without zero - - - 0 - 0 - - true @@ -370,11 +382,11 @@ $m - uptime minutes without zero - - - 200 - 0 - + + + 0 + 0 + AC online tag @@ -400,11 +412,11 @@ $m - uptime minutes without zero - - - 200 - 0 - + + + 0 + 0 + AC offline tag @@ -432,18 +444,9 @@ $m - uptime minutes without zero - - - 200 - 0 - - Bars - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - @@ -478,11 +481,34 @@ $m - uptime minutes without zero - - - Check for updates - - + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 0 + 0 + + + + Check for updates + + + + diff --git a/sources/awesome-widget/appearance.ui b/sources/awesome-widget/appearance.ui index 0614fe1..e602229 100644 --- a/sources/awesome-widget/appearance.ui +++ b/sources/awesome-widget/appearance.ui @@ -51,41 +51,16 @@ - - - 200 - 0 - - Time interval - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 180 - 0 - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + 1 @@ -106,30 +81,14 @@ - - - 200 - 0 - - Font + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + - - - - Qt::Horizontal - - - - 40 - 20 - - - - @@ -146,41 +105,16 @@ - - - 200 - 0 - - Font size - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 180 - 0 - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + 1 @@ -201,39 +135,16 @@ - - - 200 - 0 - - Font color + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 180 - 0 - - - + @@ -241,38 +152,16 @@ - - - 200 - 0 - - Font style + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - 180 - 0 - - normal @@ -291,41 +180,16 @@ - - - 200 - 0 - - Font weight - - - - - - Qt::Horizontal - - - - 40 - 19 - - - - - - - - - 180 - 0 - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + 100 diff --git a/sources/awesome-widget/deconfig.ui b/sources/awesome-widget/deconfig.ui index 177e509..76bc39f 100644 --- a/sources/awesome-widget/deconfig.ui +++ b/sources/awesome-widget/deconfig.ui @@ -51,11 +51,11 @@ - - - 200 - 0 - + + + 0 + 0 + hddtemp cmd @@ -66,11 +66,7 @@ - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - + @@ -78,12 +74,6 @@ - - - 200 - 0 - - GPU device @@ -94,18 +84,6 @@ - - - 0 - 0 - - - - - 100 - 0 - - auto @@ -134,12 +112,6 @@ - - - 200 - 0 - - HDD @@ -149,20 +121,7 @@ - - - - 0 - 0 - - - - - 100 - 0 - - - + @@ -170,11 +129,11 @@ - - - 200 - 0 - + + + 0 + 0 + Music player @@ -192,12 +151,6 @@ 0 - - - 100 - 0 - - mpris @@ -216,12 +169,6 @@ - - - 200 - 0 - - MPD port @@ -230,30 +177,8 @@ - - - - Qt::Horizontal - - - - 40 - 19 - - - - - - - 180 - 0 - - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - 0 @@ -274,11 +199,11 @@ - - - 200 - 0 - + + + 0 + 0 + MPD address @@ -289,11 +214,7 @@ - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - + @@ -314,11 +235,11 @@ - - - 200 - 0 - + + + 0 + 0 + ACPI path @@ -353,11 +274,11 @@ - - - 200 - 0 - + + + 0 + 0 + MPRIS player name @@ -375,12 +296,6 @@ 0 - - - 100 - 0 - - true @@ -470,18 +385,9 @@ del - remove item - - - 200 - 0 - - Custom scripts - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - diff --git a/sources/awesome-widget/graphicalitem.ui b/sources/awesome-widget/graphicalitem.ui index 4f66036..a5afb71 100644 --- a/sources/awesome-widget/graphicalitem.ui +++ b/sources/awesome-widget/graphicalitem.ui @@ -39,11 +39,11 @@ - - - 200 - 0 - + + + 0 + 0 + Comment diff --git a/sources/awesome-widget/tooltipconfig.ui b/sources/awesome-widget/tooltipconfig.ui index e7562dd..f7b52f3 100644 --- a/sources/awesome-widget/tooltipconfig.ui +++ b/sources/awesome-widget/tooltipconfig.ui @@ -64,41 +64,16 @@ - - - 200 - 0 - - Number of values for tooltips - - - - - - Qt::Horizontal - - - - 40 - 19 - - - - - - - - - 180 - 0 - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + 50 @@ -119,11 +94,8 @@ - - - 200 - 0 - + + Qt::RightToLeft Background @@ -134,27 +106,7 @@ - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 180 - 0 - - - + @@ -162,11 +114,8 @@ - - - 200 - 0 - + + Qt::RightToLeft CPU color @@ -177,27 +126,7 @@ - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 180 - 0 - - - + @@ -205,11 +134,8 @@ - - - 200 - 0 - + + Qt::RightToLeft CPU clock color @@ -220,27 +146,7 @@ - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 180 - 0 - - - + @@ -248,11 +154,8 @@ - - - 200 - 0 - + + Qt::RightToLeft Memory color @@ -263,27 +166,7 @@ - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 180 - 0 - - - + @@ -291,11 +174,8 @@ - - - 200 - 0 - + + Qt::RightToLeft Swap color @@ -306,27 +186,7 @@ - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 180 - 0 - - - + @@ -334,11 +194,8 @@ - - - 200 - 0 - + + Qt::RightToLeft Download speed color @@ -349,83 +206,24 @@ - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 180 - 0 - - - + - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 20 - 20 - - - - - - - 180 - 0 - - Upload speed color + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 180 - 0 - - - + @@ -433,11 +231,8 @@ - - - 200 - 0 - + + Qt::RightToLeft Battery active color @@ -448,83 +243,24 @@ - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 180 - 0 - - - + - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 20 - 20 - - - - - - - 180 - 0 - - Battery inactive color + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 180 - 0 - - - + diff --git a/sources/desktop-panel/appearance.ui b/sources/desktop-panel/appearance.ui index 946cfa5..cb3f472 100644 --- a/sources/desktop-panel/appearance.ui +++ b/sources/desktop-panel/appearance.ui @@ -49,18 +49,6 @@ - - - 0 - 0 - - - - - 200 - 0 - - Font @@ -70,20 +58,7 @@ - - - - 0 - 0 - - - - - 180 - 23 - - - + @@ -91,18 +66,6 @@ - - - 0 - 0 - - - - - 200 - 0 - - Font size @@ -113,18 +76,6 @@ - - - 0 - 0 - - - - - 100 - 23 - - 7 @@ -142,18 +93,6 @@ - - - 0 - 0 - - - - - 200 - 0 - - Font color @@ -163,20 +102,7 @@ - - - - 0 - 0 - - - - - 100 - 23 - - - + @@ -184,18 +110,6 @@ - - - 0 - 0 - - - - - 200 - 0 - - Font weight @@ -206,18 +120,6 @@ - - - 0 - 0 - - - - - 100 - 23 - - 100 @@ -238,18 +140,6 @@ - - - 0 - 0 - - - - - 200 - 0 - - Font style @@ -260,18 +150,6 @@ - - - 0 - 0 - - - - - 100 - 23 - - normal @@ -329,18 +207,6 @@ - - - 0 - 0 - - - - - 200 - 0 - - Font @@ -350,20 +216,7 @@ - - - - 0 - 0 - - - - - 180 - 23 - - - + @@ -371,18 +224,6 @@ - - - 0 - 0 - - - - - 200 - 0 - - Font size @@ -393,18 +234,6 @@ - - - 0 - 0 - - - - - 100 - 23 - - 7 @@ -422,18 +251,6 @@ - - - 0 - 0 - - - - - 200 - 0 - - Font color @@ -443,20 +260,7 @@ - - - - 0 - 0 - - - - - 100 - 23 - - - + @@ -464,18 +268,6 @@ - - - 0 - 0 - - - - - 200 - 0 - - Font weight @@ -486,18 +278,6 @@ - - - 0 - 0 - - - - - 100 - 23 - - 100 @@ -518,18 +298,6 @@ - - - 0 - 0 - - - - - 200 - 0 - - Font style @@ -540,18 +308,6 @@ - - - 0 - 0 - - - - - 100 - 23 - - normal diff --git a/sources/desktop-panel/widget.ui b/sources/desktop-panel/widget.ui index a8f91bf..2ea28ff 100644 --- a/sources/desktop-panel/widget.ui +++ b/sources/desktop-panel/widget.ui @@ -24,18 +24,6 @@ - - - 0 - 0 - - - - - 200 - 0 - - Mark @@ -46,12 +34,6 @@ - - - 0 - 0 - - A mark which will be shown if this desktop is active @@ -328,12 +310,6 @@ - - - 0 - 0 - - Tooltip width @@ -344,18 +320,6 @@ - - - 0 - 0 - - - - - 180 - 0 - - px @@ -376,12 +340,6 @@ - - - 0 - 0 - - Window border color on tooltip @@ -391,20 +349,7 @@ - - - - 0 - 0 - - - - - 180 - 0 - - - + diff --git a/sources/ext-sysmon/extscript.ui b/sources/ext-sysmon/extscript.ui index 70fb891..235c136 100644 --- a/sources/ext-sysmon/extscript.ui +++ b/sources/ext-sysmon/extscript.ui @@ -24,12 +24,6 @@ 0 - - - 200 - 0 - - Name @@ -53,12 +47,6 @@ 0 - - - 200 - 0 - - Comment @@ -82,12 +70,6 @@ 0 - - - 200 - 0 - - Command @@ -111,12 +93,6 @@ 0 - - - 200 - 0 - - Prefix @@ -194,12 +170,6 @@ - - - 0 - 0 - - Redirect @@ -210,12 +180,6 @@ - - - 0 - 0 - - stdout2stderr @@ -239,12 +203,6 @@ - - - 0 - 0 - - Interval @@ -255,12 +213,6 @@ - - - 0 - 0 - - 1