equal
deleted
inserted
replaced
36 class HbLabel; |
36 class HbLabel; |
37 class HbSelectionDialog; |
37 class HbSelectionDialog; |
38 class HbAction; |
38 class HbAction; |
39 class HbDialog; |
39 class HbDialog; |
40 class HbListWidget; |
40 class HbListWidget; |
|
41 class HbListWidgetItem; |
41 class QGraphicsLinearLayout; |
42 class QGraphicsLinearLayout; |
42 class QItemSelection; |
43 class QItemSelection; |
43 class HbAction; |
44 class HbAction; |
44 |
45 |
45 QT_FORWARD_DECLARE_CLASS(QGraphicsLinearLayout) |
46 QT_FORWARD_DECLARE_CLASS(QGraphicsLinearLayout) |
98 void changeMode(); |
99 void changeMode(); |
99 void selectItem(); |
100 void selectItem(); |
100 void resetSelection(); |
101 void resetSelection(); |
101 signals: |
102 signals: |
102 void valueChanged(QPersistentModelIndex, QVariant); |
103 void valueChanged(QPersistentModelIndex, QVariant); |
|
104 void itemSelected(int index); |
|
105 void startPreview(int index); |
|
106 //popup signals |
|
107 void finished(HbAction*); |
|
108 void aboutToShow(); |
|
109 void aboutToHide(); |
|
110 void aboutToClose(); |
103 |
111 |
104 private: |
112 private: |
105 HbRadioButtonList* mRadioButtonList; |
113 HbRadioButtonList* mRadioButtonList; |
106 HbPushButton* mButton; |
114 HbPushButton* mButton; |
107 QStringList mItems; |
115 QStringList mItems; |
138 void valueChanged(QPersistentModelIndex, QVariant); |
146 void valueChanged(QPersistentModelIndex, QVariant); |
139 void aboutToShow(); |
147 void aboutToShow(); |
140 void aboutToHide(); |
148 void aboutToHide(); |
141 void aboutToClose(); |
149 void aboutToClose(); |
142 void finished(HbAction*); |
150 void finished(HbAction*); |
|
151 void activated(HbListWidgetItem *item); |
|
152 void pressed(HbListWidgetItem *item); |
|
153 void released(HbListWidgetItem *item); |
|
154 void longPressed(HbListWidgetItem *item, const QPointF &coords); |
143 |
155 |
144 private: |
156 private: |
145 |
157 |
146 QStringList mItems; |
158 QStringList mItems; |
147 QList<QVariant> mSelectedItems; |
159 QList<QVariant> mSelectedItems; |