{"inframe":true,"title":"Str.theme","hidden":false,"roles":{"demo":1,"dev":1},"children":[{"configs":{"itemId":"module"},"children":[{"configs":{"appImage":"wb/images/icon/theme.png","layout":"fit","itemId":"themePanel"},"children":[{"configs":{"title":"@Str.theme","docked":"top","titleAlign":"left","itemId":"titlebar1"},"children":[{"configs":{"ui":"action","text":"@Str.save","glyph":"f0c7","align":"right","itemId":"save"},"events":{"tap":"var theme, checkItem = app.themePanel.down('[checked=true]');\ntheme = checkItem ? checkItem.itemId : 'classic';\nWb.request({\n  url: 'm?xwl=apps/sys/tools/theme/set-theme',\n  params: {\n    theme: theme\n  },\n  success: function(resp) {\n    Wb.confirm(Str.refreshWindow, function() {\n      location.reload();\n    });\n  }\n});"},"children":[],"expanded":false,"type":"tbutton"}],"expanded":true,"type":"ttitlebar"},{"configs":{"scrollable":"true","itemId":"container1"},"events":{"painted":"var item = app[Wb.theme];\nif (item)\n  item.check();"},"children":[{"configs":{"defaults":"{\n  labelWidth: '60%'\n}","itemId":"themeSet"},"children":[{"configs":{"name":"theme","label":"@Str.classic","itemId":"classic"},"children":[],"expanded":false,"type":"tradio"},{"configs":{"name":"theme","label":"Apple","itemId":"apple"},"children":[],"expanded":false,"type":"tradio"},{"configs":{"name":"theme","label":"BlackBerry","itemId":"bb10"},"children":[],"expanded":false,"type":"tradio"},{"configs":{"name":"theme","label":"Cupertino","itemId":"cupertino"},"children":[],"expanded":false,"type":"tradio"},{"configs":{"name":"theme","label":"Mountainview","itemId":"mountainview"},"children":[],"expanded":false,"type":"tradio"},{"configs":{"name":"theme","label":"Tizen","itemId":"tizen"},"children":[],"expanded":false,"type":"tradio"},{"configs":{"name":"theme","label":"Windows Phone","itemId":"wp"},"children":[],"expanded":false,"type":"tradio"}],"expanded":true,"type":"tfieldset"}],"expanded":true,"type":"tcontainer"}],"expanded":true,"type":"tviewport"}],"expanded":true,"type":"module"}],"pageLink":"","iconCls":"color_icon"}