Compare commits

..

5 Commits

Author SHA1 Message Date
73e921a8f5 release 1.7.2
edited readme, changelog
2014-04-03 12:05:07 +04:00
7ee4a5dc9d added tooltip screenshot 2014-04-03 12:02:08 +04:00
89efe6c846 edited screenshots 2014-04-03 11:58:49 +04:00
4218a4da08 added scalling to tooltip 2014-04-03 11:46:51 +04:00
0db909d914 Prerelease 1.7.2 2014-04-03 02:32:56 +04:00
26 changed files with 712 additions and 317 deletions

View File

@ -1,3 +1,11 @@
Ver.1.7.2:
+ added tags $dd, $d, $hh, $h, $mm, $m to custom uptime format
+ added scalling to tooltips
+ added dataengine configuration from ptm
+ added custom command to dataengine
- removed custom command from ptm
- removed tags $ds, $hs, $ms
Ver.1.7.1: Ver.1.7.1:
- removed error label - removed error label
* fix bug with zero values in tooltip * fix bug with zero values in tooltip

View File

@ -3,7 +3,7 @@
pkgname=kdeplasma-applets-pytextmonitor pkgname=kdeplasma-applets-pytextmonitor
_pkgname=pytextmonitor _pkgname=pytextmonitor
pkgver=1.7.1 pkgver=1.7.2
pkgrel=1 pkgrel=1
pkgdesc="Minimalistic Plasmoid script written on Python2. It looks like widgets in awesome-wm" pkgdesc="Minimalistic Plasmoid script written on Python2. It looks like widgets in awesome-wm"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
@ -19,7 +19,7 @@ optdepends=("hddtemp: for HDD temperature monitor"
makedepends=('automoc4' 'cmake') makedepends=('automoc4' 'cmake')
source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz) source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz)
install=${pkgname}.install install=${pkgname}.install
md5sums=('bdc5020484c0d5cf9404cdedfb51b341') md5sums=('b1a23c5d38d196297235b5acd5f099ca')
backup=('usr/share/config/extsysmon.conf') backup=('usr/share/config/extsysmon.conf')
build () { build () {

131
README.md
View File

@ -10,68 +10,71 @@ PyTextMonitor is a minimalistic Plasmoid script written on Python2. It looks lik
Configuration Configuration
------------- -------------
For edited output you must open Settings window and setup output format in lines: For edited output you must open Settings window and setup output format in lines:
* label `$time` - time in default format. For example, `fri Nov 6 04:48:01 2013` * tag `$time` - time in default format. For example, `fri Nov 6 04:48:01 2013`
* label `$isotime` - time in iso format * tag `$isotime` - time in iso format
* label `$shorttime` - time in short locale format * tag `$shorttime` - time in short locale format
* label `$longtime` - time in long locale format * tag `$longtime` - time in long locale format
* label `$custom` - custom time format * tag `$custom` - custom time format
* label `$uptime` - uptime, <i>---d--h--m</i> * tag `$uptime` - uptime, <i>---d--h--m</i>
* label `$custom` - custom uptime format * tag `$custom` - custom uptime format
* label `$cpu` - total load cpu, <i>%</i> * tag `$cpu` - total load cpu, <i>%</i>
* label `$cpuN` - load CPU for core N, <i>%</i>. N should be in range 0 to 8 * tag `$cpuN` - load CPU for core N, <i>%</i>. N should be in range 0 to 8
* label `$cpucl` - average cpu clock, <i>MHz</i> * tag `$cpucl` - average cpu clock, <i>MHz</i>
* label `$cpuclN` - cpu clock for core N, <i>MHz</i>. N should be in range 0 to 8 * tag `$cpuclN` - cpu clock for core N, <i>MHz</i>. N should be in range 0 to 8
* label `$tempN` - temperature for device N. For example, `$temp0` * tag `$tempN` - temperature for device N. For example, `$temp0`
* label `$gpu` - GPU usage, <i>%</i>. `aticonfig` or `nvidia-smi` must be installed * tag `$gpu` - GPU usage, <i>%</i>. `aticonfig` or `nvidia-smi` must be installed
* label `$gputemp` - GPU temperature. `aticonfig` or `nvidia-smi` must be installed * tag `$gputemp` - GPU temperature. `aticonfig` or `nvidia-smi` must be installed
* label `$mem` - usage memory, <i>%</i> * tag `$mem` - usage memory, <i>%</i>
* label `$memmb` - usage memory, <i>MB</i> * tag `$memmb` - usage memory, <i>MB</i>
* label `$swap` - swap, <i>%</i> * tag `$swap` - swap, <i>%</i>
* label `$swapmb` - swap, <i>MB</i> * tag `$swapmb` - swap, <i>MB</i>
* label `$hddN` - usage for mount point N, <i>%</i>. For example, `$hdd0` * tag `$hddN` - usage for mount point N, <i>%</i>. For example, `$hdd0`
* label `$hddtempN` - temperature for HDD N. For example, `$hddtemp0` * tag `$hddtempN` - temperature for HDD N. For example, `$hddtemp0`
* label `$down` - download speed, <i>KB/s</i> * tag `$down` - download speed, <i>KB/s</i>
* label `$up` - upload speed, <i>KB/s</i> * tag `$up` - upload speed, <i>KB/s</i>
* label `$netdev` - current network device * tag `$netdev` - current network device
* label `$bat` - battery charge, <i>%</i> * tag `$bat` - battery charge, <i>%</i>
* label `$ac` - status AC device. Return <i>(*)</i> if AC device is online or <i>( )</i> if offline * tag `$ac` - status AC device. Return <i>(*)</i> if AC device is online or <i>( )</i> if offline
* label `$album` - current song album. One of supported music players must be installed * tag `$album` - current song album. One of supported music players must be installed
* label `$artist` - current song artist. One of supported music players must be installed * tag `$artist` - current song artist. One of supported music players must be installed
* label `$progress` - current song progress. One of supported music players must be installed (mpd does not support yet) * tag `$progress` - current song progress. One of supported music players must be installed (mpd does not support yet)
* label `$time` - current song duration. One of supported music players must be installed * tag `$time` - current song duration. One of supported music players must be installed
* label `$title` - current song title. One of supported music players must be installed * tag `$title` - current song title. One of supported music players must be installed
* label `$custom` - returns output for custom command * tag `$custom` - returns output for custom command
Label order will changed if you change slider position. HTML tags in label work normally. Label order will changed if you change slider position. HTML tags in label work normally.
**NOTE** you don't may set to show $cpu in swap label for example. <b>$cpu will work only in cpu label</b>. **NOTE** you don't may set to show $cpu in swap label for example. **$cpu will work only in cpu label**.
Advanced settings Advanced settings
----------------- -----------------
**Custom time** **Custom time**
* label `$dddd` - weekday in long format * tag `$dddd` - weekday in long format
* label `$ddd` - weekday in short format * tag `$ddd` - weekday in short format
* label `$dd` - day * tag `$dd` - day
* label `$d` - day without zero * tag `$d` - day without zero
* label `$MMMM` - month in long format * tag `$MMMM` - month in long format
* label `$MMM` - month in short format * tag `$MMM` - month in short format
* label `$MM` - month * tag `$MM` - month
* label `$M` - month without zero * tag `$M` - month without zero
* label `$yyyy` - year * tag `$yyyy` - year
* label `$yy` - year in short format * tag `$yy` - year in short format
* label `$hh` - hours * tag `$hh` - hours
* label `$h` - hours without zero * tag `$h` - hours without zero
* label `$mm` - minutes * tag `$mm` - minutes
* label `$m` - minutes without zero * tag `$m` - minutes without zero
* label `$ss` - seconds * tag `$ss` - seconds
* label `$s` - seconds without zero * tag `$s` - seconds without zero
**Custom uptime** **Custom uptime**
* label `$ds` - uptime days * tag `$dd` - uptime days
* label `$hs` - uptime hours * tag `$dd` - uptime days without zero
* label `$ms` - uptime minutes * tag `$hh` - uptime hours
* tag `$h` - uptime hours without zero
* tag `$mm` - uptime minutes
* tag `$m` - uptime minutes without zero
**Temperature devices** **Temperature devices**
@ -105,16 +108,34 @@ File with AC information. File (`/sys/class/power_supply/AC/online` by default)
Select one of supported music playes for player label. Select one of supported music playes for player label.
Tooltip settings
----------------
Since version 1.7.0 CPU, CPU clock, memory, swap and network labels support graphical tooltip. To enable them just make the needed checkboxes a fully checked. The number of stored values can be set in the tab. Colors of graphs are configurable too.
DataEngine settings
-------------------
**GPU device**
Select one of supported GPU devices. `auto` will enable auto selection. Default is `auto`.
**HDD**
Select one of HDDs for HDD temperature monitor. `all` will enable monitor for all devices. Default is `all`.
**MPD address**
Address of MPD server. Default is `localhost`.
**MPD port**
Port of MPD server. Default is `6600`.
**Custom command** **Custom command**
*NOTE* This can cause the computer freeze. *NOTE* This can cause the computer freeze.
A command, which will be run for custom label. A command, which will be run for custom label.
Tooltip settings
----------------
Since version 1.7.0 CPU, CPU clock, memory, swap and network labels support graphical tooltip. To enable them just make the needed checkboxes a fully checked. The number of stored values can be set in the tab. Colors of graphs are configurable too.
DataEngine configuration DataEngine configuration
------------------------ ------------------------
You may edit DataEngine configuration. It is `/usr/share/config/extsysmon.conf` or `$HOME/share/config/extsysmon.conf` depending on the type of installation. Uncomment needed line and edit it. You may edit DataEngine configuration. It is `/usr/share/config/extsysmon.conf` or `$HOME/share/config/extsysmon.conf` depending on the type of installation. Uncomment needed line and edit it.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
screenshots/tooltips.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

@ -8,7 +8,7 @@ cmake_policy (SET CMP0015 NEW)
project (pytextmonitor) project (pytextmonitor)
set (PROJECT_VERSION_MAJOR 1) set (PROJECT_VERSION_MAJOR 1)
set (PROJECT_VERSION_MINOR 7) set (PROJECT_VERSION_MINOR 7)
set (PROJECT_VERSION_PATCH 1) set (PROJECT_VERSION_PATCH 2)
set (PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}) set (PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
message (STATUS "Version: ${PROJECT_VERSION}") message (STATUS "Version: ${PROJECT_VERSION}")

View File

@ -11,3 +11,6 @@
# Set MPD settings # Set MPD settings
#MPDADDRESS=localhost #MPDADDRESS=localhost
#MPDPORT=6600 #MPDPORT=6600
# Custom command
#CUSTOM=wget -qO- http://ifconfig.me/ip

View File

@ -43,6 +43,7 @@ QStringList ExtendedSysMon::sources() const
source.append(QString("gputemp")); source.append(QString("gputemp"));
source.append(QString("hddtemp")); source.append(QString("hddtemp"));
source.append(QString("player")); source.append(QString("player"));
source.append(QString("custom"));
return source; return source;
} }
@ -73,6 +74,8 @@ bool ExtendedSysMon::readConfiguration()
mpdAddress = QString("localhost"); mpdAddress = QString("localhost");
mpdPort = QString("6600"); mpdPort = QString("6600");
customCommand = QString("wget -qO- http://ifconfig.me/ip");
QString fileStr; QString fileStr;
// FIXME: define configuration file // FIXME: define configuration file
QString confFileName = QString(getenv("HOME")) + QString("/.kde4/share/config/extsysmon.conf"); QString confFileName = QString(getenv("HOME")) + QString("/.kde4/share/config/extsysmon.conf");
@ -111,6 +114,8 @@ bool ExtendedSysMon::readConfiguration()
mpdAddress = fileStr.split(QString("="), QString::SkipEmptyParts)[1].trimmed(); mpdAddress = fileStr.split(QString("="), QString::SkipEmptyParts)[1].trimmed();
else if (fileStr.split(QString("="), QString::SkipEmptyParts)[0] == QString("MPDPORT")) else if (fileStr.split(QString("="), QString::SkipEmptyParts)[0] == QString("MPDPORT"))
mpdPort = fileStr.split(QString("="), QString::SkipEmptyParts)[1].trimmed(); mpdPort = fileStr.split(QString("="), QString::SkipEmptyParts)[1].trimmed();
else if (fileStr.split(QString("="), QString::SkipEmptyParts)[0] == QString("CUSTOM"))
customCommand = fileStr.split(QString("="), QString::SkipEmptyParts)[1].trimmed();
} }
} }
if (confFile.atEnd()) if (confFile.atEnd())
@ -350,6 +355,14 @@ bool ExtendedSysMon::updateSourceEvent(const QString &source)
key = QString("mpd_title"); key = QString("mpd_title");
setData(source, key, value); setData(source, key, value);
} }
else if (source == QString("custom")) {
QProcess custom;
custom.start(QString("bash -c \"") + QString(customCommand) + QString("\""));
custom.waitForFinished(-1);
value = QTextCodec::codecForMib(106)->toUnicode(custom.readAllStandardOutput()).trimmed();
key = QString("custom");
setData(source, key, value);
}
return true; return true;
} }

