equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #include <hbaction.h> |
18 #include <HbAction> |
19 #include <hbdialog.h> |
19 #include <HbDialog> |
20 #include <hbinstance.h> |
20 #include <HbInstance> |
21 #include <hblabel.h> |
21 #include <HbLabel> |
22 #include <hblistwidget.h> |
22 #include <HbListWidget> |
23 #include <hblistwidgetitem.h> |
23 #include <HbListWidgetItem> |
24 #include <hbmenu.h> |
24 #include <HbMenu> |
25 #include <hbscrollbar> |
25 #include <HbScrollbar> |
26 #include <QActionGroup> |
26 #include <QActionGroup> |
27 #include <QGraphicsLinearLayout> |
27 #include <QGraphicsLinearLayout> |
28 #include <QSettings> |
28 #include <QSettings> |
29 #include <QParallelAnimationGroup> |
29 #include <QParallelAnimationGroup> |
30 #include <QPropertyAnimation> |
30 #include <QPropertyAnimation> |
37 #include "hgitemsizedialog.h" |
37 #include "hgitemsizedialog.h" |
38 #include "trace.h" |
38 #include "trace.h" |
39 #include "hgcoveritem.h" |
39 #include "hgcoveritem.h" |
40 #include <hgwidgets/hggrid.h> |
40 #include <hgwidgets/hggrid.h> |
41 #include <hgwidgets/hgmediawall.h> |
41 #include <hgwidgets/hgmediawall.h> |
42 #include <hbstyleloader.h> |
42 #include <HbStyleLoader> |
43 |
43 |
44 static const int GRIDBUFFERSIZE(400); |
44 static const int GRIDBUFFERSIZE(400); |
45 static const int COVERFLOWBUFFERSIZE(100); |
45 static const int COVERFLOWBUFFERSIZE(100); |
46 |
46 |
47 HgWidgetTestView::HgWidgetTestView(QGraphicsItem *parent) : |
47 HgWidgetTestView::HgWidgetTestView(QGraphicsItem *parent) : |
54 mFlipWidget(0), |
54 mFlipWidget(0), |
55 mFrontItem(0), |
55 mFrontItem(0), |
56 mOptionsView(0), |
56 mOptionsView(0), |
57 mItemSizeDialog(0), |
57 mItemSizeDialog(0), |
58 mItemPosDialog(0), |
58 mItemPosDialog(0), |
|
59 mAnimationGroup(0), |
59 mDialog(0), |
60 mDialog(0), |
60 mCoverItem(0), |
61 mCoverItem(0) |
61 mAnimationGroup(0) |
|
62 { |
62 { |
63 mModel = new HgWidgetTestDataModel(this); |
63 mModel = new HgWidgetTestDataModel(this); |
64 mSelectionModel = new QItemSelectionModel(mModel, this); |
64 mSelectionModel = new QItemSelectionModel(mModel, this); |
65 |
65 |
66 mAnimationGroup = new QParallelAnimationGroup(); |
66 mAnimationGroup = new QParallelAnimationGroup(); |