videocollection/tsrc/stubs/inc/hbnamespace.h
author hgs
Thu, 01 Apr 2010 23:22:15 +0300
changeset 34 bbb98528c666
child 35 3738fe97f027
permissions -rw-r--r--
201009
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
    };
hgs
parents:
diff changeset
   109
    
hgs
parents:
diff changeset
   110
    enum GraphicsItemType
hgs
parents:
diff changeset
   111
    {
hgs
parents:
diff changeset
   112
        ItemType_NotificationDialog = QGraphicsItem::UserType+10000,
hgs
parents:
diff changeset
   113
        ItemType_FrameItem,
hgs
parents:
diff changeset
   114
        ItemType_GraphicsPixmapItem,
hgs
parents:
diff changeset
   115
        ItemType_FormViewItem,
hgs
parents:
diff changeset
   116
        ItemType_FormView,
hgs
parents:
diff changeset
   117
        ItemType_AbstractItemContainer,
hgs
parents:
diff changeset
   118
        ItemType_AbstractItemView,
hgs
parents:
diff changeset
   119
        ItemType_ListView,
hgs
parents:
diff changeset
   120
        ItemType_AbstractViewItem,
hgs
parents:
diff changeset
   121
        ItemType_ListViewItem,
hgs
parents:
diff changeset
   122
        ItemType_ItemHighlight,
hgs
parents:
diff changeset
   123
        ItemType_ListWidgetItem,
hgs
parents:
diff changeset
   124
        ItemType_ListWidgetViewItem,
hgs
parents:
diff changeset
   125
        ItemType_GridViewItem,
hgs
parents:
diff changeset
   126
        ItemType_Popup,
hgs
parents:
diff changeset
   127
        ItemType_Dialog,
hgs
parents:
diff changeset
   128
        ItemType_Note,
hgs
parents:
diff changeset
   129
        ItemType_CommonNote,
hgs
parents:
diff changeset
   130
        ItemType_MessageBox,
hgs
parents:
diff changeset
   131
        ItemType_ProgressNote,
hgs
parents:
diff changeset
   132
        ItemType_ProgressDialog,
hgs
parents:
diff changeset
   133
        ItemType_AbstractButton,
hgs
parents:
diff changeset
   134
        ItemType_AbstractItem,
hgs
parents:
diff changeset
   135
        ItemType_AbstractSlider,
hgs
parents:
diff changeset
   136
        ItemType_Highlight,
hgs
parents:
diff changeset
   137
        ItemType_IconItem,
hgs
parents:
diff changeset
   138
        ItemType_Label,
hgs
parents:
diff changeset
   139
        ItemType_AbstractEdit,
hgs
parents:
diff changeset
   140
        ItemType_LineEdit,
hgs
parents:
diff changeset
   141
        ItemType_Menu,
hgs
parents:
diff changeset
   142
        ItemType_MenuItem,
hgs
parents:
diff changeset
   143
        ItemType_ProgressSlider,
hgs
parents:
diff changeset
   144
        ItemType_ProgressiveSlider,
hgs
parents:
diff changeset
   145
        ItemType_RatingSlider,
hgs
parents:
diff changeset
   146
        ItemType_ProgressBar,
hgs
parents:
diff changeset
   147
        ItemType_PushButton,
hgs
parents:
diff changeset
   148
        ItemType_RadioButtonList,
hgs
parents:
diff changeset
   149
        ItemType_ScrollBar,
hgs
parents:
diff changeset
   150
        ItemType_Slider,
hgs
parents:
diff changeset
   151
        ItemType_SliderPopup,
hgs
parents:
diff changeset
   152
        ItemType_StackedWidget,
hgs
parents:
diff changeset
   153
        ItemType_TextEdit,
hgs
parents:
diff changeset
   154
        ItemType_TextItem,
hgs
parents:
diff changeset
   155
        ItemType_ToolBar,
hgs
parents:
diff changeset
   156
        ItemType_ToolBarExtension,
hgs
parents:
diff changeset
   157
        ItemType_ToolButton,
hgs
parents:
diff changeset
   158
        ItemType_Widget,
hgs
parents:
diff changeset
   159
        ItemType_View, 
hgs
parents:
diff changeset
   160
        ItemType_VolumeSlider,
hgs
parents:
diff changeset
   161
        ItemType_ZoomSlider,
hgs
parents:
diff changeset
   162
        ItemType_RoundRobinLabel,
hgs
parents:
diff changeset
   163
        ItemType_ConfirmationQuery,
hgs
parents:
diff changeset
   164
        ItemType_CheckBox,
hgs
parents:
diff changeset
   165
        ItemType_MessageQuery,
hgs
parents:
diff changeset
   166
        ItemType_DataQuery,
hgs
parents:
diff changeset
   167
        ItemType_InputDialog,
hgs
parents:
diff changeset
   168
        ItemType_DualDataQuery,
hgs
parents:
diff changeset
   169
        ItemType_TransparentWindow,
hgs
parents:
diff changeset
   170
        ItemType_DateTimeEdit,
hgs
parents:
diff changeset
   171
        ItemType_FileDialog,
hgs
parents:
diff changeset
   172
        ItemType_ColorDialog,
hgs
parents:
diff changeset
   173
        ItemType_InputCharacterButton,
hgs
parents:
diff changeset
   174
        ItemType_InputFunctionButton,
hgs
parents:
diff changeset
   175
        ItemType_InputCloseButton,
hgs
parents:
diff changeset
   176
        ItemType_InputTabButton,
hgs
parents:
diff changeset
   177
        ItemType_InputVkbWidget,
hgs
parents:
diff changeset
   178
        ItemType_InputCharPreviewPane,
hgs
parents:
diff changeset
   179
        ItemType_VirtualTrackPoint,
hgs
parents:
diff changeset
   180
        ItemType_WritingBox,
hgs
parents:
diff changeset
   181
        ItemType_VolumePopup,
hgs
parents:
diff changeset
   182
        ItemType_CombinedQuery,
hgs
parents:
diff changeset
   183
        ItemType_ListQuery,
hgs
parents:
diff changeset
   184
        ItemType_ListDialog,
hgs
parents:
diff changeset
   185
        ItemType_ListDialogContentWidget,
hgs
parents:
diff changeset
   186
        ItemType_ZoomPopup,
hgs
parents:
diff changeset
   187
        ItemType_CarouselView,
hgs
parents:
diff changeset
   188
        ItemType_TreeViewItem,
hgs
parents:
diff changeset
   189
        ItemType_ComboBox,
hgs
parents:
diff changeset
   190
        ItemType_TouchArea,
hgs
parents:
diff changeset
   191
        ItemType_SettingItemContainer,
hgs
parents:
diff changeset
   192
        ItemType_SettingFormItem,
hgs
parents:
diff changeset
   193
        ItemType_SettingForm,
hgs
parents:
diff changeset
   194
        ItemType_DataItemContainer,
hgs
parents:
diff changeset
   195
        ItemType_DataFormViewItem,
hgs
parents:
diff changeset
   196
        ItemType_DataForm,
hgs
parents:
diff changeset
   197
        ItemType_RichTextItem,
hgs
parents:
diff changeset
   198
        ItemType_GroupBox,
hgs
parents:
diff changeset
   199
        ItemType_DockWidget,
hgs
parents:
diff changeset
   200
        ItemType_RadioButtonListViewItem,
hgs
parents:
diff changeset
   201
        ItemType_TumbleView,
hgs
parents:
diff changeset
   202
        ItemType_TumbleViewItem,
hgs
parents:
diff changeset
   203
        ItemType_DateTimePicker,
hgs
parents:
diff changeset
   204
        ItemType_MarqueeItem,
hgs
parents:
diff changeset
   205
        ItemType_IndexFeedback,
hgs
parents:
diff changeset
   206
        ItemType_Last = QGraphicsItem::UserType + 20000
hgs
parents:
diff changeset
   207
    };