View File

@ -35,9 +35,9 @@ protected:
// main configuration // main configuration
QStringList hddDev; QStringList hddDev;
QString gpuDev; QString gpuDev;
// configuration
QString mpdAddress; QString mpdAddress;
QString mpdPort; QString mpdPort;
QString customCommand;
}; };
#endif /* EXTSYSMON_H */ #endif /* EXTSYSMON_H */

View File

@ -21,7 +21,7 @@ from PyQt4.QtCore import *
from PyQt4.QtGui import * from PyQt4.QtGui import *
from PyKDE4.kdecore import * from PyKDE4.kdecore import *
from PyKDE4.kdeui import * from PyKDE4.kdeui import *
import commands import commands, os
import config import config
@ -78,8 +78,6 @@ class ConfigDefinition:
settings.set('ac_device', self.parent.ac_device) settings.set('ac_device', self.parent.ac_device)
self.parent.player_name = self.configpage.ui.comboBox_playerSelect.currentIndex() self.parent.player_name = self.configpage.ui.comboBox_playerSelect.currentIndex()
settings.set('player_name', self.parent.player_name) settings.set('player_name', self.parent.player_name)
self.parent.custom_command = str(self.configpage.ui.lineEdit_customCommand.text())
settings.set('custom_command', self.parent.custom_command)
self.parent.tooltipNum = self.configpage.ui.spinBox_tooltipNum.value() self.parent.tooltipNum = self.configpage.ui.spinBox_tooltipNum.value()
settings.set('tooltip_num', self.parent.tooltipNum) settings.set('tooltip_num', self.parent.tooltipNum)
@ -87,6 +85,17 @@ class ConfigDefinition:
exec ('self.parent.tooltipColors["' + label + '"] = str(self.configpage.kcolorcombo_' + label + '.color().name())') exec ('self.parent.tooltipColors["' + label + '"] = str(self.configpage.kcolorcombo_' + label + '.color().name())')
exec ('settings.set("' + label + '_color", self.parent.tooltipColors["' + label + '"])') exec ('settings.set("' + label + '_color", self.parent.tooltipColors["' + label + '"])')
dataengineConfig = unicode(KGlobal.dirs().localkdedir()) + "/share/config/extsysmon.conf"
try:
with open(dataengineConfig, 'w') as deConfigFile:
deConfigFile.write("GPUDEV=" + str(self.configpage.ui.comboBox_gpudev.currentText()) + "\n")
deConfigFile.write("HDDDEV=" + str(self.configpage.ui.comboBox_hdddev.currentText()) + "\n")
deConfigFile.write("MPDADDRESS=" + str(self.configpage.ui.lineEdit_mpdaddress.text()) + "\n")
deConfigFile.write("MPDPORT=" + str(self.configpage.ui.spinBox_mpdport.value()) + "\n")
deConfigFile.write("CUSTOM=" + str(self.configpage.ui.lineEdit_customCommand.text()) + "\n")
except:
pass
# disconnecting from source and clear layout # disconnecting from source and clear layout
if (self.parent.uptimeBool > 0): if (self.parent.uptimeBool > 0):
self.parent.systemmonitor.disconnectSource("system/uptime", self.parent) self.parent.systemmonitor.disconnectSource("system/uptime", self.parent)
@ -126,15 +135,13 @@ class ConfigDefinition:
self.parent.layout.removeItem(self.parent.label_gputemp) self.parent.layout.removeItem(self.parent.label_gputemp)
if (self.parent.memBool > 0): if (self.parent.memBool > 0):
self.parent.systemmonitor.disconnectSource("mem/physical/application", self.parent) self.parent.systemmonitor.disconnectSource("mem/physical/application", self.parent)
if (self.parent.memInMb == False): self.parent.systemmonitor.disconnectSource("mem/physical/free", self.parent)
self.parent.systemmonitor.disconnectSource("mem/physical/free", self.parent) self.parent.systemmonitor.disconnectSource("mem/physical/used", self.parent)
self.parent.systemmonitor.disconnectSource("mem/physical/used", self.parent)
self.parent.label_mem.setText('') self.parent.label_mem.setText('')
self.parent.layout.removeItem(self.parent.label_mem) self.parent.layout.removeItem(self.parent.label_mem)
if (self.parent.swapBool > 0): if (self.parent.swapBool > 0):
self.parent.systemmonitor.disconnectSource("mem/swap/used", self.parent) self.parent.systemmonitor.disconnectSource("mem/swap/used", self.parent)
if (self.parent.swapInMb == False): self.parent.systemmonitor.disconnectSource("mem/swap/free", self.parent)
self.parent.systemmonitor.disconnectSource("mem/swap/free", self.parent)
self.parent.label_swap.setText('') self.parent.label_swap.setText('')
self.parent.layout.removeItem(self.parent.label_swap) self.parent.layout.removeItem(self.parent.label_swap)
if (self.parent.hddBool > 0): if (self.parent.hddBool > 0):
@ -253,7 +260,6 @@ class ConfigDefinition:
self.configpage.ui.lineEdit_batdev.setText(str(settings.get('battery_device', '/sys/class/power_supply/BAT0/capacity'))) self.configpage.ui.lineEdit_batdev.setText(str(settings.get('battery_device', '/sys/class/power_supply/BAT0/capacity')))
self.configpage.ui.lineEdit_acdev.setText(str(settings.get('ac_device', '/sys/class/power_supply/AC/online'))) self.configpage.ui.lineEdit_acdev.setText(str(settings.get('ac_device', '/sys/class/power_supply/AC/online')))
self.configpage.ui.comboBox_playerSelect.setCurrentIndex(settings.get('player_name', 0).toInt()[0]) self.configpage.ui.comboBox_playerSelect.setCurrentIndex(settings.get('player_name', 0).toInt()[0])
self.configpage.ui.lineEdit_customCommand.setText(str(settings.get('custom_command', 'wget -qO- http://ifconfig.me/ip')))
self.configpage.ui.spinBox_tooltipNum.setValue(settings.get('tooltip_num', 100).toInt()[0]) self.configpage.ui.spinBox_tooltipNum.setValue(settings.get('tooltip_num', 100).toInt()[0])
self.configpage.ui.kcolorcombo_cpu.setColor(QColor(str(settings.get('cpu_color', '#ff0000')))) self.configpage.ui.kcolorcombo_cpu.setColor(QColor(str(settings.get('cpu_color', '#ff0000'))))
@ -263,6 +269,32 @@ class ConfigDefinition:
self.configpage.ui.kcolorcombo_down.setColor(QColor(str(settings.get('down_color', '#00ffff')))) self.configpage.ui.kcolorcombo_down.setColor(QColor(str(settings.get('down_color', '#00ffff'))))
self.configpage.ui.kcolorcombo_up.setColor(QColor(str(settings.get('up_color', '#ff00ff')))) self.configpage.ui.kcolorcombo_up.setColor(QColor(str(settings.get('up_color', '#ff00ff'))))
deSettings = {'GPUDEV':'auto', 'HDDDEV':'all', 'MPDADDRESS':'localhost',
'MPDPORT':'6600', 'CUSTOM':'wget -qO- http://ifconfig.me/ip'}
dataengineConfig = unicode(KGlobal.dirs().localkdedir()) + "/share/config/extsysmon.conf"
try:
with open(dataengineConfig, 'r') as deConfigFile:
for line in deConfigFile:
if ((line[0] != '#') and (line.split('=')[0] != line)):
deSettings[line.split('=')[0]] = line.split('=')[1][:-1]
except:
pass
index = self.configpage.ui.comboBox_gpudev.findText(deSettings['GPUDEV'])
self.configpage.ui.comboBox_gpudev.setCurrentIndex(index)
self.configpage.ui.comboBox_hdddev.addItem("all")
commandOut = commands.getoutput("find /dev -name '[hs]d[a-z]'")
for item in commandOut.split("\n"):
try:
self.configpage.ui.comboBox_hdddev.addItem(item)
except:
pass
index = self.configpage.ui.comboBox_hdddev.findText(deSettings['HDDDEV'])
self.configpage.ui.comboBox_hdddev.setCurrentIndex(index)
self.configpage.ui.lineEdit_mpdaddress.setText(deSettings['MPDADDRESS'])
self.configpage.ui.spinBox_mpdport.setValue(int(deSettings['MPDPORT']))
self.configpage.ui.spinBox_mpdport.setValue(int(deSettings['MPDPORT']))
self.configpage.ui.lineEdit_customCommand.setText(deSettings['CUSTOM'])
for label in self.parent.dict_orders.keys(): for label in self.parent.dict_orders.keys():
exec ('bool = self.parent.' + self.parent.dict_orders[label] + 'Bool') exec ('bool = self.parent.' + self.parent.dict_orders[label] + 'Bool')
self.configpage.checkboxes[self.parent.dict_orders[label]].setCheckState(bool) self.configpage.checkboxes[self.parent.dict_orders[label]].setCheckState(bool)

