videocollection/tsrc/stubs/inc/hbnamespace.h
author hgs
Tue, 05 Oct 2010 09:26:49 +0300
changeset 66 adb51f74b890
parent 55 4bfa887905cf
permissions -rw-r--r--
201039
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
34
hgs
parents:
diff changeset
     1
/*
hgs
parents:
diff changeset
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
hgs
parents:
diff changeset
     3
* All rights reserved.
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
hgs
parents:
diff changeset
     8
*
hgs
parents:
diff changeset
     9
* Initial Contributors:
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
hgs
parents:
diff changeset
    11
*
hgs
parents:
diff changeset
    12
* Contributors:
hgs
parents:
diff changeset
    13
*
hgs
parents:
diff changeset
    14
* Description:  hbnamespace stub
hgs
parents:
diff changeset
    15
*
hgs
parents:
diff changeset
    16
*/
hgs
parents:
diff changeset
    17
hgs
parents:
diff changeset
    18
#ifndef HBNAMESPACE_H
hgs
parents:
diff changeset
    19
#define HBNAMESPACE_H
hgs
parents:
diff changeset
    20
hgs
parents:
diff changeset
    21
#include <QtGlobal>
hgs
parents:
diff changeset
    22
#include <QObject>
hgs
parents:
diff changeset
    23
#include <QGraphicsItem>
hgs
parents:
diff changeset
    24
hgs
parents:
diff changeset
    25