hgs
parents:
diff changeset
   208
hgs
parents:
diff changeset
   209
    enum WidgetAttribute
hgs
parents:
diff changeset
   210
    {
hgs
parents:
diff changeset
   211
        InteractionDisabled   = 0x00000001,
hgs
parents:
diff changeset
   212
        InsidePopup = 0x00000002
hgs
parents:
diff changeset
   213
    };
hgs
parents:
diff changeset
   214
hgs
parents:
diff changeset
   215
    Q_DECLARE_FLAGS(WidgetAttributes, WidgetAttribute)
hgs
parents:
diff changeset
   216
    
hgs
parents:
diff changeset
   217
hgs
parents:
diff changeset
   218
    // DEPRECATED - DO NOT USE - These are deprecated along with deprecation of HbFontProvider
hgs
parents:
diff changeset
   219
    // Use HbFontSpec and the font roles defines in HbFontSpec API
hgs
parents:
diff changeset
   220
    enum LogicalFontName
hgs
parents:
diff changeset
   221
    {
hgs
parents:
diff changeset
   222
        FontUndefined = 0,
hgs
parents:
diff changeset
   223
        FontPrimary,
hgs
parents:
diff changeset
   224
        FontSecondary,
hgs
parents:
diff changeset
   225
        FontTitle,
hgs
parents:
diff changeset
   226
        FontPrimarySmall,
hgs
parents:
diff changeset
   227
        FontDigital
hgs
parents:
diff changeset
   228
    };