View File

@ -65,18 +65,12 @@ class DataEngine:
if (self.parent.gputempBool > 0): if (self.parent.gputempBool > 0):
self.parent.extsysmon.connectSource("gputemp", self.parent, self.parent.interval) self.parent.extsysmon.connectSource("gputemp", self.parent, self.parent.interval)
if (self.parent.memBool > 0): if (self.parent.memBool > 0):
if (self.parent.memInMb): self.parent.systemmonitor.connectSource("mem/physical/free", self.parent, int(self.parent.interval*0.5))
self.parent.systemmonitor.connectSource("mem/physical/application", self.parent, self.parent.interval) self.parent.systemmonitor.connectSource("mem/physical/used", self.parent, int(self.parent.interval*0.5))
else: self.parent.systemmonitor.connectSource("mem/physical/application", self.parent, int(self.parent.interval*0.5))
self.parent.systemmonitor.connectSource("mem/physical/free", self.parent, int(self.parent.interval*0.5))
self.parent.systemmonitor.connectSource("mem/physical/used", self.parent, int(self.parent.interval*0.5))
self.parent.systemmonitor.connectSource("mem/physical/application", self.parent, int(self.parent.interval*0.5))
if (self.parent.swapBool > 0): if (self.parent.swapBool > 0):
if (self.parent.swapInMb): self.parent.systemmonitor.connectSource("mem/swap/free", self.parent, int(self.parent.interval*0.5))
self.parent.systemmonitor.connectSource("mem/swap/used", self.parent, self.parent.interval) self.parent.systemmonitor.connectSource("mem/swap/used", self.parent, int(self.parent.interval*0.5))
else:
self.parent.systemmonitor.connectSource("mem/swap/free", self.parent, int(self.parent.interval*0.5))
self.parent.systemmonitor.connectSource("mem/swap/used", self.parent, int(self.parent.interval*0.5))
if (self.parent.hddBool > 0): if (self.parent.hddBool > 0):
for item in self.parent.mountNames: for item in self.parent.mountNames:
self.parent.systemmonitor.connectSource("partitions" + item + "/filllevel", self.parent, self.parent.interval) self.parent.systemmonitor.connectSource("partitions" + item + "/filllevel", self.parent, self.parent.interval)
@ -88,6 +82,8 @@ class DataEngine:
self.parent.systemmonitor.connectSource("network/interfaces/"+self.parent.netdev+"/receiver/data", self.parent, self.parent.interval) self.parent.systemmonitor.connectSource("network/interfaces/"+self.parent.netdev+"/receiver/data", self.parent, self.parent.interval)
if (self.parent.playerBool > 0): if (self.parent.playerBool > 0):
self.parent.extsysmon.connectSource("player", self.parent, self.parent.interval) self.parent.extsysmon.connectSource("player", self.parent, self.parent.interval)
if (self.parent.customBool > 0):
self.parent.extsysmon.connectSource("custom", self.parent, self.parent.interval)
def dataUpdated(self, sourceName, data): def dataUpdated(self, sourceName, data):
"""function to update data""" """function to update data"""
@ -103,12 +99,18 @@ class DataEngine:
line = line.split('$uptime')[0] + uptimeText + line.split('$uptime')[1] line = line.split('$uptime')[0] + uptimeText + line.split('$uptime')[1]
elif (line.split('$custom')[0] != line): elif (line.split('$custom')[0] != line):
uptimeText = self.parent.custom_uptime uptimeText = self.parent.custom_uptime
if (uptimeText.split('$ds')[0] != uptimeText): if (uptimeText.split('$dd')[0] != uptimeText):
uptimeText = "%s%3i%s" % (uptimeText.split('$ds')[0], days, uptimeText.split('$ds')[1]) uptimeText = "%s%03i%s" % (uptimeText.split('$dd')[0], days, uptimeText.split('$dd')[1])
if (uptimeText.split('$hs')[0] != uptimeText): if (uptimeText.split('$d')[0] != uptimeText):
uptimeText = "%s%2i%s" % (uptimeText.split('$hs')[0], hours, uptimeText.split('$hs')[1]) uptimeText = "%s%3i%s" % (uptimeText.split('$d')[0], days, uptimeText.split('$d')[1])
if (uptimeText.split('$ms')[0] != uptimeText): if (uptimeText.split('$hh')[0] != uptimeText):
uptimeText = "%s%2i%s" % (uptimeText.split('$ms')[0], minutes, uptimeText.split('$ms')[1]) uptimeText = "%s%02i%s" % (uptimeText.split('$hh')[0], hours, uptimeText.split('$hh')[1])
if (uptimeText.split('$h')[0] != uptimeText):
uptimeText = "%s%2i%s" % (uptimeText.split('$h')[0], hours, uptimeText.split('$h')[1])
if (uptimeText.split('$mm')[0] != uptimeText):
uptimeText = "%s%02i%s" % (uptimeText.split('$mm')[0], minutes, uptimeText.split('$mm')[1])
if (uptimeText.split('$m')[0] != uptimeText):
uptimeText = "%s%2i%s" % (uptimeText.split('$m')[0], minutes, uptimeText.split('$m')[1])
line = line.split('$custom')[0] + uptimeText + line.split('$custom')[1] line = line.split('$custom')[0] + uptimeText + line.split('$custom')[1]
text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1] text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1]
self.parent.label_uptime.setText(text) self.parent.label_uptime.setText(text)
@ -159,10 +161,11 @@ class DataEngine:
value = str(round(float(data[QString(u'value')]), 1)) value = str(round(float(data[QString(u'value')]), 1))
self.parent.mount['/'+'/'.join(str(sourceName).split('/')[1:-1])] = "%5s" % (value) self.parent.mount['/'+'/'.join(str(sourceName).split('/')[1:-1])] = "%5s" % (value)
elif (sourceName == "mem/physical/free"): elif (sourceName == "mem/physical/free"):
self.parent.mem_free = float(data[QString(u'value')]) self.parent.memValues['free'] = float(data[QString(u'value')])
elif (sourceName == "mem/physical/used"): elif (sourceName == "mem/physical/used"):
self.parent.mem_uf = float(data[QString(u'value')]) self.parent.memValues['total'] = self.parent.memValues['free'] + float(data[QString(u'value')])
elif (sourceName == "mem/physical/application"): elif (sourceName == "mem/physical/application"):
self.parent.memValues['used'] = float(data[QString(u'value')])
if (self.parent.memInMb): if (self.parent.memInMb):
mem = str(round(float(data[QString(u'value')]) / 1024, 0)).split('.')[0] mem = str(round(float(data[QString(u'value')]) / 1024, 0)).split('.')[0]
mem = "%5s" % (mem) mem = "%5s" % (mem)
@ -172,13 +175,13 @@ class DataEngine:
line = self.parent.memFormat line = self.parent.memFormat
text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1] text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1]
self.parent.label_mem.setText(text) self.parent.label_mem.setText(text)
else:
self.parent.mem_used = float(data[QString(u'value')])
if (self.parent.memBool == 2): if (self.parent.memBool == 2):
self.parent.tooltipAgent.addValue('mem', float(data[QString(u'value')]), self.parent.tooltipNum) self.parent.tooltipAgent.addValue('mem', float(data[QString(u'value')]), self.parent.tooltipNum)
elif (sourceName == "mem/swap/free"): elif (sourceName == "mem/swap/free"):
self.parent.swap_free = float(data[QString(u'value')]) self.parent.swapValues['free'] = float(data[QString(u'value')])
self.parent.swapValues['total'] = self.parent.swapValues['free'] + self.parent.swapValues['used']
elif (sourceName == "mem/swap/used"): elif (sourceName == "mem/swap/used"):
self.parent.swapValues['used'] = float(data[QString(u'value')])
if (self.parent.swapInMb): if (self.parent.swapInMb):
mem = str(round(float(data[QString(u'value')]) / 1024, 0)).split('.')[0] mem = str(round(float(data[QString(u'value')]) / 1024, 0)).split('.')[0]
mem = "%5s" % (mem) mem = "%5s" % (mem)
@ -188,8 +191,6 @@ class DataEngine:
line = self.parent.swapFormat line = self.parent.swapFormat
text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1] text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1]
self.parent.label_swap.setText(text) self.parent.label_swap.setText(text)
else:
self.parent.swap_used = float(data[QString(u'value')])
if (self.parent.swapBool == 2): if (self.parent.swapBool == 2):
self.parent.tooltipAgent.addValue('swap', float(data[QString(u'value')]), self.parent.tooltipNum) self.parent.tooltipAgent.addValue('swap', float(data[QString(u'value')]), self.parent.tooltipNum)
elif (sourceName == "gpu"): elif (sourceName == "gpu"):
@ -280,6 +281,14 @@ class DataEngine:
line = self.parent.timeFormat line = self.parent.timeFormat
text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1] text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1]
self.parent.label_time.setText(text) self.parent.label_time.setText(text)
elif (sourceName == "custom"):
value = str(data[QString(u'custom')].toUtf8()).decode("utf-8")
if (self.parent.customFormat.split('$custom')[0] != self.parent.customFormat):
line = self.parent.customFormat.split('$custom')[0] + value + self.parent.customFormat.split('$custom')[1]
else:
line = self.parent.customFormat
text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1]
self.parent.label_custom.setText(text)
self.parent.update() self.parent.update()
except: except:

