2 * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
22 //Default part description. It is not changed by us
23 #define QP_THEME_LIST_TITLE_FONT_NAME "Tizen:style=Bold"
24 #define QP_THEME_LIST_TITLE_FONT_COLOR "ATO005"
25 #define QP_THEME_LIST_TITLE_FONT_SIZE 27
27 #define QP_THEME_LIST_OPTION_FONT_COLOR "ATO006"
28 #define QP_THEME_LIST_OPTION_PRESS_FONT_COLOR "ATO006P"
29 #define QP_THEME_LIST_OPTION_FONT_SIZE 27
30 #define QP_THEME_LIST_OPTION_ICON_PRESS_COLOR "AO005"
32 //size of clear all item
33 #define QP_CLEAR_ALL_ITEM_H 51
34 #define QP_CLEAR_ALL_ITEM_W 480
36 //Properties of "notifications (x) label in clear all notifications item"
37 #define QP_CLEAR_ALL_NOTIFICATIONS_LABEL_FONT_NAME "Tizen:style=Regular"
38 #define QP_CLEAR_ALL_NOTIFICATIONS_LABEL_FONT_COLOR "T023"
39 #define QP_CLEAR_ALL_NOTIFICATIONS_LABEL_FONT_SIZE 27
40 #define QP_CLEAR_ALL_NOTIFICATIONS_STR_X_OFFSET 17 //x offset of "notifications(x)" string
42 //Properties of clear all button
43 #define QP_CLEAR_ALL_CLEAR_ALL_BTN_TEXT_FONT_NAME "Tizen:style=Regular"
44 #define QP_CLEAR_ALL_CLEAR_ALL_BTN_FONT_COLOR "T023"
45 #define QP_CLEAR_ALL_CLEAR_ALL_BTN_FONT_COLOR_PRESSED "ATO006P"
46 #define QP_CLEAR_ALL_CLEAR_ALL_BTN_FONT_COLOR_DIM "ATO006D"
47 #define QP_CLEAR_ALL_CLEAR_ALL_BTN_FONT_SIZE 27
48 #define QP_CLEAR_ALL_CLEAR_ALL_BTN_BG_COLOR "W021L1"
49 #define QP_CLEAR_ALL_CLEAR_ALL_BTN_BG_COLOR_PRESSED "AO021P"
51 //Properties of separator betwen notifiactions label and clear all button
52 #define QP_NOTIFICATIONS_SEP_X_OFFSET -235 //separator between "notification(x) | Clear all" button
53 #define QP_NOTIFICATIONS_SEP_Y_OFFSET 17
54 #define QP_NOTIFICATIONS_SEP_COLOR_CLASS "W021L2"
57 image: "icon_arrow_up.png" COMP;
58 image: "icon_arrow_down.png" COMP;
62 name: "quickpanel/notisection/default";
71 min: 0 QP_THEME_LIST_ITEM_NOTI_SECTION_HEIGHT;
72 max: 9999 QP_THEME_LIST_ITEM_NOTI_SECTION_HEIGHT;
80 color_class: QP_THEME_BG_COLOR;
81 visible: QP_THEME_BG_VISIBILITY;
85 QUICKPANEL_FOCUS_OBJECT("focus.label", "base", "base")
87 name: "elm.padding.left";
96 rel1.relative: 0.0 0.0;
97 rel2.relative: 0.0 1.0;
102 name: "elm.padding.right";
106 state: "default" 0.0;
111 rel1.relative: 1.0 0.0;
112 rel2.relative: 1.0 0.0;
117 name: "elm.padding.top";
121 state: "default" 0.0;
126 rel1.relative: 0.0 0.0;
127 rel2.relative: 1.0 0.0;
132 name: "elm.padding.bottom";
136 state: "default" 0.0;
141 rel1.relative: 0.0 1.0;
142 rel2.relative: 1.0 1.0;
147 name: "elm.padding.top.button";
151 state: "default" 0.0;
154 rel1.relative: 0.0 0.0;
155 rel2.relative: 1.0 0.0;
160 name: "elm.padding.bottom.button";
164 state: "default" 0.0;
167 rel1.relative: 0.0 1.0;
168 rel2.relative: 1.0 1.0;
173 name: "elm.rect.text";
177 state: "default" 0.0;
181 to_x: "elm.padding.left";
182 to_y: "elm.padding.bottom";
186 to_x: "elm.padding.left";
187 to_y: "elm.padding.bottom";
194 name: "elm.text.text";
198 state: "default" 0.0;
208 font: QP_THEME_LIST_TITLE_FONT_NAME;
210 size: QP_THEME_LIST_TITLE_FONT_SIZE;
217 name: "elm.text.text.debug";
220 state: "default" 0.0;
221 rel1.relative: 0.0 0.0;
222 rel2.relative: 1.0 1.0;
223 rel1.to: "elm.text.text";
224 rel2.to: "elm.text.text";
230 name: "elm.rect.icon";
234 state: "default" 0.0;
238 to_x: "elm.padding.right";
243 to_x: "elm.padding.right";
251 name: "text.clear.right.padding";
255 state: "default" 0.0;
273 state: "default" 0.0;
276 to_x: "text.clear.right.padding";
277 to_y: "elm.text.text";
281 to_x: "text.clear.right.padding";
282 to_y: "elm.text.text";
285 color_class: QP_THEME_LIST_OPTION_FONT_COLOR;
287 font: QP_THEME_LIST_TITLE_FONT_NAME;
289 size: QP_THEME_LIST_OPTION_FONT_SIZE;
296 state: "pressed" 0.0;
297 inherit: "default" 0.0;
298 color_class: QP_THEME_LIST_OPTION_PRESS_FONT_COLOR;
302 name: "divider.right.padding";
306 state: "default" 0.0;
324 state: "default" 0.0;
328 to_x: "divider.right.padding";
333 to_x: "divider.right.padding";
337 color_class: QP_THEME_SECTION_ICON_DIVIDER_COLOR;
342 name: "rect.text.touch";
347 state: "default" 0.0;
367 signal: "mouse,down,1";
368 source: "rect.text.touch";
369 action: STATE_SET "pressed" 0.0;
370 target: "text.clear";
374 signal: "mouse,up,1";
375 source: "rect.text.touch";
376 action: STATE_SET "default" 0.0;
377 target: "text.clear";
380 name: "button.clicked";
381 signal: "mouse,clicked,1";
382 source: "rect.text.touch";
383 action: SIGNAL_EMIT "button.clicked" "prog";
392 * base - it is the background rectangle. This part is a relative for all other parts and define background color.
393 * noti.clear.all.separator - is the line between "notification(X)" and clear all button
396 name: "quickpanel/notisection/clear_all";
405 state: "default" 0.0;
406 min: 0 QP_CLEAR_ALL_ITEM_H;
414 color_class: QP_CLEAR_ALL_CLEAR_ALL_BTN_BG_COLOR;
419 QUICKPANEL_FOCUS_OBJECT("focus.label", "base", "base")
422 name: "notisection.padding.left";
426 state: "default" 0.0;
441 name: "notisection.padding.right";
445 state: "default" 0.0;
466 state: "default" 0.0;
478 color_class: QP_NOTIFICATIONS_SEP_COLOR_CLASS;
483 name: "noti.clear.all.separator";
492 color_class: QP_NOTIFICATIONS_SEP_COLOR_CLASS;
495 to_x: "clear_all.padding.left";
500 to_x: "clear_all.padding.left";
516 name: "separator.padding.left";
520 state: "default" 0.0;
525 to: "noti.clear.all.separator";
529 to: "noti.clear.all.separator";
536 name: "elm.text.notifications_number";
540 state: "default" 0.0;
544 to: "notisection.padding.left";
550 to_x: "separator.padding.left";
554 color_class: QP_CLEAR_ALL_NOTIFICATIONS_LABEL_FONT_COLOR;
556 font: QP_CLEAR_ALL_NOTIFICATIONS_LABEL_FONT_NAME;
557 size: QP_CLEAR_ALL_NOTIFICATIONS_LABEL_FONT_SIZE;
565 name: "rect.button.clear_all";
570 state: "default" 0.0;
572 to: "clear_all.padding.left";
576 to_x: "notisection.padding.right";
581 color_class: QP_CLEAR_ALL_CLEAR_ALL_BTN_BG_COLOR;
588 state: "pressed" 0.0;
589 inherit: "default" 0.0;
590 color_class: QP_CLEAR_ALL_CLEAR_ALL_BTN_BG_COLOR_PRESSED;
601 name: "text.button.clear_all";
607 state: "default" 0.0;
614 to_y: "notisection.padding.right";
618 to: "notisection.padding.right";
621 color_class: QP_CLEAR_ALL_CLEAR_ALL_BTN_FONT_COLOR;
623 font: QP_CLEAR_ALL_CLEAR_ALL_BTN_TEXT_FONT_NAME;
624 size: QP_CLEAR_ALL_CLEAR_ALL_BTN_FONT_SIZE;
635 color_class: QP_CLEAR_ALL_CLEAR_ALL_BTN_FONT_COLOR_PRESSED;
641 color_class: QP_CLEAR_ALL_CLEAR_ALL_BTN_FONT_COLOR_DIM;
652 name: "clear_all.padding.left";
656 state: "default" 0.0;
661 to_x: "text.button.clear_all";
666 to_x: "text.button.clear_all";
673 QUICKPANEL_FOCUS_OBJECT("focus", "rect.button.clear_all", "rect.button.clear_all")
680 name: "clear_all.button.pressed";
681 signal: "mouse,down,1";
684 action: STATE_SET "pressed" 0.0;
685 target: "rect.button.clear_all";
686 target: "text.button.clear_all";
690 name: "clear_all.button.released";
691 signal: "mouse,up,1";
694 action: STATE_SET "default" 0.0;
695 target: "rect.button.clear_all";
696 target: "text.button.clear_all";
700 name: "clear_all,show";
701 signal: "notifaction,section,clear_all,show";
704 action: STATE_SET "default" 0.0;
705 target: "rect.button.clear_all";
706 target: "text.button.clear_all";
707 target: "noti.clear.all.separator";
713 name: "clear_all,hide";
714 signal: "notifaction,section,clear_all,hide";
717 action: STATE_SET "hide" 0.0;
718 target: "rect.button.clear_all";
719 target: "text.button.clear_all";
720 target: "noti.clear.all.separator";
727 name: "quickpanel/seperator/default";
734 state: "default" 0.0;