qml improvements

* move functions to plugin part
* move model to general.qml
This commit is contained in:
2016-10-15 00:01:10 +03:00
parent 80767c9dbf
commit d74cd645fd
5 changed files with 91 additions and 87 deletions

View File

@ -44,6 +44,9 @@ const int REQUEST_TIMEOUT = 3000;
const char TIME_KEYS[]
= "d,dd,ddd,dddd,M,MM,MMM,MMMM,yy,yyyy,h,hh,H,HH,m,mm,s,ss,t,a,ap,A,AP";
// static keys
const char STATIC_FUNCTIONS[] = "{{\n\n}},template{{\n\n}},aw_all<>{{}},aw_"
"count<>{{}},aw_keys<>{{}},aw_macro<>{{}},aw_"
"names<>{{}}";
const char STATIC_KEYS[]
= "time,isotime,shorttime,longtime,tstime,ctime,uptime,cuptime,cpucl,cpu,"
"gputemp,gpu,memmb,memgb,memfreemb,memfreegb,memtotmb,memtotgb,memusedmb,"