View File

@ -98,8 +98,11 @@ class pyTextWidget(plasmascript.Applet):
def updateTooltip(self): def updateTooltip(self):
"""function to update tooltip""" """function to update tooltip"""
self.tooltipBound['mem'] = self.memValues['total']
self.tooltipBound['swap'] = self.swapValues['total']
self.tooltip_view.resize(100.0*(len(self.tooltipReq)-self.tooltipReq.count('up')), 100.0) self.tooltip_view.resize(100.0*(len(self.tooltipReq)-self.tooltipReq.count('up')), 100.0)
self.tooltipAgent.createGraphic(self.tooltipReq, self.tooltipColors, self.tooltipValues, self.tooltip_scene) self.tooltipAgent.createGraphic(self.tooltipReq, self.tooltipColors,
self.tooltipBound, self.tooltipValues, self.tooltip_scene)
self.tooltip.setImage(QPixmap.grabWidget(self.tooltip_view)) self.tooltip.setImage(QPixmap.grabWidget(self.tooltip_view))
Plasma.ToolTipManager.self().setContent(self.applet, self.tooltip) Plasma.ToolTipManager.self().setContent(self.applet, self.tooltip)
@ -126,25 +129,29 @@ class pyTextWidget(plasmascript.Applet):
def setupVar(self): def setupVar(self):
"""function to setup variables""" """function to setup variables"""
self.netdev = ''
self.cpuCore = {-1:" 0.0"} self.cpuCore = {-1:" 0.0"}
self.cpuClockCore = {-1:" 0"} self.cpuClockCore = {-1:" 0"}
numCores = int(commands.getoutput("grep -c '^processor' /proc/cpuinfo")) numCores = int(commands.getoutput("grep -c '^processor' /proc/cpuinfo"))
for i in range(numCores): for i in range(numCores):
self.cpuCore[i] = str(" 0.0") self.cpuCore[i] = str(" 0.0")
self.cpuClockCore[i] = str(" 0") self.cpuClockCore[i] = str(" 0")
self.netSpeed = {"up":" 0", "down":" 0"}
self.tempNames = []
self.temp = {}
self.mountNames = []
self.mount = {}
self.hddNames = [] self.hddNames = []
self.hdd = {} self.hdd = {}
self.mountNames = []
self.mount = {}
self.memValues = {'used':0.0, 'free':0.0, 'total':1.0}
self.netdev = ''
self.netSpeed = {"up":" 0", "down":" 0"}
self.swapValues = {'used':0.0, 'free':0.0, 'total':1.0}
self.tempNames = []
self.temp = {}
self.tooltipBound = {'cpu':100.0, 'cpuclock':4000.0, 'mem':16000.0,
'swap':16000, 'down':10000.0, 'up':10000.0}
self.tooltipColors = {} self.tooltipColors = {}
self.tooltipNum = 100 self.tooltipNum = 100
self.tooltipReq = [] self.tooltipReq = []
self.tooltipValues = {'cpu':[0.0, 0.01], 'cpuclock':[0.0, 0.01], 'mem':[0.0, 0.01], self.tooltipValues = {'cpu':[0.0, 0.01], 'cpuclock':[0.0, 0.01], 'mem':[0.0, 0.01],
'swap':[0.0, 0.01], 'up':[0.0, 0.01], 'down':[0.0, 0.01]} 'swap':[0.0, 0.01], 'down':[0.0, 0.01], 'up':[0.0, 0.01]}
# create dictionaries # create dictionaries
self.dict_orders = {'6':'bat', '1':'cpu', '7':'cpuclock', 'f':'custom', '9':'gpu', self.dict_orders = {'6':'bat', '1':'cpu', '7':'cpuclock', 'f':'custom', '9':'gpu',
@ -182,8 +189,6 @@ class pyTextWidget(plasmascript.Applet):
self.cpuText() self.cpuText()
if (self.cpuclockBool > 0): if (self.cpuclockBool > 0):
self.cpuclockText() self.cpuclockText()
if (self.customBool > 0):
self.getCustom()
if (self.hddBool > 0): if (self.hddBool > 0):
self.mountText() self.mountText()
if ((self.memBool > 0) and (self.memInMb == False)): if ((self.memBool > 0) and (self.memInMb == False)):
@ -251,9 +256,8 @@ class pyTextWidget(plasmascript.Applet):
def memText(self): def memText(self):
"""function to set mem text""" """function to set mem text"""
full = self.mem_uf + self.mem_free
try: try:
mem = 100 * self.mem_used / full mem = 100 * self.memValues['used'] / self.memValues['total']
mem = "%5s" % (str(round(mem, 1))) mem = "%5s" % (str(round(mem, 1)))
except: except:
mem = " N\\A" mem = " N\\A"
@ -288,9 +292,8 @@ class pyTextWidget(plasmascript.Applet):
def swapText(self): def swapText(self):
"""function to set swap text""" """function to set swap text"""
full = self.swap_used + self.swap_free
try: try:
mem = 100 * self.swap_used / full mem = 100 * self.swapValues['used'] / self.swapValues['total']
mem = "%5s" % (str(round(mem, 1))) mem = "%5s" % (str(round(mem, 1)))
except: except:
mem = " N\\A" mem = " N\\A"
@ -312,15 +315,6 @@ class pyTextWidget(plasmascript.Applet):
self.label_temp.setText(text) self.label_temp.setText(text)
def getCustom(self):
"""function to get output from custom command"""
commandOut = commands.getoutput(self.custom_command)
line = self.customFormat
line = line.split('$custom')[0] + commandOut + line.split('$custom')[1]
text = self.formatLine.split('$LINE')[0] + line + self.formatLine.split('$LINE')[1]
self.label_custom.setText(text)
@pyqtSignature("dataUpdated(const QString &, const Plasma::DataEngine::Data &)") @pyqtSignature("dataUpdated(const QString &, const Plasma::DataEngine::Data &)")
def dataUpdated(self, sourceName, data): def dataUpdated(self, sourceName, data):
"""function to update label""" """function to update label"""

View File

@ -83,7 +83,6 @@ class Reinit():
self.parent.battery_device = str(settings.get('battery_device', '/sys/class/power_supply/BAT0/capacity')) self.parent.battery_device = str(settings.get('battery_device', '/sys/class/power_supply/BAT0/capacity'))
self.parent.ac_device = str(settings.get('ac_device', '/sys/class/power_supply/AC/online')) self.parent.ac_device = str(settings.get('ac_device', '/sys/class/power_supply/AC/online'))
self.parent.player_name = settings.get('player_name', 0).toInt()[0] self.parent.player_name = settings.get('player_name', 0).toInt()[0]
self.parent.custom_command = str(settings.get('custom_command', 'wget -qO- http://ifconfig.me/ip'))
self.parent.tooltipNum = settings.get('tooltip_num', 100).toInt()[0] self.parent.tooltipNum = settings.get('tooltip_num', 100).toInt()[0]
self.parent.tooltipColors['cpu'] = str(settings.get('cpu_color', '#ff0000')) self.parent.tooltipColors['cpu'] = str(settings.get('cpu_color', '#ff0000'))
@ -129,9 +128,6 @@ class Reinit():
self.parent.memInMb = True self.parent.memInMb = True
elif (self.parent.memFormat.split('$mem')[0] != self.parent.memFormat): elif (self.parent.memFormat.split('$mem')[0] != self.parent.memFormat):
self.parent.memInMb = False self.parent.memInMb = False
self.parent.mem_used = 0.0
self.parent.mem_free = 1.0
self.parent.mem_uf = 0.0
line = self.parent.memFormat line = self.parent.memFormat
text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1] text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1]
self.parent.label_mem.setText(text) self.parent.label_mem.setText(text)
@ -146,8 +142,6 @@ class Reinit():
self.parent.swapInMb = True self.parent.swapInMb = True
elif (self.parent.swapFormat.split('$swap')[0] != self.parent.swapFormat): elif (self.parent.swapFormat.split('$swap')[0] != self.parent.swapFormat):
self.parent.swapInMb = False self.parent.swapInMb = False
self.parent.swap_free = 1.0
self.parent.swap_used = 0.0
line = self.parent.swapFormat line = self.parent.swapFormat
text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1] text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1]
self.parent.label_swap.setText(text) self.parent.label_swap.setText(text)

