equal
deleted
inserted
replaced
27 |
27 |
28 class GlxFavMediaModel; |
28 class GlxFavMediaModel; |
29 class HbDocumentLoader; |
29 class HbDocumentLoader; |
30 class HbLabel; |
30 class HbLabel; |
31 class HbPushButton; |
31 class HbPushButton; |
32 class GlxDetailsNameLabel; |
32 class GlxDetailsTextEdit; |
33 class GlxDetailsDescriptionEdit; |
33 class GlxDetailsIcon; |
|
34 |
34 class GlxDetailsViewDocLoader; |
35 class GlxDetailsViewDocLoader; |
35 |
36 |
36 class GlxDetailsView : public GlxView |
37 class GlxDetailsView : public GlxView |
37 { |
38 { |
38 |
39 |
80 |
81 |
81 public slots: |
82 public slots: |
82 void updateLayout(Qt::Orientation); |
83 void updateLayout(Qt::Orientation); |
83 void rowsRemoved(const QModelIndex &parent, int start, int end); |
84 void rowsRemoved(const QModelIndex &parent, int start, int end); |
84 void dataChanged(QModelIndex startIndex, QModelIndex endIndex); |
85 void dataChanged(QModelIndex startIndex, QModelIndex endIndex); |
|
86 void modelDestroyed(); |
85 void updateFavourites(); |
87 void updateFavourites(); |
86 void UpdateDescription(); |
88 void UpdateDescription(); |
87 void FillDetails(); |
89 void FillDetails(); |
88 |
90 |
89 private: |
91 private: |
151 |
153 |
152 //Contains the thumbnail shown in teh details view. |
154 //Contains the thumbnail shown in teh details view. |
153 HbLabel *mDetailsIcon; |
155 HbLabel *mDetailsIcon; |
154 |
156 |
155 //Contains the favourite icon which adds or removes the image to favourite folder |
157 //Contains the favourite icon which adds or removes the image to favourite folder |
156 HbPushButton *mFavIcon; |
158 GlxDetailsIcon *mFavIcon; |
157 |
159 |
158 //The media Model to acess the attributes; not owned,dont delete. |
160 //The media Model to acess the attributes; not owned,dont delete. |
159 QAbstractItemModel *mModel; |
161 QAbstractItemModel *mModel; |
160 |
162 |
161 //The media Model to acess the attributes whether image is in favourite folder or not;owned by this view |
163 //The media Model to acess the attributes whether image is in favourite folder or not;owned by this view |
168 |
170 |
169 //Document Loader |
171 //Document Loader |
170 GlxDetailsViewDocLoader *mDocLoader; |
172 GlxDetailsViewDocLoader *mDocLoader; |
171 |
173 |
172 //Shows the Images |
174 //Shows the Images |
173 GlxDetailsNameLabel *mImageName; |
175 GlxDetailsTextEdit *mImageName; |
174 |
176 |
175 //Shows the descriptions |
177 //Shows the descriptions |
176 GlxDetailsDescriptionEdit *mDescriptions; |
178 GlxDetailsTextEdit *mDescriptions; |
177 |
179 |
178 //Shows the Date |
180 //Shows the Date |
179 HbLabel *mDateLabel; |
181 HbLabel *mDateLabel; |
180 |
182 |
181 //Shows the size of the image |
183 //Shows the size of the image |
182 HbLabel *mSizeLabel; |
184 HbLabel *mSizeLabel; |
183 |
185 |
184 //Shows the time |
186 //Shows the time |
185 HbLabel *mTimeLabel; |
187 HbLabel *mTimeLabel; |
|
188 |
|
189 HbIcon mFavIconEnabled; |
|
190 HbIcon mFavIconDisabled; |
186 }; |
191 }; |
187 #endif //GLXDETAILSVIEW_H |
192 #endif //GLXDETAILSVIEW_H |