class Hb
hgs
parents:
diff changeset
    26
{
hgs
parents:
diff changeset
    27
hgs
parents:
diff changeset
    28
public:
hgs
parents:
diff changeset
    29
/*    static const int Key_SoftKeyPrimary    = Qt::Key_Launch0;
hgs
parents:
diff changeset
    30
    static const int Key_SoftKeySecondary  = Qt::Key_Launch1;
hgs
parents:
diff changeset
    31
    static const int Key_SoftKeyMiddle     = Qt::Key_Launch2;
hgs
parents:
diff changeset
    32
hgs
parents:
diff changeset
    33
*/
hgs
parents:
diff changeset
    34
    // DEPRECATED - DO NOT USE - These are deprecated along with deprecation of softkey functions in HbMainWindow.
hgs
parents:
diff changeset
    35
    // This enumeration will become internal to Hb.
hgs
parents:
diff changeset
    36
    enum SoftKeyId
hgs
parents:
diff changeset
    37
    {
hgs
parents:
diff changeset
    38
        PrimarySoftKey,
hgs
parents:
diff changeset
    39
        SecondarySoftKey,       
hgs
parents:
diff changeset
    40
        MiddleSoftKey,          
hgs
parents:
diff changeset
    41
hgs
parents:
diff changeset
    42
        //Custom softkey id's start here.
hgs
parents:
diff changeset
    43
        CustomSoftKey = 0xFF    
hgs
parents:
diff changeset
    44
    };
hgs
parents:
diff changeset
    45
hgs
parents:
diff changeset
    46
    // DEPRECATED - DO NOT USE - These are deprecated along with deprecation of softkey functions in HbMainWindow.
hgs
parents:
diff changeset
    47
    // Use NavigationAction instead.
hgs
parents:
diff changeset
    48
    enum SoftKeyAction
hgs
parents:
diff changeset
    49
    {
hgs
parents:
diff changeset
    50
        QuitAction,
hgs
parents:
diff changeset
    51
        BackAction,
hgs
parents:
diff changeset
    52
        ConfirmAction,
hgs
parents:
diff changeset
    53
        DoneAction
hgs
parents:
diff changeset
    54
    };
hgs
parents:
diff changeset
    55
hgs
parents:
diff changeset
    56
    enum NavigationAction
hgs
parents:
diff changeset
    57
    {
hgs
parents:
diff changeset
    58
        QuitNaviAction,
hgs
parents:
diff changeset
    59
        BackNaviAction,
hgs
parents:
diff changeset
    60
        ConfirmNaviAction,
hgs
parents:
diff changeset
    61
        DoneNaviAction
hgs
parents:
diff changeset
    62
    };
hgs
parents:
diff changeset
    63
    
hgs
parents:
diff changeset
    64
/*    enum EffectEvent
hgs
parents:
diff changeset
    65
    {
hgs
parents:
diff changeset
    66
        EffectFinished                = 1,
hgs
parents:
diff changeset
    67
        EffectCancelled               = 2,
hgs
parents:
diff changeset
    68
        EffectNotStarted              = 3
hgs
parents:
diff changeset
    69
    };
hgs
parents:
diff changeset
    70
hgs
parents:
diff changeset
    71
    
hgs
parents:
diff changeset
    72
    enum UiAttribute
hgs
parents:
diff changeset
    73
    {
hgs
parents:
diff changeset
    74
        Ui_NoAttributes         = 0x0000,
hgs
parents:
diff changeset
    75
        Ui_VisibleInTouch       = 0x0001,
hgs
parents:
diff changeset
    76
        Ui_VisibleInNonTouch    = 0x0002
hgs
parents:
diff changeset
    77
    };
hgs
parents:
diff changeset
    78
hgs
parents:
diff changeset
    79
    Q_DECLARE_FLAGS(UiAttributes, UiAttribute)
hgs
parents:
diff changeset
    80
*/
hgs
parents:
diff changeset
    81
    /*!
hgs
parents:
diff changeset
    82
        Gesture types.
hgs
parents:
diff changeset
    83
     */
hgs
parents:
diff changeset
    84
/*    enum TouchGesture
hgs
parents:
diff changeset
    85
    {
hgs
parents:
diff changeset
    86
        TapGesture         = 0x0000001,
hgs
parents:
diff changeset
    87
        LongPressGesture   = 0x0000002,
hgs
parents:
diff changeset
    88
        PanGesture         = 0x0000004,
hgs
parents:
diff changeset
    89
        FlickGesture       = 0x0000008
hgs
parents:
diff changeset
    90
    };
hgs
parents:
diff changeset
    91
hgs
parents:
diff changeset
    92
    Q_DECLARE_FLAGS(TouchGestures, TouchGesture)
hgs
parents:
diff changeset
    93
hgs
parents:
diff changeset
    94
    
hgs
parents:
diff changeset
    95
    enum ItemDataRole
hgs
parents:
diff changeset
    96
    {
hgs
parents:
diff changeset
    97
        ItemTypeRole = 1001,
hgs
parents:
diff changeset
    98
        IndexFeedbackRole, 
hgs
parents:
diff changeset
    99
        UserRole = 1500
hgs
parents:
diff changeset
   100
    };
hgs
parents:
diff changeset
   101
hgs
parents:
diff changeset
   102
    enum ModelItemType
hgs
parents:
diff changeset
   103
    {
hgs
parents:
diff changeset
   104
        StandardItem,
hgs
parents:
diff changeset
   105
        ParentItem,
hgs
parents:
diff changeset
   106
        SeparatorItem,
hgs
parents:
diff changeset
   107
        UserItem = 1000
hgs
parents:
diff changeset
   108
    };
35
hgs
parents: 34
diff changeset
   109
hgs
parents: 34
diff changeset
   110
*/ 
34
hgs
parents:
diff changeset
   111
    enum GraphicsItemType
hgs
parents:
diff changeset
   112
    {
hgs
parents:
diff changeset
   113
        ItemType_NotificationDialog = QGraphicsItem::UserType+10000,
hgs
parents:
diff changeset
   114
        ItemType_FrameItem,
hgs
parents:
diff changeset
   115
        ItemType_GraphicsPixmapItem,
hgs
parents:
diff changeset
   116
        ItemType_FormViewItem,
hgs
parents:
diff changeset
   117
        ItemType_FormView,
hgs
parents:
diff changeset
   118
        ItemType_AbstractItemContainer,
hgs
parents:
diff changeset
   119
        ItemType_AbstractItemView,
hgs
parents:
diff changeset
   120
        ItemType_ListView,
hgs
parents:
diff changeset
   121
        ItemType_AbstractViewItem,
hgs
parents:
diff changeset
   122
        ItemType_ListViewItem,
hgs
parents:
diff changeset
   123
        ItemType_ItemHighlight,
hgs
parents:
diff changeset
   124
        ItemType_ListWidgetItem,
hgs
parents:
diff changeset
   125
        ItemType_ListWidgetViewItem,
hgs
parents:
diff changeset
   126
        ItemType_GridViewItem,
hgs
parents:
diff changeset
   127
        ItemType_Popup,
hgs
parents:
diff changeset
   128
        ItemType_Dialog,
hgs
parents:
diff changeset
   129
        ItemType_Note,
hgs
parents:
diff changeset
   130
        ItemType_CommonNote,
hgs
parents:
diff changeset
   131
        ItemType_MessageBox,
hgs
parents:
diff changeset
   132
        ItemType_ProgressNote,
hgs
parents:
diff changeset
   133
        ItemType_ProgressDialog,
hgs
parents:
diff changeset
   134
        ItemType_AbstractButton,
hgs
parents:
diff changeset
   135
        ItemType_AbstractItem,
hgs
parents:
diff changeset
   136
        ItemType_AbstractSlider,
hgs
parents:
diff changeset
   137
        ItemType_Highlight,
hgs
parents:
diff changeset
   138
        ItemType_IconItem,
hgs
parents:
diff changeset
   139
        ItemType_Label,
hgs
parents:
diff changeset
   140
        ItemType_AbstractEdit,
hgs
parents:
diff changeset
   141
        ItemType_LineEdit,
hgs
parents:
diff changeset
   142
        ItemType_Menu,
hgs
parents:
diff changeset
   143
        ItemType_MenuItem,
hgs
parents:
diff changeset
   144
        ItemType_ProgressSlider,
hgs
parents:
diff changeset
   145
        ItemType_ProgressiveSlider,
hgs
parents:
diff changeset
   146
        ItemType_RatingSlider,
hgs
parents:
diff changeset
   147
        ItemType_ProgressBar,
hgs
parents:
diff changeset
   148
        ItemType_PushButton,
hgs
parents:
diff changeset
   149
        ItemType_RadioButtonList,
hgs
parents:
diff changeset
   150
        ItemType_ScrollBar,
hgs
parents:
diff changeset
   151
        ItemType_Slider,
hgs
parents:
diff changeset
   152
        ItemType_SliderPopup,
hgs
parents:
diff changeset
   153
        ItemType_StackedWidget,
hgs
parents:
diff changeset
   154
        ItemType_TextEdit,
hgs
parents:
diff changeset
   155
        ItemType_TextItem,
hgs
parents:
diff changeset
   156
        ItemType_ToolBar,
hgs
parents:
diff changeset
   157
        ItemType_ToolBarExtension,
hgs
parents:
diff changeset
   158
        ItemType_ToolButton,
hgs
parents:
diff changeset
   159
        ItemType_Widget,
hgs
parents:
diff changeset
   160
        ItemType_View, 
hgs
parents:
diff changeset
   161
        ItemType_VolumeSlider,
hgs
parents:
diff changeset
   162
        ItemType_ZoomSlider,
hgs
parents:
diff changeset
   163
        ItemType_RoundRobinLabel,
hgs
parents:
diff changeset
   164
        ItemType_ConfirmationQuery,
hgs
parents:
diff changeset
   165
        ItemType_CheckBox,
hgs
parents:
diff changeset
   166
        ItemType_MessageQuery,
hgs
parents:
diff changeset
   167
        ItemType_DataQuery,
hgs
parents:
diff changeset
   168
        ItemType_InputDialog,
hgs
parents:
diff changeset
   169
        ItemType_DualDataQuery,
hgs
parents:
diff changeset
   170
        ItemType_TransparentWindow,
hgs
parents:
diff changeset
   171
        ItemType_DateTimeEdit,
hgs
parents:
diff changeset
   172
        ItemType_FileDialog,
hgs
parents:
diff changeset
   173
        ItemType_ColorDialog,
hgs
parents:
diff changeset
   174
        ItemType_InputCharacterButton,
hgs
parents:
diff changeset
   175
        ItemType_InputFunctionButton,
hgs
parents:
diff changeset
   176
        ItemType_InputCloseButton,
hgs
parents:
diff changeset
   177
        ItemType_InputTabButton,
hgs
parents:
diff changeset
   178
        ItemType_InputVkbWidget,
hgs
parents:
diff changeset
   179
        ItemType_InputCharPreviewPane,
hgs
parents:
diff changeset
   180
        ItemType_VirtualTrackPoint,
hgs
parents:
diff changeset
   181
        ItemType_WritingBox,
hgs
parents:
diff changeset
   182
        ItemType_VolumePopup,
hgs
parents:
diff changeset
   183
        ItemType_CombinedQuery,
hgs
parents:
diff changeset
   184
        ItemType_ListQuery,
hgs
parents:
diff changeset
   185
        ItemType_ListDialog,
hgs
parents:
diff changeset
   186
        ItemType_ListDialogContentWidget,
hgs
parents:
diff changeset
   187
        ItemType_ZoomPopup,
hgs
parents:
diff changeset
   188
        ItemType_CarouselView,
hgs
parents:
diff changeset
   189
        ItemType_TreeViewItem,
hgs
parents:
diff changeset
   190
        ItemType_ComboBox,
hgs
parents:
diff changeset
   191
        ItemType_TouchArea,
hgs
parents:
diff changeset
   192
        ItemType_SettingItemContainer,
hgs
parents:
diff changeset
   193
        ItemType_SettingFormItem,
hgs
parents:
diff changeset
   194
        ItemType_SettingForm,
hgs
parents:
diff changeset
   195
        ItemType_DataItemContainer,
hgs
parents:
diff changeset
   196
        ItemType_DataFormViewItem,
hgs
parents:
diff changeset
   197
        ItemType_DataForm,
hgs
parents:
diff changeset
   198
        ItemType_RichTextItem,
hgs
parents:
diff changeset
   199
        ItemType_GroupBox,
hgs
parents:
diff changeset
   200
        ItemType_DockWidget,
hgs
parents:
diff changeset
   201
        ItemType_RadioButtonListViewItem,
hgs
parents:
diff changeset
   202
        ItemType_TumbleView,
hgs
parents:
diff changeset
   203
        ItemType_TumbleViewItem,
hgs
parents:
diff changeset
   204
        ItemType_DateTimePicker,
hgs
parents:
diff changeset
   205
        ItemType_MarqueeItem,
hgs
parents:
diff changeset
   206
        ItemType_IndexFeedback,
hgs
parents:
diff changeset
   207
        ItemType_Last = QGraphicsItem::UserType + 20000
hgs
parents:
diff changeset
   208
    };
36
hgs
parents: 35
diff changeset
   209
    
hgs
parents: 35
diff changeset
   210
    enum ApplicationFlag {
hgs
parents: 35
diff changeset
   211
        DefaultApplicationFlags = 0x00,
hgs
parents: 35
diff changeset
   212
        NoSplash                = 0x01
hgs
parents: 35
diff changeset
   213
    };
hgs
parents: 35
diff changeset
   214
    Q_DECLARE_FLAGS(ApplicationFlags, ApplicationFlag)
hgs
parents: 35
diff changeset
   215
    
35
hgs
parents: 34
diff changeset
   216
    /*
34
hgs
parents:
diff changeset
   217
hgs
parents:
diff changeset
   218
    enum WidgetAttribute
hgs
parents:
diff changeset
   219
    {
hgs
parents:
diff changeset
   220
        InteractionDisabled   = 0x00000001,
hgs
parents:
diff changeset
   221
        InsidePopup = 0x00000002
hgs
parents:
diff changeset
   222
    };
hgs
parents:
diff changeset
   223
hgs
parents:
diff changeset
   224
    Q_DECLARE_FLAGS(WidgetAttributes, WidgetAttribute)
hgs
parents:
diff changeset
   225
    
hgs
parents:
diff changeset
   226
hgs
parents:
diff changeset
   227
    // DEPRECATED - DO NOT USE - These are deprecated along with deprecation of HbFontProvider
hgs
parents:
diff changeset
   228
    // Use HbFontSpec and the font roles defines in HbFontSpec API
hgs
parents:
diff changeset
   229
    enum LogicalFontName
hgs
parents:
diff changeset
   230
    {
hgs
parents:
diff changeset
   231
        FontUndefined = 0,
hgs
parents:
diff changeset
   232
        FontPrimary,
hgs
parents:
diff changeset
   233
        FontSecondary,
hgs
parents:
diff changeset
   234
        FontTitle,
hgs
parents:
diff changeset
   235
        FontPrimarySmall,
hgs
parents:
diff changeset
   236
        FontDigital
hgs
parents:
diff changeset
   237
    };
hgs
parents:
diff changeset
   238
hgs
parents:
diff changeset
   239
*/   
hgs
parents:
diff changeset
   240
    enum SceneItem {
hgs
parents:
diff changeset
   241
        NoItem                = 0x00000000,
hgs
parents:
diff changeset
   242
hgs
parents:
diff changeset
   243
        TitlePaneItem         = 0x00000001,
hgs
parents:
diff changeset
   244
        // Deprecated
hgs
parents:
diff changeset
   245
        NaviPaneItem          = 0x00000002,
hgs
parents:
diff changeset
   246
        ToolBarItem           = 0x00000004,
hgs
parents:
diff changeset
   247
        IndicatorItems        = 0x00000008,
hgs
parents:
diff changeset
   248
        DockWidgetItem        = 0x00000010,
hgs
parents:
diff changeset
   249
        TitleBarItem          = 0x00000020,
hgs
parents:
diff changeset
   250
hgs
parents:
diff changeset
   251
        // Deprecated
hgs
parents:
diff changeset
   252
        PrimarySoftKeyItem    = 0x00010000,
hgs
parents:
diff changeset
   253
        // Deprecated
hgs
parents:
diff changeset
   254
        SecondarySoftKeyItem  = 0x00020000,
hgs
parents:
diff changeset
   255
        // Deprecated
hgs
parents:
diff changeset
   256
        MiddleSoftKeyItem     = 0x00040000,
hgs
parents:
diff changeset
   257
        // Deprecated
hgs
parents:
diff changeset
   258
        SoftKeyItems          = 0x00070000,
hgs
parents:
diff changeset
   259
hgs
parents:
diff changeset
   260
        AllItems              = 0xFFFFFFFF
hgs
parents:
diff changeset
   261
    };
hgs
parents:
diff changeset
   262
    
hgs
parents:
diff changeset
   263
    /*!
hgs
parents:
diff changeset
   264
       Anchor edges.
hgs
parents:
diff changeset
   265
     */
hgs
parents:
diff changeset
   266
/*    enum Edge {
hgs
parents:
diff changeset
   267
        LeftEdge = 0,
hgs
parents:
diff changeset
   268
        TopEdge,
hgs
parents:
diff changeset
   269
        RightEdge,
hgs
parents:
diff changeset
   270
        BottomEdge,
hgs
parents:
diff changeset
   271
        CenterHEdge,
hgs
parents:
diff changeset
   272
        CenterVEdge
hgs
parents:
diff changeset
   273
    };
hgs
parents:
diff changeset
   274
hgs
parents:
diff changeset
   275
    enum ResourceType {
hgs
parents:
diff changeset
   276
        IconResource = 0,
hgs
parents:
diff changeset
   277
        ThemeResource,
hgs
parents:
diff changeset
   278
        EffectResource,
hgs
parents:
diff changeset
   279
        StyleSheetResource
hgs
parents:
diff changeset
   280
    };
hgs
parents:
diff changeset
   281
hgs
parents:
diff changeset
   282
    Q_DECLARE_FLAGS(SceneItems, SceneItem)
hgs
parents:
diff changeset
   283
*/    
hgs
parents:
diff changeset
   284
    enum WindowFlag {
hgs
parents:
diff changeset
   285
        WindowFlagNone            = 0x00000000,
hgs
parents:
diff changeset
   286
        WindowFlagTransparent     = 0x00000001,
hgs
parents:
diff changeset
   287
        WindowFlagNoBackground    = 0x00000002,
hgs
parents:
diff changeset
   288
        WindowFlagFixedVertical   = 0x00000004,
hgs
parents:
diff changeset
   289
        WindowFlagFixedHorizontal = 0x00000008,
hgs
parents:
diff changeset
   290
        WindowFlagNoSplash        = 0x00000010
hgs
parents:
diff changeset
   291
    };
hgs
parents:
diff changeset
   292
hgs
parents:
diff changeset
   293
    Q_DECLARE_FLAGS(WindowFlags, WindowFlag)
hgs
parents:
diff changeset
   294
/*
hgs
parents:
diff changeset
   295
    enum ViewSwitchFlag {
hgs
parents:
diff changeset
   296
        ViewSwitchDefault       = 0x00,
hgs
parents:
diff changeset
   297
        ViewSwitchSequential    = 0x01,
hgs
parents:
diff changeset
   298
        ViewSwitchFullScreen    = 0x02,
hgs
parents:
diff changeset
   299
        ViewSwitchUseNormalAnim = 0x04,
hgs
parents:
diff changeset
   300
        ViewSwitchUseBackAnim   = 0x08,
hgs
parents:
diff changeset
   301
        ViewSwitchUseAltEvent   = 0x10
hgs
parents:
diff changeset
   302
    };
hgs
parents:
diff changeset
   303
hgs
parents:
diff changeset
   304
    Q_DECLARE_FLAGS(ViewSwitchFlags, ViewSwitchFlag)
hgs
parents:
diff changeset
   305
hgs
parents:
diff changeset
   306
    enum TextCursorVisibility
hgs
parents:
diff changeset
   307
    {
hgs
parents:
diff changeset
   308
        TextCursorHidden = 0,
hgs
parents:
diff changeset
   309
        TextCursorVisible
hgs
parents:
diff changeset
   310
    };
hgs
parents:
diff changeset
   311
hgs
parents:
diff changeset
   312
    enum SliderTickPosition
hgs
parents:
diff changeset
   313
    {
hgs
parents:
diff changeset
   314
        NoSliderTicks = 0,
hgs
parents:
diff changeset
   315
        SliderTicksAbove = 1,
hgs
parents:
diff changeset
   316
        SliderTicksLeft = SliderTicksAbove,
hgs
parents:
diff changeset
   317
        SliderTicksBelow = 2,
hgs
parents:
diff changeset
   318
        SliderTicksRight = SliderTicksBelow,
hgs
parents:
diff changeset
   319
        SliderTicksBothSides = 3,
hgs
parents:
diff changeset
   320
        SliderTicksAbsolute
hgs
parents:
diff changeset
   321
    };
hgs
parents:
diff changeset
   322
hgs
parents:
diff changeset
   323
    Q_DECLARE_FLAGS(SliderTickPositions , SliderTickPosition)
hgs
parents:
diff changeset
   324
hgs
parents:
diff changeset
   325
    enum TextContextMenuFlag {
hgs
parents:
diff changeset
   326
        ShowTextContextMenuOnSelectionClicked = 1,
hgs
parents:
diff changeset
   327
        ShowTextContextMenuOnLongPress = 4
hgs
parents:
diff changeset
   328
    };
hgs
parents:
diff changeset
   329
    Q_DECLARE_FLAGS(TextContextMenuFlags , TextContextMenuFlag)
hgs
parents:
diff changeset
   330
*/    
hgs
parents:
diff changeset
   331
    /*!
hgs
parents:
diff changeset
   332
        A type definition for text wrapping
hgs
parents:
diff changeset
   333
    */
36
hgs
parents: 35
diff changeset
   334
    enum TextWrapping
34
hgs
parents:
diff changeset
   335
    {
hgs
parents:
diff changeset
   336
        TextNoWrap = 0,
hgs
parents:
diff changeset
   337
        TextWordWrap = 1,
hgs
parents:
diff changeset
   338
        TextWrapAnywhere = 3
hgs
parents:
diff changeset
   339
    };
36
hgs
parents: 35
diff changeset
   340
/*        
34
hgs
parents:
diff changeset
   341
    enum InstantInteraction {
hgs
parents:
diff changeset
   342
        InstantPressed = 0,
hgs
parents:
diff changeset
   343
        InstantReleased,
hgs
parents:
diff changeset
   344
        InstantClicked,
hgs
parents:
diff changeset
   345
        InstantKeyRepeated,
hgs
parents:
diff changeset
   346
        InstantLongPressed,
hgs
parents:
diff changeset
   347
        InstantDraggedOver,
hgs
parents:
diff changeset
   348
        InstantFlicked,
hgs
parents:
diff changeset
   349
        InstantPopupOpened,
hgs
parents:
diff changeset
   350
        InstantPopupClosed,
hgs
parents:
diff changeset
   351
        InstantBoundaryReached,
hgs
parents:
diff changeset
   352
        InstantRotated90Degrees,
hgs
parents:
diff changeset
   353
        InstantSelectionChanged,
55
hgs
parents: 37
diff changeset
   354
        // add new standard instant interactions here 
34
hgs
parents:
diff changeset
   355
//        NumberOfInstantInteractions,
hgs
parents:
diff changeset
   356
//        InstantUser = 1000,
55
hgs
parents: 37
diff changeset
   357
        // value range for user defined custom instant interactions 
34
hgs
parents:
diff changeset
   358
//        InstantMaxUser = 65535
hgs
parents:
diff changeset
   359
//    };
hgs
parents:
diff changeset
   360
55
hgs
parents: 37
diff changeset
   361
//    enum ContinuousInteraction {
34
hgs
parents:
diff changeset
   362
        ContinuousScrolled = 0,
hgs
parents:
diff changeset
   363
        ContinuousDragged,
hgs
parents:
diff changeset
   364
        ContinuousPinched,
55
hgs
parents: 37
diff changeset
   365
        // add new standard continuous interactions here 
34
hgs
parents:
diff changeset
   366
//        NumberOfContinuousInteractions,
hgs
parents:
diff changeset
   367
//        ContinuousUser = 1000,
55
hgs
parents: 37
diff changeset
   368
        // value range for user defined custom continuous interactions 
hgs
parents: 37
diff changeset
   369
//        ContinuousMaxUser = 65535
34
hgs
parents:
diff changeset
   370
    };
hgs
parents:
diff changeset
   371
hgs
parents:
diff changeset
   372
    enum InteractionModifier {
hgs
parents:
diff changeset
   373
        ModifierSliderHandle = 0x1,
hgs
parents:
diff changeset
   374
        ModifierSliderElement = 0x2,
hgs
parents:
diff changeset
   375
        ModifierExpandedItem = 0x4,
hgs
parents:
diff changeset
   376
        ModifierCollapsedItem = 0x8,
hgs
parents:
diff changeset
   377
        ModifierScrolling = 0x10
hgs
parents:
diff changeset
   378
    };
hgs
parents:
diff changeset
   379
 
hgs
parents:
diff changeset
   380
    Q_DECLARE_FLAGS(InteractionModifiers, InteractionModifier)*/
37
hgs
parents: 36
diff changeset
   381
    
hgs
parents: 36
diff changeset
   382
    enum ActivationReason {
hgs
parents: 36
diff changeset
   383
            ActivationReasonActivity = 0,
hgs
parents: 36
diff changeset
   384
            ActivationReasonService,
hgs
parents: 36
diff changeset
   385
            ActivationReasonNormal
hgs
parents: 36
diff changeset
   386
    };
34
hgs
parents:
diff changeset
   387
};
hgs
parents:
diff changeset
   388