View File

@ -35,23 +35,22 @@ class Tooltip():
self.parent.tooltipValues[type].append(value) self.parent.tooltipValues[type].append(value)
def createGraphic(self, types, colors, values, widget): def createGraphic(self, types, colors, bounds, values, widget):
"""function to create graph""" """function to create graph"""
widget.clear() widget.clear()
maxOne = [100.0, 100.0] maxOne = [100.0, 100.0]
pen = QPen() pen = QPen()
bounds['down'] = 1.0
for value in values['down']:
if (bounds['down'] < value):
bounds['down'] = value
for value in values['up']:
if (bounds['down'] < value):
bounds['down'] = value
bounds['up'] = bounds['down']
down = False down = False
for type in types: for type in types:
bound = [values[type][0], values[type][0]] norm = [maxOne[0] / len(values[type]), maxOne[1] / (1.5 * bounds[type])]
for value in values[type]:
if (value < bound[0]):
bound[0] = value
elif (value > bound[1]):
bound[1] = value
if ((bound[0] == 0.0) and (bound[0] == 0.0)):
norm = [maxOne[0] / len(values[type]), maxOne[1] / 1.5]
else:
norm = [maxOne[0] / len(values[type]), maxOne[1] / (1.5*(bound[1] - bound[0]))]
pen.setColor(QColor(colors[type])) pen.setColor(QColor(colors[type]))
if (down): if (down):
shift = (types.index(type) - 1) * maxOne[0] shift = (types.index(type) - 1) * maxOne[0]
@ -59,9 +58,9 @@ class Tooltip():
shift = types.index(type) * maxOne[0] shift = types.index(type) * maxOne[0]
for i in range(len(values[type])-1): for i in range(len(values[type])-1):
x1 = i * norm[0] + shift x1 = i * norm[0] + shift
y1 = -(values[type][i] - bound[0]) * norm[1] y1 = -values[type][i] * norm[1]
x2 = (i + 1) * norm[0] + shift x2 = (i + 1) * norm[0] + shift
y2 = -(values[type][i+1] - bound[0]) * norm[1] y2 = -values[type][i+1] * norm[1]
widget.addLine(x1, y1, x2, y2, pen) widget.addLine(x1, y1, x2, y2, pen)
if (type == 'down'): if (type == 'down'):
down = True down = True

View File

@ -1372,31 +1372,6 @@ del - remove item</string>
</item> </item>
</layout> </layout>
</item> </item>
<item>
<layout class="QHBoxLayout" name="layout_customCommand">
<item>
<widget class="QLabel" name="label_customCommand">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Custom command</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_customCommand">
<property name="toolTip">
<string>Command to run, example:
wget -qO- http://ifconfig.me/ip - get external IP</string>
</property>
</widget>
</item>
</layout>
</item>
<item> <item>
<spacer name="spacer_advanced"> <spacer name="spacer_advanced">
<property name="orientation"> <property name="orientation">
@ -1412,7 +1387,7 @@ wget -qO- http://ifconfig.me/ip - get external IP</string>
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="tab"> <widget class="QWidget" name="tooltip">
<attribute name="title"> <attribute name="title">
<string>Tooltip</string> <string>Tooltip</string>
</attribute> </attribute>
@ -2055,6 +2030,213 @@ wget -qO- http://ifconfig.me/ip - get external IP</string>
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="dataengine">
<attribute name="title">
<string>DataEngine</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<layout class="QHBoxLayout" name="layout_gpudev">
<item>
<widget class="QLabel" name="label_gpudev">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>GPU device</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_gpudev">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<item>
<property name="text">
<string>auto</string>
</property>
</item>
<item>
<property name="text">
<string>nvidia</string>
</property>
</item>
<item>
<property name="text">
<string>ati</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="layout_hdddev">
<item>
<widget class="QLabel" name="label_hdddev">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>HDD</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_hdddev">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="layout_mpdaddress">
<item>
<widget class="QLabel" name="label_mpdaddress">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>MPD address</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_mpdaddress">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="layout_mpdport">
<item>
<widget class="QLabel" name="label_mpdport">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>MPD port</string>
</property>
</widget>
</item>
<item>
<spacer name="spacer_mpdport">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>19</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QSpinBox" name="spinBox_mpdport">
<property name="minimumSize">
<size>
<width>180</width>
<height>0</height>
</size>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>50000</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
<property name="value">
<number>6600</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="layout_customCommand">
<item>
<widget class="QLabel" name="label_customCommand">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Custom command</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_customCommand">
<property name="toolTip">
<string>Custom command to run</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="spacer_dataengine">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>391</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget> </widget>
</item> </item>
</layout> </layout>
@ -2130,7 +2312,6 @@ wget -qO- http://ifconfig.me/ip - get external IP</string>
<tabstop>lineEdit_batdev</tabstop> <tabstop>lineEdit_batdev</tabstop>
<tabstop>lineEdit_acdev</tabstop> <tabstop>lineEdit_acdev</tabstop>
<tabstop>comboBox_playerSelect</tabstop> <tabstop>comboBox_playerSelect</tabstop>
<tabstop>lineEdit_customCommand</tabstop>
<tabstop>spinBox_tooltipNum</tabstop> <tabstop>spinBox_tooltipNum</tabstop>
<tabstop>kcolorcombo_cpu</tabstop> <tabstop>kcolorcombo_cpu</tabstop>
<tabstop>kcolorcombo_cpuclock</tabstop> <tabstop>kcolorcombo_cpuclock</tabstop>
@ -2144,6 +2325,11 @@ wget -qO- http://ifconfig.me/ip - get external IP</string>
<tabstop>kcolorcombo</tabstop> <tabstop>kcolorcombo</tabstop>
<tabstop>comboBox_style</tabstop> <tabstop>comboBox_style</tabstop>
<tabstop>spinBox_weight</tabstop> <tabstop>spinBox_weight</tabstop>
<tabstop>comboBox_gpudev</tabstop>
<tabstop>comboBox_hdddev</tabstop>
<tabstop>lineEdit_mpdaddress</tabstop>
<tabstop>spinBox_mpdport</tabstop>
<tabstop>lineEdit_customCommand</tabstop>
</tabstops> </tabstops>
<resources/> <resources/>
<connections/> <connections/>

View File