hgs
parents:
diff changeset
   229
hgs
parents:
diff changeset
   230
*/   
hgs
parents:
diff changeset
   231
    enum SceneItem {
hgs
parents:
diff changeset
   232
        NoItem                = 0x00000000,
hgs
parents:
diff changeset
   233
hgs
parents:
diff changeset
   234
        TitlePaneItem         = 0x00000001,
hgs
parents:
diff changeset
   235
        // Deprecated
hgs
parents:
diff changeset
   236
        NaviPaneItem          = 0x00000002,
hgs
parents:
diff changeset
   237
        ToolBarItem           = 0x00000004,
hgs
parents:
diff changeset
   238
        IndicatorItems        = 0x00000008,
hgs
parents:
diff changeset
   239
        DockWidgetItem        = 0x00000010,
hgs
parents:
diff changeset
   240
        TitleBarItem          = 0x00000020,
hgs
parents:
diff changeset
   241
hgs
parents:
diff changeset
   242
        // Deprecated
hgs
parents:
diff changeset
   243
        PrimarySoftKeyItem    = 0x00010000,
hgs
parents:
diff changeset
   244
        // Deprecated
hgs
parents:
diff changeset
   245
        SecondarySoftKeyItem  = 0x00020000,
hgs
parents:
diff changeset
   246
        // Deprecated
hgs
parents:
diff changeset
   247
        MiddleSoftKeyItem     = 0x00040000,
hgs
parents:
diff changeset
   248
        // Deprecated
hgs
parents:
diff changeset
   249
        SoftKeyItems          = 0x00070000,
hgs
parents:
diff changeset
   250
hgs
parents:
diff changeset
   251
        AllItems              = 0xFFFFFFFF
hgs
parents:
diff changeset
   252
    };
hgs
parents:
diff changeset
   253
    
hgs
parents:
diff changeset
   254
    /*!
hgs
parents:
diff changeset
   255
       Anchor edges.
hgs
parents:
diff changeset
   256
     */
hgs
parents:
diff changeset
   257
/*    enum Edge {
hgs
parents:
diff changeset
   258
        LeftEdge = 0,
hgs
parents:
diff changeset
   259
        TopEdge,
hgs
parents:
diff changeset
   260
        RightEdge,
hgs
parents:
diff changeset
   261
        BottomEdge,
hgs
parents:
diff changeset
   262
        CenterHEdge,
hgs
parents:
diff changeset
   263
        CenterVEdge
hgs
parents:
diff changeset
   264
    };
hgs
parents:
diff changeset
   265
hgs
parents:
diff changeset
   266
    enum ResourceType {
hgs
parents:
diff changeset
   267
        IconResource = 0,
hgs
parents:
diff changeset
   268
        ThemeResource,
hgs
parents:
diff changeset
   269
        EffectResource,
hgs
parents:
diff changeset
   270
        StyleSheetResource
hgs
parents:
diff changeset
   271
    };
hgs
parents:
diff changeset
   272
hgs
parents:
diff changeset
   273
    Q_DECLARE_FLAGS(SceneItems, SceneItem)
hgs
parents:
diff changeset
   274
*/    
hgs
parents:
diff changeset
   275
    enum WindowFlag {
hgs
parents:
diff changeset
   276
        WindowFlagNone            = 0x00000000,
hgs
parents:
diff changeset
   277
        WindowFlagTransparent     = 0x00000001,
hgs
parents:
diff changeset
   278
        WindowFlagNoBackground    = 0x00000002,
hgs
parents:
diff changeset
   279
        WindowFlagFixedVertical   = 0x00000004,
hgs
parents:
diff changeset
   280
        WindowFlagFixedHorizontal = 0x00000008,
hgs
parents:
diff changeset
   281
        WindowFlagNoSplash        = 0x00000010
hgs
parents:
diff changeset
   282
    };