hgs
parents:
diff changeset
   389
/*Q_DECLARE_METATYPE(Hb::GraphicsItemType)
hgs
parents:
diff changeset
   390
hgs
parents:
diff changeset
   391
Q_DECLARE_OPERATORS_FOR_FLAGS(Hb::UiAttributes)
hgs
parents:
diff changeset
   392
Q_DECLARE_OPERATORS_FOR_FLAGS(Hb::TouchGestures)
hgs
parents:
diff changeset
   393
Q_DECLARE_OPERATORS_FOR_FLAGS(Hb::SceneItems)
hgs
parents:
diff changeset
   394
Q_DECLARE_OPERATORS_FOR_FLAGS(Hb::WindowFlags)
hgs
parents:
diff changeset
   395
Q_DECLARE_OPERATORS_FOR_FLAGS(Hb::ViewSwitchFlags)
hgs
parents:
diff changeset
   396
Q_DECLARE_OPERATORS_FOR_FLAGS(Hb::SliderTickPositions)
hgs
parents:
diff changeset
   397
Q_DECLARE_OPERATORS_FOR_FLAGS(Hb::TextContextMenuFlags)
hgs
parents:
diff changeset
   398
Q_DECLARE_OPERATORS_FOR_FLAGS(Hb::InteractionModifiers)
hgs
parents:
diff changeset
   399
*/
hgs
parents:
diff changeset
   400
#endif // HBNAMESPACE_H
hgs
parents:
diff changeset
   401