@ -6,8 +6,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n" "Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n"
"POT-Creation-Date: 2014-04-02 20:48+0400\n" "POT-Creation-Date: 2014-04-03 02:22+0400\n"
"PO-Revision-Date: 2014-04-02 20:49+0400\n" "PO-Revision-Date: 2014-04-03 02:23+0400\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n" "Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: Russian <kde-russian@lists.kde.ru>\n" "Language-Team: Russian <kde-russian@lists.kde.ru>\n"
"Language: ru\n" "Language: ru\n"
@ -192,7 +192,9 @@ msgstr ""
#. i18n: file: ui/configwindow.ui:613 #. i18n: file: ui/configwindow.ui:613
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_hdd) #. i18n: ectx: property (text), widget (QCheckBox, checkBox_hdd)
#: rc.cpp:83 #. i18n: file: ui/configwindow.ui:2097
#. i18n: ectx: property (text), widget (QLabel, label_hdddev)
#: rc.cpp:83 rc.cpp:289
msgid "HDD" msgid "HDD"
msgstr "HDD" msgstr "HDD"
@ -464,31 +466,15 @@ msgstr "mpd"
msgid "qmmp" msgid "qmmp"
msgstr "qmmp" msgstr "qmmp"
#. i18n: file: ui/configwindow.ui:1386 #. i18n: file: ui/configwindow.ui:1392
#. i18n: ectx: property (text), widget (QLabel, label_customCommand) #. i18n: ectx: attribute (title), widget (QWidget, tooltip)
#: rc.cpp:226 #: rc.cpp:226
msgid "Custom command"
msgstr "Custom command"
#. i18n: file: ui/configwindow.ui:1394
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_customCommand)
#: rc.cpp:229
msgid ""
"Command to run, example:\n"
"wget -qO- http://ifconfig.me/ip - get external IP"
msgstr ""
"Command to run, example:\n"
"wget -qO- http://ifconfig.me/ip - get external IP"
#. i18n: file: ui/configwindow.ui:1417
#. i18n: ectx: attribute (title), widget (QWidget, tab)
#: rc.cpp:233
msgid "Tooltip" msgid "Tooltip"
msgstr "Tooltip" msgstr "Tooltip"
#. i18n: file: ui/configwindow.ui:1423 #. i18n: file: ui/configwindow.ui:1398
#. i18n: ectx: property (text), widget (QLabel, label_tooltip) #. i18n: ectx: property (text), widget (QLabel, label_tooltip)
#: rc.cpp:236 #: rc.cpp:229
msgid "" msgid ""
"CPU, CPU clock, memory, swap and network labels support graphical tooltip. " "CPU, CPU clock, memory, swap and network labels support graphical tooltip. "
"To enable them just make needed checkbox fully checked." "To enable them just make needed checkbox fully checked."
@ -496,100 +482,161 @@ msgstr ""
"CPU, CPU clock, memory, swap and network labels support graphical tooltip. " "CPU, CPU clock, memory, swap and network labels support graphical tooltip. "
"To enable them just make needed checkbox fully checked." "To enable them just make needed checkbox fully checked."
#. i18n: file: ui/configwindow.ui:1444 #. i18n: file: ui/configwindow.ui:1419
#. i18n: ectx: property (text), widget (QLabel, label_tooltipNum) #. i18n: ectx: property (text), widget (QLabel, label_tooltipNum)
#: rc.cpp:239 #: rc.cpp:232
msgid "Number of values for tooltips" msgid "Number of values for tooltips"
msgstr "Number of values for tooltips" msgstr "Number of values for tooltips"
#. i18n: file: ui/configwindow.ui:1499 #. i18n: file: ui/configwindow.ui:1474
#. i18n: ectx: property (text), widget (QLabel, label_cpuColor) #. i18n: ectx: property (text), widget (QLabel, label_cpuColor)
#: rc.cpp:242 #: rc.cpp:235
msgid "CPU color" msgid "CPU color"
msgstr "CPU color" msgstr "CPU color"
#. i18n: file: ui/configwindow.ui:1539 #. i18n: file: ui/configwindow.ui:1514
#. i18n: ectx: property (text), widget (QLabel, label_cpuclockColor) #. i18n: ectx: property (text), widget (QLabel, label_cpuclockColor)
#: rc.cpp:245 #: rc.cpp:238
msgid "CPU clock color" msgid "CPU clock color"
msgstr "CPU clock color" msgstr "CPU clock color"
#. i18n: file: ui/configwindow.ui:1579 #. i18n: file: ui/configwindow.ui:1554
#. i18n: ectx: property (text), widget (QLabel, label_memColor) #. i18n: ectx: property (text), widget (QLabel, label_memColor)
#: rc.cpp:248 #: rc.cpp:241
msgid "Memory color" msgid "Memory color"
msgstr "Memory color" msgstr "Memory color"
#. i18n: file: ui/configwindow.ui:1619 #. i18n: file: ui/configwindow.ui:1594
#. i18n: ectx: property (text), widget (QLabel, label_swapColor) #. i18n: ectx: property (text), widget (QLabel, label_swapColor)
#: rc.cpp:251 #: rc.cpp:244
msgid "Swap color" msgid "Swap color"
msgstr "Swap color" msgstr "Swap color"
#. i18n: file: ui/configwindow.ui:1659 #. i18n: file: ui/configwindow.ui:1634
#. i18n: ectx: property (text), widget (QLabel, label_downColor) #. i18n: ectx: property (text), widget (QLabel, label_downColor)
#: rc.cpp:254 #: rc.cpp:247
msgid "Download speed color" msgid "Download speed color"
msgstr "Download speed color" msgstr "Download speed color"
#. i18n: file: ui/configwindow.ui:1699 #. i18n: file: ui/configwindow.ui:1674
#. i18n: ectx: property (text), widget (QLabel, label_upColor) #. i18n: ectx: property (text), widget (QLabel, label_upColor)
#: rc.cpp:257 #: rc.cpp:250
msgid "Upload speed color" msgid "Upload speed color"
msgstr "Upload speed color" msgstr "Upload speed color"
#. i18n: file: ui/configwindow.ui:1745 #. i18n: file: ui/configwindow.ui:1720
#. i18n: ectx: attribute (title), widget (QWidget, appearance) #. i18n: ectx: attribute (title), widget (QWidget, appearance)
#: rc.cpp:260 #: rc.cpp:253
msgid "Appearance" msgid "Appearance"
msgstr "Appearance" msgstr "Appearance"
#. i18n: file: ui/configwindow.ui:1759 #. i18n: file: ui/configwindow.ui:1734
#. i18n: ectx: property (text), widget (QLabel, label_interval) #. i18n: ectx: property (text), widget (QLabel, label_interval)
#: rc.cpp:263 #: rc.cpp:256
msgid "Time interval" msgid "Time interval"
msgstr "Time interval" msgstr "Time interval"
#. i18n: file: ui/configwindow.ui:1814 #. i18n: file: ui/configwindow.ui:1789
#. i18n: ectx: property (text), widget (QLabel, label_font) #. i18n: ectx: property (text), widget (QLabel, label_font)
#: rc.cpp:266 #: rc.cpp:259
msgid "Font" msgid "Font"
msgstr "Font" msgstr "Font"
#. i18n: file: ui/configwindow.ui:1854 #. i18n: file: ui/configwindow.ui:1829
#. i18n: ectx: property (text), widget (QLabel, label_fontSize) #. i18n: ectx: property (text), widget (QLabel, label_fontSize)
#: rc.cpp:269 #: rc.cpp:262
msgid "Font size" msgid "Font size"
msgstr "Font size" msgstr "Font size"
#. i18n: file: ui/configwindow.ui:1909 #. i18n: file: ui/configwindow.ui:1884
#. i18n: ectx: property (text), widget (QLabel, label_color) #. i18n: ectx: property (text), widget (QLabel, label_color)
#: rc.cpp:272 #: rc.cpp:265
msgid "Font color" msgid "Font color"
msgstr "Font color" msgstr "Font color"
#. i18n: file: ui/configwindow.ui:1949 #. i18n: file: ui/configwindow.ui:1924
#. i18n: ectx: property (text), widget (QLabel, label_style) #. i18n: ectx: property (text), widget (QLabel, label_style)
#: rc.cpp:275 #: rc.cpp:268
msgid "Font style" msgid "Font style"
msgstr "Font style" msgstr "Font style"
#. i18n: file: ui/configwindow.ui:1999 #. i18n: file: ui/configwindow.ui:1974
#. i18n: ectx: property (text), widget (QLabel, label_weight) #. i18n: ectx: property (text), widget (QLabel, label_weight)
#: rc.cpp:278 #: rc.cpp:271
msgid "Font weight" msgid "Font weight"
msgstr "Font weight" msgstr "Font weight"
#: rc.cpp:279 #. i18n: file: ui/configwindow.ui:2035
#. i18n: ectx: attribute (title), widget (QWidget, dataengine)
#: rc.cpp:274
msgid "DataEngine"
msgstr "DataEngine"
#. i18n: file: ui/configwindow.ui:2049
#. i18n: ectx: property (text), widget (QLabel, label_gpudev)
#: rc.cpp:277
msgid "GPU device"
msgstr "GPU device"
#. i18n: file: ui/configwindow.ui:2069
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:280
msgid "auto"
msgstr "auto"
#. i18n: file: ui/configwindow.ui:2074
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:283
msgid "nvidia"
msgstr "nvidia"
#. i18n: file: ui/configwindow.ui:2079
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:286
msgid "ati"
msgstr "ati"
#. i18n: file: ui/configwindow.ui:2130
#. i18n: ectx: property (text), widget (QLabel, label_mpdaddress)
#: rc.cpp:292
msgid "MPD address"
msgstr "MPD address"
#. i18n: file: ui/configwindow.ui:2154
#. i18n: ectx: property (text), widget (QLabel, label_mpdport)
#: rc.cpp:295
msgid "MPD port"
msgstr "MPD port"
#. i18n: file: ui/configwindow.ui:2209
#. i18n: ectx: property (text), widget (QLabel, label_customCommand)
#: rc.cpp:298
msgid "Custom command"
msgstr "Custom command"
#. i18n: file: ui/configwindow.ui:2216
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_customCommand)
#: rc.cpp:301
msgid "Custom command to run"
msgstr "Custom command to run"
#: rc.cpp:302
msgctxt "NAME OF TRANSLATORS" msgctxt "NAME OF TRANSLATORS"
msgid "Your names" msgid "Your names"
msgstr "Evgeniy Alekseev" msgstr "Evgeniy Alekseev"
#: rc.cpp:280 #: rc.cpp:303
msgctxt "EMAIL OF TRANSLATORS" msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails" msgid "Your emails"
msgstr "esalexeev@gmail.com" msgstr "esalexeev@gmail.com"
#~ msgid ""
#~ "Command to run, example:\n"
#~ "wget -qO- http://ifconfig.me/ip - get external IP"
#~ msgstr ""
#~ "Command to run, example:\n"
#~ "wget -qO- http://ifconfig.me/ip - get external IP"
#~ msgid "@@/;@@ - mount point usage, %" #~ msgid "@@/;@@ - mount point usage, %"
#~ msgstr "@@/;@@ - mount point usage, %" #~ msgstr "@@/;@@ - mount point usage, %"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n" "Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n"
"POT-Creation-Date: 2014-04-02 20:48+0400\n" "POT-Creation-Date: 2014-04-03 02:22+0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -170,7 +170,9 @@ msgstr ""
#. i18n: file: ui/configwindow.ui:613 #. i18n: file: ui/configwindow.ui:613
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_hdd) #. i18n: ectx: property (text), widget (QCheckBox, checkBox_hdd)
#: rc.cpp:83 #. i18n: file: ui/configwindow.ui:2097
#. i18n: ectx: property (text), widget (QLabel, label_hdddev)
#: rc.cpp:83 rc.cpp:289
msgid "HDD" msgid "HDD"
msgstr "" msgstr ""
@ -410,124 +412,164 @@ msgstr ""
msgid "qmmp" msgid "qmmp"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1386 #. i18n: file: ui/configwindow.ui:1392
#. i18n: ectx: property (text), widget (QLabel, label_customCommand) #. i18n: ectx: attribute (title), widget (QWidget, tooltip)
#: rc.cpp:226 #: rc.cpp:226
msgid "Custom command"
msgstr ""
#. i18n: file: ui/configwindow.ui:1394
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_customCommand)
#: rc.cpp:229
msgid ""
"Command to run, example:\n"
"wget -qO- http://ifconfig.me/ip - get external IP"
msgstr ""
#. i18n: file: ui/configwindow.ui:1417
#. i18n: ectx: attribute (title), widget (QWidget, tab)
#: rc.cpp:233
msgid "Tooltip" msgid "Tooltip"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1423 #. i18n: file: ui/configwindow.ui:1398
#. i18n: ectx: property (text), widget (QLabel, label_tooltip) #. i18n: ectx: property (text), widget (QLabel, label_tooltip)
#: rc.cpp:236 #: rc.cpp:229
msgid "" msgid ""
"CPU, CPU clock, memory, swap and network labels support graphical tooltip. " "CPU, CPU clock, memory, swap and network labels support graphical tooltip. "
"To enable them just make needed checkbox fully checked." "To enable them just make needed checkbox fully checked."
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1444 #. i18n: file: ui/configwindow.ui:1419
#. i18n: ectx: property (text), widget (QLabel, label_tooltipNum) #. i18n: ectx: property (text), widget (QLabel, label_tooltipNum)
#: rc.cpp:239 #: rc.cpp:232
msgid "Number of values for tooltips" msgid "Number of values for tooltips"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1499 #. i18n: file: ui/configwindow.ui:1474
#. i18n: ectx: property (text), widget (QLabel, label_cpuColor) #. i18n: ectx: property (text), widget (QLabel, label_cpuColor)
#: rc.cpp:242 #: rc.cpp:235
msgid "CPU color" msgid "CPU color"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1539 #. i18n: file: ui/configwindow.ui:1514
#. i18n: ectx: property (text), widget (QLabel, label_cpuclockColor) #. i18n: ectx: property (text), widget (QLabel, label_cpuclockColor)
#: rc.cpp:245 #: rc.cpp:238
msgid "CPU clock color" msgid "CPU clock color"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1579 #. i18n: file: ui/configwindow.ui:1554
#. i18n: ectx: property (text), widget (QLabel, label_memColor) #. i18n: ectx: property (text), widget (QLabel, label_memColor)
#: rc.cpp:248 #: rc.cpp:241
msgid "Memory color" msgid "Memory color"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1619 #. i18n: file: ui/configwindow.ui:1594
#. i18n: ectx: property (text), widget (QLabel, label_swapColor) #. i18n: ectx: property (text), widget (QLabel, label_swapColor)
#: rc.cpp:251 #: rc.cpp:244
msgid "Swap color" msgid "Swap color"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1659 #. i18n: file: ui/configwindow.ui:1634
#. i18n: ectx: property (text), widget (QLabel, label_downColor) #. i18n: ectx: property (text), widget (QLabel, label_downColor)
#: rc.cpp:254 #: rc.cpp:247
msgid "Download speed color" msgid "Download speed color"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1699 #. i18n: file: ui/configwindow.ui:1674
#. i18n: ectx: property (text), widget (QLabel, label_upColor) #. i18n: ectx: property (text), widget (QLabel, label_upColor)
#: rc.cpp:257 #: rc.cpp:250
msgid "Upload speed color" msgid "Upload speed color"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1745 #. i18n: file: ui/configwindow.ui:1720
#. i18n: ectx: attribute (title), widget (QWidget, appearance) #. i18n: ectx: attribute (title), widget (QWidget, appearance)
#: rc.cpp:260 #: rc.cpp:253
msgid "Appearance" msgid "Appearance"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1759 #. i18n: file: ui/configwindow.ui:1734
#. i18n: ectx: property (text), widget (QLabel, label_interval) #. i18n: ectx: property (text), widget (QLabel, label_interval)
#: rc.cpp:263 #: rc.cpp:256
msgid "Time interval" msgid "Time interval"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1814 #. i18n: file: ui/configwindow.ui:1789
#. i18n: ectx: property (text), widget (QLabel, label_font) #. i18n: ectx: property (text), widget (QLabel, label_font)
#: rc.cpp:266 #: rc.cpp:259
msgid "Font" msgid "Font"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1854 #. i18n: file: ui/configwindow.ui:1829
#. i18n: ectx: property (text), widget (QLabel, label_fontSize) #. i18n: ectx: property (text), widget (QLabel, label_fontSize)
#: rc.cpp:269 #: rc.cpp:262
msgid "Font size" msgid "Font size"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1909 #. i18n: file: ui/configwindow.ui:1884
#. i18n: ectx: property (text), widget (QLabel, label_color) #. i18n: ectx: property (text), widget (QLabel, label_color)
#: rc.cpp:272 #: rc.cpp:265
msgid "Font color" msgid "Font color"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1949 #. i18n: file: ui/configwindow.ui:1924
#. i18n: ectx: property (text), widget (QLabel, label_style) #. i18n: ectx: property (text), widget (QLabel, label_style)
#: rc.cpp:275 #: rc.cpp:268
msgid "Font style" msgid "Font style"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1999 #. i18n: file: ui/configwindow.ui:1974
#. i18n: ectx: property (text), widget (QLabel, label_weight) #. i18n: ectx: property (text), widget (QLabel, label_weight)
#: rc.cpp:278 #: rc.cpp:271
msgid "Font weight" msgid "Font weight"
msgstr "" msgstr ""
#: rc.cpp:279 #. i18n: file: ui/configwindow.ui:2035
#. i18n: ectx: attribute (title), widget (QWidget, dataengine)
#: rc.cpp:274
msgid "DataEngine"
msgstr ""
#. i18n: file: ui/configwindow.ui:2049
#. i18n: ectx: property (text), widget (QLabel, label_gpudev)
#: rc.cpp:277
msgid "GPU device"
msgstr ""
#. i18n: file: ui/configwindow.ui:2069
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:280
msgid "auto"
msgstr ""
#. i18n: file: ui/configwindow.ui:2074
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:283
msgid "nvidia"
msgstr ""
#. i18n: file: ui/configwindow.ui:2079
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:286
msgid "ati"
msgstr ""
#. i18n: file: ui/configwindow.ui:2130
#. i18n: ectx: property (text), widget (QLabel, label_mpdaddress)
#: rc.cpp:292
msgid "MPD address"
msgstr ""
#. i18n: file: ui/configwindow.ui:2154
#. i18n: ectx: property (text), widget (QLabel, label_mpdport)
#: rc.cpp:295
msgid "MPD port"
msgstr ""
#. i18n: file: ui/configwindow.ui:2209
#. i18n: ectx: property (text), widget (QLabel, label_customCommand)
#: rc.cpp:298
msgid "Custom command"
msgstr ""
#. i18n: file: ui/configwindow.ui:2216
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_customCommand)
#: rc.cpp:301
msgid "Custom command to run"
msgstr ""
#: rc.cpp:302
msgctxt "NAME OF TRANSLATORS" msgctxt "NAME OF TRANSLATORS"
msgid "Your names" msgid "Your names"
msgstr "" msgstr ""
#: rc.cpp:280 #: rc.cpp:303
msgctxt "EMAIL OF TRANSLATORS" msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails" msgid "Your emails"
msgstr "" msgstr ""