hgs
parents:
diff changeset
   283
hgs
parents:
diff changeset
   284
    Q_DECLARE_FLAGS(WindowFlags, WindowFlag)
hgs
parents:
diff changeset
   285
/*
hgs
parents:
diff changeset
   286
    enum ViewSwitchFlag {
hgs
parents:
diff changeset
   287
        ViewSwitchDefault       = 0x00,
hgs
parents:
diff changeset
   288
        ViewSwitchSequential    = 0x01,
hgs
parents:
diff changeset
   289
        ViewSwitchFullScreen    = 0x02,
hgs
parents:
diff changeset
   290
        ViewSwitchUseNormalAnim = 0x04,
hgs
parents:
diff changeset
   291
        ViewSwitchUseBackAnim   = 0x08,
hgs
parents:
diff changeset
   292
        ViewSwitchUseAltEvent   = 0x10
hgs
parents:
diff changeset
   293
    };
hgs
parents:
diff changeset
   294
hgs
parents:
diff changeset
   295
    Q_DECLARE_FLAGS(ViewSwitchFlags, ViewSwitchFlag)
hgs
parents:
diff changeset
   296
hgs
parents:
diff changeset
   297
    enum TextCursorVisibility
hgs
parents:
diff changeset
   298
    {
hgs
parents:
diff changeset
   299
        TextCursorHidden = 0,
hgs
parents:
diff changeset
   300
        TextCursorVisible
hgs
parents:
diff changeset
   301
    };
hgs
parents:
diff changeset
   302
hgs
parents:
diff changeset
   303
    enum SliderTickPosition
hgs
parents:
diff changeset
   304
    {
hgs
parents:
diff changeset
   305
        NoSliderTicks = 0,
hgs
parents:
diff changeset
   306
        SliderTicksAbove = 1,
hgs
parents:
diff changeset
   307
        SliderTicksLeft = SliderTicksAbove,
hgs
parents:
diff changeset
   308
        SliderTicksBelow = 2,
hgs
parents:
diff changeset
   309
        SliderTicksRight = SliderTicksBelow,
hgs
parents:
diff changeset
   310
        SliderTicksBothSides = 3,
hgs
parents:
diff changeset
   311
        SliderTicksAbsolute
hgs
parents:
diff changeset
   312
    };
hgs
parents:
diff changeset
   313
hgs
parents:
diff changeset
   314
    Q_DECLARE_FLAGS(SliderTickPositions , SliderTickPosition)
hgs
parents:
diff changeset
   315
hgs
parents:
diff changeset
   316
    enum TextContextMenuFlag {
hgs
parents:
diff changeset
   317
        ShowTextContextMenuOnSelectionClicked = 1,
hgs
parents:
diff changeset
   318
        ShowTextContextMenuOnLongPress = 4
hgs
parents:
diff changeset
   319
    };
hgs
parents:
diff changeset
   320
    Q_DECLARE_FLAGS(TextContextMenuFlags , TextContextMenuFlag)
hgs
parents:
diff changeset
   321
*/    
hgs
parents:
diff changeset
   322
    /*!
hgs
parents:
diff changeset
   323
        A type definition for text wrapping
hgs
parents:
diff changeset
   324
    */
hgs
parents:
diff changeset
   325
