mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-04-24 23:37:19 +00:00
fix headers
This commit is contained in:
parent
34acd94e7b
commit
922c4a57e3
@ -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
|
||||
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.
|
||||
|
||||
## <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.
|
||||
|
||||
@ -55,7 +55,7 @@ Converts `QDateTime` object to string.
|
||||
|
||||
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.
|
||||
|
||||
@ -70,7 +70,7 @@ Converts any number to string.
|
||||
|
||||
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.
|
||||
|
||||
@ -80,7 +80,7 @@ Coverts list of string objects to string.
|
||||
| X-AW-Separator | no | use this separator to join strings | (empty |
|
||||
| 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
|
||||
to fuction.
|
||||
|
@ -43,11 +43,11 @@ cpu=myformatter
|
||||
системные форматеры будут перезаписаны пользовательскими, но настройки (то есть
|
||||
`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` объект в строку.
|
||||
|
||||
@ -57,7 +57,7 @@ cpu=myformatter
|
||||
|
||||
Действует аналогично `$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`.
|
||||
|
||||
## <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-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 код для конвертации значения в строку. Значение будет
|
||||
передано как аргумент в функцию.
|
||||
|
Loading…
Reference in New Issue
Block a user