fix headers

This commit is contained in:
Evgenii Alekseev 2016-07-05 14:19:27 +03:00
parent 34acd94e7b
commit 922c4a57e3
2 changed files with 10 additions and 10 deletions

View File

@ -41,11 +41,11 @@ Each formatter type has own behaviour and own settings and they are described
below. Also there are system-wide settings which are stored in `/usr/share/awesomewidgets/formatters/`, system formatters will be overwritten by below. Also there are system-wide settings which are stored in `/usr/share/awesomewidgets/formatters/`, system formatters will be overwritten by
user defined ones, but formatter settings (i.e. `formatters.ini`) will be appended. user defined ones, but formatter settings (i.e. `formatters.ini`) will be appended.
## <a href="#formatter-noformat" class="anchor" id="formatter-noformat"><span class="octicon octicon-link"></span></a>`NoFormat` formatter ## <a href="#formatter-noformat" class="anchor" id="formatter-noformat"><span class="octicon octicon-link"></span></a>NoFormat formatter
Just puts value as string directly. It has no any special settings. Just puts value as string directly. It has no any special settings.
## <a href="#formatter-datetime" class="anchor" id="formatter-datetime"><span class="octicon octicon-link"></span></a>`DateTime` formatter ## <a href="#formatter-datetime" class="anchor" id="formatter-datetime"><span class="octicon octicon-link"></span></a>DateTime formatter
Converts `QDateTime` object to string. Converts `QDateTime` object to string.
@ -55,7 +55,7 @@ Converts `QDateTime` object to string.
Actually it is the same as `$ctime` tag and has the same configuration. Actually it is the same as `$ctime` tag and has the same configuration.
## <a href="#formatter-float" class="anchor" id="formatter-float"><span class="octicon octicon-link"></span></a>`Float` formatter ## <a href="#formatter-float" class="anchor" id="formatter-float"><span class="octicon octicon-link"></span></a>Float formatter
Converts any number to string. Converts any number to string.
@ -70,7 +70,7 @@ Converts any number to string.
Please note that actual formula is `X-AW-Multiplier * value + X-AW-Summand`. Please note that actual formula is `X-AW-Multiplier * value + X-AW-Summand`.
## <a href="#formatter-list" class="anchor" id="formatter-list"><span class="octicon octicon-link"></span></a>`List` formatter ## <a href="#formatter-list" class="anchor" id="formatter-list"><span class="octicon octicon-link"></span></a>List formatter
Coverts list of string objects to string. Coverts list of string objects to string.
@ -80,7 +80,7 @@ Coverts list of string objects to string.
| X-AW-Separator | no | use this separator to join strings | (empty | | X-AW-Separator | no | use this separator to join strings | (empty |
| X-AW-Sort | no | boolean, sort or not list | false | | X-AW-Sort | no | boolean, sort or not list | false |
## <a href="#formatter-script" class="anchor" id="formatter-script"><span class="octicon octicon-link"></span></a>`Script` formatter ## <a href="#formatter-script" class="anchor" id="formatter-script"><span class="octicon octicon-link"></span></a>Script formatter
Uses javascript code to convert value to string. Value will be passed as argument Uses javascript code to convert value to string. Value will be passed as argument
to fuction. to fuction.

View File

@ -43,11 +43,11 @@ cpu=myformatter
системные форматеры будут перезаписаны пользовательскими, но настройки (то есть системные форматеры будут перезаписаны пользовательскими, но настройки (то есть
`formatters.ini`) будут просто дополнены. `formatters.ini`) будут просто дополнены.
## <a href="#formatter-noformat" class="anchor" id="formatter-noformat"><span class="octicon octicon-link"></span></a>`NoFormat` форматер ## <a href="#formatter-noformat" class="anchor" id="formatter-noformat"><span class="octicon octicon-link"></span></a>NoFormat форматер
Просто значение конвертирует в строку. Не имеет никаких особых настроек. Просто значение конвертирует в строку. Не имеет никаких особых настроек.
## <a href="#formatter-datetime" class="anchor" id="formatter-datetime"><span class="octicon octicon-link"></span></a>`DateTime` форматер ## <a href="#formatter-datetime" class="anchor" id="formatter-datetime"><span class="octicon octicon-link"></span></a>DateTime форматер
Конвертирует `QDateTime` объект в строку. Конвертирует `QDateTime` объект в строку.
@ -57,7 +57,7 @@ cpu=myformatter
Действует аналогично `$ctime` и имеет аналогичную конфигурацию. Действует аналогично `$ctime` и имеет аналогичную конфигурацию.
## <a href="#formatter-float" class="anchor" id="formatter-float"><span class="octicon octicon-link"></span></a>`Float` форматер ## <a href="#formatter-float" class="anchor" id="formatter-float"><span class="octicon octicon-link"></span></a>Float форматер
Конвертирует любое число в строку. Конвертирует любое число в строку.
@ -72,7 +72,7 @@ cpu=myformatter
Конечное значение будет получено по формуле `X-AW-Multiplier * value + X-AW-Summand`. Конечное значение будет получено по формуле `X-AW-Multiplier * value + X-AW-Summand`.
## <a href="#formatter-list" class="anchor" id="formatter-list"><span class="octicon octicon-link"></span></a>`List` форматер ## <a href="#formatter-list" class="anchor" id="formatter-list"><span class="octicon octicon-link"></span></a>List форматер
Конвертирует список строк в строку Конвертирует список строк в строку
@ -82,7 +82,7 @@ cpu=myformatter
| X-AW-Separator | нет | использовать разделитель для объединения | (пусто) | | X-AW-Separator | нет | использовать разделитель для объединения | (пусто) |
| X-AW-Sort | нет | сортировать или нет список | false | | X-AW-Sort | нет | сортировать или нет список | false |
## <a href="#formatter-script" class="anchor" id="formatter-script"><span class="octicon octicon-link"></span></a>`Script` форматер ## <a href="#formatter-script" class="anchor" id="formatter-script"><span class="octicon octicon-link"></span></a>Script форматер
Использует javascript код для конвертации значения в строку. Значение будет Использует javascript код для конвертации значения в строку. Значение будет
передано как аргумент в функцию. передано как аргумент в функцию.