/*    enum TextWrapping
hgs
parents:
diff changeset
   326
    {
hgs
parents:
diff changeset
   327
        TextNoWrap = 0,
hgs
parents:
diff changeset
   328
        TextWordWrap = 1,
hgs
parents:
diff changeset
   329
        TextWrapAnywhere = 3
hgs
parents:
diff changeset
   330
    };
hgs
parents:
diff changeset
   331
        
hgs
parents:
diff changeset
   332
    enum InstantInteraction {
hgs
parents:
diff changeset
   333
        InstantPressed = 0,
hgs
parents:
diff changeset
   334
        InstantReleased,
hgs
parents:
diff changeset
   335
        InstantClicked,
hgs
parents:
diff changeset
   336
        InstantKeyRepeated,
hgs
parents:
diff changeset
   337
        InstantLongPressed,
hgs
parents:
diff changeset
   338
        InstantDraggedOver,
hgs
parents:
diff changeset
   339
        InstantFlicked,
hgs
parents:
diff changeset
   340
        InstantPopupOpened,
hgs
parents:
diff changeset
   341
        InstantPopupClosed,
hgs
parents:
diff changeset
   342
        InstantBoundaryReached,
hgs
parents:
diff changeset
   343
        InstantRotated90Degrees,
hgs
parents:
diff changeset
   344
        InstantSelectionChanged,
hgs
parents:
diff changeset
   345
        /* add new standard instant interactions here */
hgs
parents:
diff changeset
   346
//        NumberOfInstantInteractions,
hgs
parents:
diff changeset
   347
//        InstantUser = 1000,
hgs
parents:
diff changeset
   348
        /* value range for user defined custom instant interactions */
hgs
parents:
diff changeset
   349
//        InstantMaxUser = 65535
hgs
parents:
diff changeset
   350
//    };
hgs
parents:
diff changeset
   351
hgs
parents:
diff changeset
   352
/*    enum ContinuousInteraction {
hgs
parents:
diff changeset
   353
        ContinuousScrolled = 0,
hgs
parents:
diff changeset
   354
        ContinuousDragged,
hgs
parents:
diff changeset
   355
        ContinuousPinched,
hgs
parents:
diff changeset
   356
        /* add new standard continuous interactions here */
hgs
parents:
diff changeset
   357
//        NumberOfContinuousInteractions,
hgs
parents:
diff changeset
   358
//        ContinuousUser = 1000,
hgs
parents:
diff changeset
   359
        /* value range for user defined custom continuous interactions */
hgs
parents:
diff changeset
   360
/*        ContinuousMaxUser = 65535
hgs
parents:
diff changeset
   361
    };
hgs
parents:
diff changeset
   362
hgs
parents:
diff changeset
   363
    enum InteractionModifier {
hgs
parents:
diff changeset
   364
        ModifierSliderHandle = 0x1,
hgs
parents:
diff changeset
   365
        ModifierSliderElement = 0x2,
hgs
parents:
diff changeset
   366
        ModifierExpandedItem = 0x4,
hgs
parents:
diff changeset
   367
        ModifierCollapsedItem = 0x8,
hgs
parents:
diff changeset
   368
        ModifierScrolling = 0x10
hgs
parents:
diff changeset
   369
    };
hgs
parents:
diff changeset
   370
 
hgs
parents:
diff changeset
   371
    Q_DECLARE_FLAGS(InteractionModifiers, InteractionModifier)*/
hgs
parents:
diff changeset
   372
};
hgs
parents:
diff changeset
   373
hgs
parents:
diff changeset
   374
/*Q_DECLARE_METATYPE(Hb::GraphicsItemType)
hgs
parents:
diff changeset
   375
hgs
parents:
diff changeset
   376
Q_DECLARE_OPERATORS_FOR_FLAGS(Hb::UiAttributes)
hgs
parents:
diff changeset
   377
Q_DECLARE_OPERATORS_FOR_FLAGS(Hb::TouchGestures)
hgs
parents:
diff changeset
   378
Q_DECLARE_OPERATORS_FOR_FLAGS(Hb::SceneItems)
hgs
parents:
diff changeset
   379
Q_DECLARE_OPERATORS_FOR_FLAGS(Hb::WindowFlags)
hgs
parents:
diff changeset
   380
Q_DECLARE_OPERATORS_FOR_FLAGS(Hb::ViewSwitchFlags)
hgs
parents:
diff changeset
   381
Q_DECLARE_OPERATORS_FOR_FLAGS(Hb::SliderTickPositions)
hgs
parents:
diff changeset
   382
Q_DECLARE_OPERATORS_FOR_FLAGS(Hb::TextContextMenuFlags)
hgs
parents:
diff changeset
   383
Q_DECLARE_OPERATORS_FOR_FLAGS(Hb::InteractionModifiers)
hgs
parents:
diff changeset
   384
*/
hgs
parents:
diff changeset
   385
#endif // HBNAMESPACE_H
hgs
parents:
diff changeset
   386