LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
dimensionstypes.h
Go to the documentation of this file.
1 /* @@@LICENSE
2 *
3 * Copyright (c) 2010-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 
20 
21 
22 #ifndef DIMENSIONSTYPES_H_
23 #define DIMENSIONSTYPES_H_
24 
25 namespace DimensionsTypes
26 {
27 
28 namespace AnimationType
29 {
30  /* AnimationType
31  *
32  * This attributes either animations for individual items (e.g. QPropertyAnimation on a qgfxitem), or groups of animations
33  * (e.g. QParallelAnimationGroup). Some tags only make sense in certain contexts; mostly this is all interpreted in
34  * "animation finished" signaled slots, to figure out how to finalize operations.
35  */
36  enum Enum
37  {
39  None, //no tag (usually on anim group that contains multiple types)
40  Add_HPan, //horiz. pan that was needed to insert (add) a page - usually attributed to other pages; not the add'd page
41  Add_Move, //move (i.e. manual pos set) that was needed to insert a page - also for other pages
42  Add, //the actual add'd page's anim
43  Remove_HPan, // pan needed to remove a page - you get the idea...
44  Remove_Move, // move needed to remove a page - ...
45  Remove, // the actual remove-ing page's anim
46  HPan, // general h-pan for scrolling everything right or left
47  ZoomOut, // zooming out of an item or multiple items
49  Rotate, // for rotating things individually or multiply...
50  PageVScroll // for pages, scrolling up and down within them, including overscroll correction animations
51  };
52 }
53 
54 namespace ShowCause
55 {
56  enum Enum
57  {
60  User, // index; use specific below
63  };
64 }
65 
66 namespace HideCause
67 {
68  enum Enum
69  {
72  User, //index
75  System, //index
77  };
78 }
79 
80 namespace UiState
81 {
82  enum Enum
83  {
87  };
88 }
89 
90 }
91 #endif /* DIMENSIONSTYPES_H_ */