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_COLOR "A03O003L1"
40 #define QP_CLEAR_ALL_NOTIFICATIONS_LABEL_FONT_SIZE 27
41 #define QP_CLEAR_ALL_NOTIFICATIONS_STR_X_OFFSET 17 //x offset of "notifications(x)" string
42 #define QP_CLEAR_ALL_BASE_BG_COLOR "AO021"
44 //Properties of clear all button
45 #define QP_CLEAR_ALL_CLEAR_ALL_BTN_TEXT_FONT_NAME "Tizen:style=Regular"
46 #define QP_CLEAR_ALL_CLEAR_ALL_BTN_FONT_COLOR "T112"
47 #define QP_CLEAR_ALL_CLEAR_ALL_BTN_FONT_COLOR_PRESSED "ATO006P"
48 #define QP_CLEAR_ALL_CLEAR_ALL_BTN_FONT_COLOR_DIM "ATO006D"
49 #define QP_CLEAR_ALL_CLEAR_ALL_BTN_FONT_SIZE 20
50 #define QP_CLEAR_ALL_CLEAR_ALL_BTN_BG_COLOR "A03O003L1"
51 #define QP_CLEAR_ALL_CLEAR_ALL_BTN_BG_COLOR_PRESSED "B0517P"
53 //Properties of separator betwen notifiactions label and clear all button
54 #define QP_NOTIFICATIONS_SEP_X_OFFSET -235 //separator between "notification(x) | Clear all" button
55 #define QP_NOTIFICATIONS_SEP_Y_OFFSET 17
56 #define QP_NOTIFICATIONS_SEP_COLOR_CLASS "W021L2"
59 image: "icon_arrow_up.png" COMP;
60 image: "icon_arrow_down.png" COMP;
61 image: "core_icon_badge_container.#.png" COMP;
65 name: "quickpanel/notisection/default";
74 min: 0 QP_THEME_LIST_ITEM_NOTI_SECTION_HEIGHT;
75 max: 9999 QP_THEME_LIST_ITEM_NOTI_SECTION_HEIGHT;
83 color_class: QP_THEME_BG_COLOR;
84 visible: QP_THEME_BG_VISIBILITY;
87 QUICKPANEL_FOCUS_OBJECT("focus.label", "base", "base")
89 name: "elm.padding.left";
98 rel1.relative: 0.0 0.0;
99 rel2.relative: 0.0 1.0;
104 name: "elm.padding.right";
108 state: "default" 0.0;
113 rel1.relative: 1.0 0.0;
114 rel2.relative: 1.0 0.0;
119 name: "elm.padding.top";
123 state: "default" 0.0;
128 rel1.relative: 0.0 0.0;
129 rel2.relative: 1.0 0.0;
134 name: "elm.padding.bottom";
138 state: "default" 0.0;
143 rel1.relative: 0.0 1.0;
144 rel2.relative: 1.0 1.0;
149 name: "elm.padding.top.button";
153 state: "default" 0.0;
156 rel1.relative: 0.0 0.0;
157 rel2.relative: 1.0 0.0;
162 name: "elm.padding.bottom.button";
166 state: "default" 0.0;
169 rel1.relative: 0.0 1.0;
170 rel2.relative: 1.0 1.0;
175 name: "elm.rect.text";
179 state: "default" 0.0;
183 to_x: "elm.padding.left";
184 to_y: "elm.padding.bottom";
188 to_x: "elm.padding.left";
189 to_y: "elm.padding.bottom";
196 name: "elm.text.text";
200 state: "default" 0.0;
210 font: QP_THEME_LIST_TITLE_FONT_NAME;
212 size: QP_THEME_LIST_TITLE_FONT_SIZE;
219 name: "elm.text.text.debug";
222 state: "default" 0.0;
223 rel1.relative: 0.0 0.0;
224 rel2.relative: 1.0 1.0;
225 rel1.to: "elm.text.text";
226 rel2.to: "elm.text.text";
232 name: "elm.rect.icon";
236 state: "default" 0.0;
240 to_x: "elm.padding.right";
245 to_x: "elm.padding.right";
253 name: "text.clear.right.padding";
257 state: "default" 0.0;
275 state: "default" 0.0;
278 to_x: "text.clear.right.padding";
279 to_y: "elm.text.text";
283 to_x: "text.clear.right.padding";
284 to_y: "elm.text.text";
287 color_class: QP_THEME_LIST_OPTION_FONT_COLOR;
289 font: QP_THEME_LIST_TITLE_FONT_NAME;
291 size: QP_THEME_LIST_OPTION_FONT_SIZE;
298 state: "pressed" 0.0;
299 inherit: "default" 0.0;
300 color_class: QP_THEME_LIST_OPTION_PRESS_FONT_COLOR;
304 name: "divider.right.padding";
308 state: "default" 0.0;
326 state: "default" 0.0;
330 to_x: "divider.right.padding";
335 to_x: "divider.right.padding";
339 color_class: QP_THEME_SECTION_ICON_DIVIDER_COLOR;
344 name: "rect.text.touch";
349 state: "default" 0.0;
369 signal: "mouse,down,1";
370 source: "rect.text.touch";
371 action: STATE_SET "pressed" 0.0;
372 target: "text.clear";
376 signal: "mouse,up,1";
377 source: "rect.text.touch";
378 action: STATE_SET "default" 0.0;
379 target: "text.clear";
382 name: "button.clicked";
383 signal: "mouse,clicked,1";
384 source: "rect.text.touch";
385 action: SIGNAL_EMIT "button.clicked" "prog";
394 * base - it is the background rectangle. This part is a relative for all other parts and define background color.
395 * noti.clear.all.separator - is the line between "notification(X)" and clear all button
398 name: "quickpanel/notisection/clear_all";
406 state: "default" 0.0;
407 min: 0 QP_CLEAR_ALL_ITEM_H;
415 color_class: QP_CLEAR_ALL_BASE_BG_COLOR;
420 name: "notisection.padding.left";
424 state: "default" 0.0;
439 name: "notisection.padding.right";
443 state: "default" 0.0;
463 state: "default" 0.0;
475 color_class: QP_NOTIFICATIONS_SEP_COLOR_CLASS;
480 name: "noti.clear.all.separator";
488 color_class: QP_NOTIFICATIONS_SEP_COLOR_CLASS;
491 to_x: "clear_all.padding.left";
496 to_x: "clear_all.padding.left";
512 name: "separator.padding.left";
516 state: "default" 0.0;
521 to: "noti.clear.all.separator";
525 to: "noti.clear.all.separator";
532 name: "elm.text.notifications_number";
536 state: "default" 0.0;
540 to: "notisection.padding.left";
546 to_x: "separator.padding.left";
550 color_class: QP_CLEAR_ALL_NOTIFICATIONS_LABEL_FONT_COLOR;
552 font: QP_CLEAR_ALL_NOTIFICATIONS_LABEL_FONT_NAME;
553 size: QP_CLEAR_ALL_NOTIFICATIONS_LABEL_FONT_SIZE;
561 name: "rect.button.clear_all";
565 state: "default" 0.0;
573 to_x: "notisection.padding.right";
579 normal:"core_icon_badge_container.#.png";
581 color_class: QP_CLEAR_ALL_CLEAR_ALL_BTN_BG_COLOR;
587 state: "pressed" 0.0;
588 inherit: "default" 0.0;
589 color_class: QP_CLEAR_ALL_CLEAR_ALL_BTN_BG_COLOR_PRESSED;
601 name: "text.button.clear_all";
606 state: "default" 0.0;
612 to: "rect.button.clear_all";
616 to: "notisection.padding.right";
619 color_class: QP_CLEAR_ALL_CLEAR_ALL_BTN_FONT_COLOR;
621 font: QP_CLEAR_ALL_CLEAR_ALL_BTN_TEXT_FONT_NAME;
622 size: QP_CLEAR_ALL_CLEAR_ALL_BTN_FONT_SIZE;
633 color_class: QP_CLEAR_ALL_CLEAR_ALL_BTN_FONT_COLOR_PRESSED;
639 color_class: QP_CLEAR_ALL_CLEAR_ALL_BTN_FONT_COLOR_DIM;
650 name: "clear_all.padding.left";
654 state: "default" 0.0;
659 to_x: "text.button.clear_all";
664 to_x: "text.button.clear_all";
670 QUICKPANEL_FOCUS_OBJECT("focus", "rect.button.clear_all", "rect.button.clear_all")
677 name: "clear_all.button.pressed";
678 signal: "mouse,down,1";
681 action: STATE_SET "pressed" 0.0;
682 target: "rect.button.clear_all";
683 target: "text.button.clear_all";
687 name: "clear_all.button.released";
688 signal: "mouse,up,1";
691 action: STATE_SET "default" 0.0;
692 target: "rect.button.clear_all";
693 target: "text.button.clear_all";
697 name: "clear_all,show";
698 signal: "notifaction,section,clear_all,show";
701 action: STATE_SET "default" 0.0;
702 target: "rect.button.clear_all";
703 target: "text.button.clear_all";
704 target: "noti.clear.all.separator";
710 name: "clear_all,hide";
711 signal: "notifaction,section,clear_all,hide";
714 action: STATE_SET "hide" 0.0;
715 target: "rect.button.clear_all";
716 target: "text.button.clear_all";
717 target: "noti.clear.all.separator";
724 name: "quickpanel/seperator/default";
731 state: "default" 0.0;