View File

@ -6,8 +6,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n" "Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n"
"POT-Creation-Date: 2014-04-02 20:48+0400\n" "POT-Creation-Date: 2014-04-03 02:22+0400\n"
"PO-Revision-Date: 2014-04-02 20:52+0400\n" "PO-Revision-Date: 2014-04-03 02:24+0400\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n" "Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: Russian <kde-russian@lists.kde.ru>\n" "Language-Team: Russian <kde-russian@lists.kde.ru>\n"
"Language: ru\n" "Language: ru\n"
@ -192,7 +192,9 @@ msgstr ""
#. i18n: file: ui/configwindow.ui:613 #. i18n: file: ui/configwindow.ui:613
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_hdd) #. i18n: ectx: property (text), widget (QCheckBox, checkBox_hdd)
#: rc.cpp:83 #. i18n: file: ui/configwindow.ui:2097
#. i18n: ectx: property (text), widget (QLabel, label_hdddev)
#: rc.cpp:83 rc.cpp:289
msgid "HDD" msgid "HDD"
msgstr "HDD" msgstr "HDD"
@ -465,31 +467,15 @@ msgstr "mpd"
msgid "qmmp" msgid "qmmp"
msgstr "qmmp" msgstr "qmmp"
#. i18n: file: ui/configwindow.ui:1386 #. i18n: file: ui/configwindow.ui:1392
#. i18n: ectx: property (text), widget (QLabel, label_customCommand) #. i18n: ectx: attribute (title), widget (QWidget, tooltip)
#: rc.cpp:226 #: rc.cpp:226
msgid "Custom command"
msgstr "Своя команда"
#. i18n: file: ui/configwindow.ui:1394
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_customCommand)
#: rc.cpp:229
msgid ""
"Command to run, example:\n"
"wget -qO- http://ifconfig.me/ip - get external IP"
msgstr ""
"Команда для запуска, например:\n"
"wget -qO- http://ifconfig.me/ip - получить внешний IP"
#. i18n: file: ui/configwindow.ui:1417
#. i18n: ectx: attribute (title), widget (QWidget, tab)
#: rc.cpp:233
msgid "Tooltip" msgid "Tooltip"
msgstr "Тултип" msgstr "Тултип"
#. i18n: file: ui/configwindow.ui:1423 #. i18n: file: ui/configwindow.ui:1398
#. i18n: ectx: property (text), widget (QLabel, label_tooltip) #. i18n: ectx: property (text), widget (QLabel, label_tooltip)
#: rc.cpp:236 #: rc.cpp:229
msgid "" msgid ""
"CPU, CPU clock, memory, swap and network labels support graphical tooltip. " "CPU, CPU clock, memory, swap and network labels support graphical tooltip. "
"To enable them just make needed checkbox fully checked." "To enable them just make needed checkbox fully checked."
@ -497,100 +483,161 @@ msgstr ""
"Поля CPU, частота CPU, память, swap, сеть поддерживают графический тултип. " "Поля CPU, частота CPU, память, swap, сеть поддерживают графический тултип. "
"Чтобы включить его, просто сделайте требуемые чекбоксы полностью чекнутыми." "Чтобы включить его, просто сделайте требуемые чекбоксы полностью чекнутыми."
#. i18n: file: ui/configwindow.ui:1444 #. i18n: file: ui/configwindow.ui:1419
#. i18n: ectx: property (text), widget (QLabel, label_tooltipNum) #. i18n: ectx: property (text), widget (QLabel, label_tooltipNum)
#: rc.cpp:239 #: rc.cpp:232
msgid "Number of values for tooltips" msgid "Number of values for tooltips"
msgstr "Число хранящихся значений" msgstr "Число хранящихся значений"
#. i18n: file: ui/configwindow.ui:1499 #. i18n: file: ui/configwindow.ui:1474
#. i18n: ectx: property (text), widget (QLabel, label_cpuColor) #. i18n: ectx: property (text), widget (QLabel, label_cpuColor)
#: rc.cpp:242 #: rc.cpp:235
msgid "CPU color" msgid "CPU color"
msgstr "Цвет CPU" msgstr "Цвет CPU"
#. i18n: file: ui/configwindow.ui:1539 #. i18n: file: ui/configwindow.ui:1514
#. i18n: ectx: property (text), widget (QLabel, label_cpuclockColor) #. i18n: ectx: property (text), widget (QLabel, label_cpuclockColor)
#: rc.cpp:245 #: rc.cpp:238
msgid "CPU clock color" msgid "CPU clock color"
msgstr "Цвет частоты CPU" msgstr "Цвет частоты CPU"
#. i18n: file: ui/configwindow.ui:1579 #. i18n: file: ui/configwindow.ui:1554
#. i18n: ectx: property (text), widget (QLabel, label_memColor) #. i18n: ectx: property (text), widget (QLabel, label_memColor)
#: rc.cpp:248 #: rc.cpp:241
msgid "Memory color" msgid "Memory color"
msgstr "Цвет памяти" msgstr "Цвет памяти"
#. i18n: file: ui/configwindow.ui:1619 #. i18n: file: ui/configwindow.ui:1594
#. i18n: ectx: property (text), widget (QLabel, label_swapColor) #. i18n: ectx: property (text), widget (QLabel, label_swapColor)
#: rc.cpp:251 #: rc.cpp:244
msgid "Swap color" msgid "Swap color"
msgstr "Цвет swap" msgstr "Цвет swap"
#. i18n: file: ui/configwindow.ui:1659 #. i18n: file: ui/configwindow.ui:1634
#. i18n: ectx: property (text), widget (QLabel, label_downColor) #. i18n: ectx: property (text), widget (QLabel, label_downColor)
#: rc.cpp:254 #: rc.cpp:247
msgid "Download speed color" msgid "Download speed color"
msgstr "Цвет скорости загрузки" msgstr "Цвет скорости загрузки"
#. i18n: file: ui/configwindow.ui:1699 #. i18n: file: ui/configwindow.ui:1674
#. i18n: ectx: property (text), widget (QLabel, label_upColor) #. i18n: ectx: property (text), widget (QLabel, label_upColor)
#: rc.cpp:257 #: rc.cpp:250
msgid "Upload speed color" msgid "Upload speed color"
msgstr "Цвет скорости отдачи" msgstr "Цвет скорости отдачи"
#. i18n: file: ui/configwindow.ui:1745 #. i18n: file: ui/configwindow.ui:1720
#. i18n: ectx: attribute (title), widget (QWidget, appearance) #. i18n: ectx: attribute (title), widget (QWidget, appearance)
#: rc.cpp:260 #: rc.cpp:253
msgid "Appearance" msgid "Appearance"
msgstr "Внешний вид" msgstr "Внешний вид"
#. i18n: file: ui/configwindow.ui:1759 #. i18n: file: ui/configwindow.ui:1734
#. i18n: ectx: property (text), widget (QLabel, label_interval) #. i18n: ectx: property (text), widget (QLabel, label_interval)
#: rc.cpp:263 #: rc.cpp:256
msgid "Time interval" msgid "Time interval"
msgstr "Интервал обновления" msgstr "Интервал обновления"
#. i18n: file: ui/configwindow.ui:1814 #. i18n: file: ui/configwindow.ui:1789
#. i18n: ectx: property (text), widget (QLabel, label_font) #. i18n: ectx: property (text), widget (QLabel, label_font)
#: rc.cpp:266 #: rc.cpp:259
msgid "Font" msgid "Font"
msgstr "Шрифт" msgstr "Шрифт"
#. i18n: file: ui/configwindow.ui:1854 #. i18n: file: ui/configwindow.ui:1829
#. i18n: ectx: property (text), widget (QLabel, label_fontSize) #. i18n: ectx: property (text), widget (QLabel, label_fontSize)
#: rc.cpp:269 #: rc.cpp:262
msgid "Font size" msgid "Font size"
msgstr "Размер шрифта" msgstr "Размер шрифта"
#. i18n: file: ui/configwindow.ui:1909 #. i18n: file: ui/configwindow.ui:1884
#. i18n: ectx: property (text), widget (QLabel, label_color) #. i18n: ectx: property (text), widget (QLabel, label_color)
#: rc.cpp:272 #: rc.cpp:265
msgid "Font color" msgid "Font color"
msgstr "Цвет шрифта" msgstr "Цвет шрифта"
#. i18n: file: ui/configwindow.ui:1949 #. i18n: file: ui/configwindow.ui:1924
#. i18n: ectx: property (text), widget (QLabel, label_style) #. i18n: ectx: property (text), widget (QLabel, label_style)
#: rc.cpp:275 #: rc.cpp:268
msgid "Font style" msgid "Font style"
msgstr "Стиль шрифта" msgstr "Стиль шрифта"
#. i18n: file: ui/configwindow.ui:1999 #. i18n: file: ui/configwindow.ui:1974
#. i18n: ectx: property (text), widget (QLabel, label_weight) #. i18n: ectx: property (text), widget (QLabel, label_weight)
#: rc.cpp:278 #: rc.cpp:271
msgid "Font weight" msgid "Font weight"
msgstr "Ширина шрифта" msgstr "Ширина шрифта"
#: rc.cpp:279 #. i18n: file: ui/configwindow.ui:2035
#. i18n: ectx: attribute (title), widget (QWidget, dataengine)
#: rc.cpp:274
msgid "DataEngine"
msgstr "DataEngine"
#. i18n: file: ui/configwindow.ui:2049
#. i18n: ectx: property (text), widget (QLabel, label_gpudev)
#: rc.cpp:277
msgid "GPU device"
msgstr "Устройство GPU"
#. i18n: file: ui/configwindow.ui:2069
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:280
msgid "auto"
msgstr "auto"
#. i18n: file: ui/configwindow.ui:2074
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:283
msgid "nvidia"
msgstr "nvidia"
#. i18n: file: ui/configwindow.ui:2079
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:286
msgid "ati"
msgstr "ati"
#. i18n: file: ui/configwindow.ui:2130
#. i18n: ectx: property (text), widget (QLabel, label_mpdaddress)
#: rc.cpp:292
msgid "MPD address"
msgstr "Адрес сервера MPD"
#. i18n: file: ui/configwindow.ui:2154
#. i18n: ectx: property (text), widget (QLabel, label_mpdport)
#: rc.cpp:295
msgid "MPD port"
msgstr "Порт сервера MPD"
#. i18n: file: ui/configwindow.ui:2209
#. i18n: ectx: property (text), widget (QLabel, label_customCommand)
#: rc.cpp:298
msgid "Custom command"
msgstr "Своя команда"
#. i18n: file: ui/configwindow.ui:2216
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_customCommand)
#: rc.cpp:301
msgid "Custom command to run"
msgstr "Своя команда для запуска"
#: rc.cpp:302
msgctxt "NAME OF TRANSLATORS" msgctxt "NAME OF TRANSLATORS"
msgid "Your names" msgid "Your names"
msgstr "Evgeniy Alekseev" msgstr "Evgeniy Alekseev"
#: rc.cpp:280 #: rc.cpp:303
msgctxt "EMAIL OF TRANSLATORS" msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails" msgid "Your emails"
msgstr "esalexeev@gmail.com" msgstr "esalexeev@gmail.com"
#~ msgid ""
#~ "Command to run, example:\n"
#~ "wget -qO- http://ifconfig.me/ip - get external IP"
#~ msgstr ""
#~ "Команда для запуска, например:\n"
#~ "wget -qO- http://ifconfig.me/ip - получить внешний IP"
#~ msgid "@@/;@@ - mount point usage, %" #~ msgid "@@/;@@ - mount point usage, %"
#~ msgstr "@@/;@@ - использование точки монтирования, %" #~ msgstr "@@/;@@ - использование точки монтирования, %"