From 7f4dfe106007c1ea256fef22cecd3306eb3b6959 Mon Sep 17 00:00:00 2001 From: arcan1s Date: Wed, 6 May 2015 00:31:37 +0300 Subject: [PATCH] * more correct sizes in the configuration interface * remove additional debug information * increase limits for extscripts intervals to 10000 (fix #48) --- .../awesome-widget-kf5/package/contents/ui/advanced.qml | 8 ++++---- .../awesome-widget-kf5/package/contents/ui/dataengine.qml | 1 - sources/awesome-widget-kf5/package/contents/ui/widget.qml | 1 + sources/awesome-widget-kf5/plugin/graphicalitem.h | 2 +- sources/extsysmon/extquotes.cpp | 1 - sources/extsysmon/extquotes.h | 2 +- sources/extsysmon/extscript.h | 2 +- sources/extsysmon/extscript.ui | 3 +++ sources/extsysmon/extupgrade.h | 2 +- 9 files changed, 12 insertions(+), 10 deletions(-) diff --git a/sources/awesome-widget-kf5/package/contents/ui/advanced.qml b/sources/awesome-widget-kf5/package/contents/ui/advanced.qml index a1beb92..6076415 100644 --- a/sources/awesome-widget-kf5/package/contents/ui/advanced.qml +++ b/sources/awesome-widget-kf5/package/contents/ui/advanced.qml @@ -49,14 +49,14 @@ Item { width: parent.width QtControls.Label { height: parent.height - width: parent.width / 3 + width: parent.width * 2 / 5 horizontalAlignment: Text.AlignRight verticalAlignment: Text.AlignVCenter text: i18n("Widget height, px") } QtControls.SpinBox { id: widgetHeight - width: parent.width * 2 / 3 + width: parent.width * 3 / 5 minimumValue: 0 maximumValue: 4096 stepSize: 50 @@ -69,14 +69,14 @@ Item { width: parent.width QtControls.Label { height: parent.height - width: parent.width / 3 + width: parent.width * 2 / 5 horizontalAlignment: Text.AlignRight verticalAlignment: Text.AlignVCenter text: i18n("Widget width, px") } QtControls.SpinBox { id: widgetWidth - width: parent.width * 2 / 3 + width: parent.width * 3 / 5 minimumValue: 0 maximumValue: 4096 stepSize: 50 diff --git a/sources/awesome-widget-kf5/package/contents/ui/dataengine.qml b/sources/awesome-widget-kf5/package/contents/ui/dataengine.qml index b24182e..d7f6ae4 100644 --- a/sources/awesome-widget-kf5/package/contents/ui/dataengine.qml +++ b/sources/awesome-widget-kf5/package/contents/ui/dataengine.qml @@ -107,7 +107,6 @@ Item { model: ["auto", "disable", "ati", "nvidia"] Component.onCompleted: { for (var i=0; i ExtQuotes::run() if (debug) qDebug() << PDEBUG; if (!m_active) return values; - qDebug() << PDEBUG << times; if (times == 1) { if (debug) qDebug() << PDEBUG << ":" << "Send request"; QNetworkAccessManager *manager = new QNetworkAccessManager(this); diff --git a/sources/extsysmon/extquotes.h b/sources/extsysmon/extquotes.h index 7d982fb..de78475 100644 --- a/sources/extsysmon/extquotes.h +++ b/sources/extsysmon/extquotes.h @@ -27,7 +27,7 @@ class QNetworkReply; namespace Ui { -class ExtQuotes; + class ExtQuotes; } class ExtQuotes : public QDialog diff --git a/sources/extsysmon/extscript.h b/sources/extsysmon/extscript.h index b869762..b2ba2a0 100644 --- a/sources/extsysmon/extscript.h +++ b/sources/extsysmon/extscript.h @@ -22,7 +22,7 @@ namespace Ui { -class ExtScript; + class ExtScript; } class ExtScript : public QDialog diff --git a/sources/extsysmon/extscript.ui b/sources/extsysmon/extscript.ui index 235c136..bcba85d 100644 --- a/sources/extsysmon/extscript.ui +++ b/sources/extsysmon/extscript.ui @@ -216,6 +216,9 @@ 1 + + 10000 + diff --git a/sources/extsysmon/extupgrade.h b/sources/extsysmon/extupgrade.h index 6604b49..6b155c6 100644 --- a/sources/extsysmon/extupgrade.h +++ b/sources/extsysmon/extupgrade.h @@ -22,7 +22,7 @@ namespace Ui { -class ExtUpgrade; + class ExtUpgrade; } class ExtUpgrade : public QDialog