luna-sysmgr-common
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
WindowTypes.h
Go to the documentation of this file.
1 /* @@@LICENSE
2 *
3 * Copyright (c) 2008-2012 Hewlett-Packard Development Company, L.P.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 * LICENSE@@@ */
18 
19 #ifndef WINDOWTYPES_H
20 #define WINDOWTYPES_H
21 
22 #include <QGraphicsObject>
23 
24 namespace WindowType {
25  enum Type {
26  Type_Invalid = QGraphicsObject::UserType + 1,
27  Type_StatusBar = QGraphicsObject::UserType + 2,
28  Type_Card = QGraphicsObject::UserType + 3,
29  Type_ChildCard = QGraphicsObject::UserType + 4,
30  Type_Overlay = QGraphicsObject::UserType + 5,
31  Type_Launcher = QGraphicsObject::UserType + 6,
32  Type_Dashboard = QGraphicsObject::UserType + 7,
33  Type_PopupAlert = QGraphicsObject::UserType + 8,
34  Type_BannerAlert = QGraphicsObject::UserType + 9,
35  Type_Menu = QGraphicsObject::UserType + 10,
36  Type_PIN = QGraphicsObject::UserType + 11,
37  Type_Emergency = QGraphicsObject::UserType + 12,
38  Type_QtNativePaintWindow = QGraphicsObject::UserType + 13,
39  Type_DockModeWindow = QGraphicsObject::UserType + 14,
40  Type_DockModeLoadingWindow = QGraphicsObject::UserType + 15,
41  Type_ModalChildWindowCard = QGraphicsObject::UserType + 16,
42  Type_None = QGraphicsObject::UserType + 32 // arbitrary, can be as large as 0xFFFEFFFF
43  };
44 }
45 #endif // WINDOWTYPES_H