47 void initWidget(HgTestWidgetType type); |
47 void initWidget(HgTestWidgetType type); |
48 void changeScrollBarVisibility(HgWidget::ScrollBarPolicy policy); |
48 void changeScrollBarVisibility(HgWidget::ScrollBarPolicy policy); |
49 void changeScrollBarInteractivity(bool value); |
49 void changeScrollBarInteractivity(bool value); |
50 void changeModelImageType(HgTestImageType); |
50 void changeModelImageType(HgTestImageType); |
51 void changeLowResImageUse(bool value); |
51 void changeLowResImageUse(bool value); |
52 void changeTitlePosition(HgMediawall::LabelPosition); |
|
53 void changeTitleFont(const HbFontSpec &); |
52 void changeTitleFont(const HbFontSpec &); |
54 void changeDescriptionPosition(HgMediawall::LabelPosition); |
|
55 void changeDescriptionFont(const HbFontSpec &); |
53 void changeDescriptionFont(const HbFontSpec &); |
56 void changeWidgetHeight(int); |
54 void changeWidgetHeight(int); |
57 void changeWidgetWidth(int); |
55 void changeWidgetWidth(int); |
58 void changeReflectionsEnabled(bool); |
56 void changeReflectionsEnabled(bool); |
|
57 void changeEffect3dEnabled(bool); |
59 void changeItemSizePolicy(HgWidget::ItemSizePolicy); |
58 void changeItemSizePolicy(HgWidget::ItemSizePolicy); |
60 |
59 |
61 void toggleScrollDirection(); |
60 void toggleScrollDirection(); |
62 void openDialog(const QModelIndex &index); |
61 void openDialog(const QModelIndex &index); |
63 void openView(const QModelIndex& index); |
62 void openView(const QModelIndex& index); |
69 void onScrollingStarted(); |
68 void onScrollingStarted(); |
70 void onScrollingEnded(); |
69 void onScrollingEnded(); |
71 void showOptions(); |
70 void showOptions(); |
72 void hideOptions(); |
71 void hideOptions(); |
73 void orientationChanged(Qt::Orientation); |
72 void orientationChanged(Qt::Orientation); |
74 |
73 |
75 void startItemSizeChange(); |
74 void startItemSizeChange(); |
76 void itemSizeDialogClosed(); |
75 void itemSizeDialogClosed(); |
77 void updateItemSizeAndSpacing(); |
76 void updateItemSizeAndSpacing(); |
78 |
77 |
79 void startItemPosChange(); |
78 void startItemPosChange(); |
80 void updateItemPos(); |
79 void updateItemPos(); |
81 void itemPosDialogClosed(); |
80 void itemPosDialogClosed(); |
82 |
81 void useCustomLayout(); |
|
82 |
83 void resetOptions(); |
83 void resetOptions(); |
84 void resetModel(); |
84 void resetModel(); |
85 void activated(/*HbListWidgetItem *item*/); |
85 void activated(/*HbListWidgetItem *item*/); |
86 void animationFinished(); |
86 void animationFinished(); |
87 void animationAboutToEnd(const QModelIndex& targetIndex); |
87 void animationAboutToEnd(const QModelIndex& targetIndex); |
98 Qt::Orientation orientation() const; |
98 Qt::Orientation orientation() const; |
99 void startAnimation(const QModelIndex& index); |
99 void startAnimation(const QModelIndex& index); |
100 |
100 |
101 private: // data |
101 private: // data |
102 |
102 |
103 HgWidget* mWidget; |
103 HgWidget *mWidget; |
104 QGraphicsLinearLayout* mLayout; |
104 QGraphicsLinearLayout *mLayout; |
105 HgWidgetTestDataModel* mModel; |
105 HgWidgetTestDataModel *mModel; |
106 HgTestWidgetType mWidgetType; |
106 HgTestWidgetType mWidgetType; |
107 HbListWidget* mListWidget; |
107 HbListWidget *mListWidget; |
108 bool mToggleOrientation; |
108 bool mToggleOrientation; |
109 QItemSelectionModel* mSelectionModel; |
109 QItemSelectionModel *mSelectionModel; |
110 HgFlipWidget* mFlipWidget; |
110 HgFlipWidget* mFlipWidget; |
111 QModelIndex mFlippedIndex; |
111 QModelIndex mFlippedIndex; |
112 HbLabel* mFrontItem; |
112 HbLabel* mFrontItem; |
113 HbView* mOptionsView; |
113 HbView* mOptionsView; |
114 HgItemSizeDialog* mItemSizeDialog; |
114 HgItemSizeDialog* mItemSizeDialog; |