equal
deleted
inserted
replaced
35 #define LOC_SAVE hbTrId("txt_common_menu_save") |
35 #define LOC_SAVE hbTrId("txt_common_menu_save") |
36 |
36 |
37 const QString PIXMAP_ICON("qtg_small_image"); |
37 const QString PIXMAP_ICON("qtg_small_image"); |
38 const QString CORRUPTED_PIXMAP_ICON("qtg_large_corrupted"); |
38 const QString CORRUPTED_PIXMAP_ICON("qtg_large_corrupted"); |
39 const QString VIDEO_MIMETYPE("video"); |
39 const QString VIDEO_MIMETYPE("video"); |
40 const QString MSG_VIDEO_ICON("qtg_large_video_player"); |
40 const QString MSG_VIDEO_ICON("qtg_small_video"); |
41 |
41 |
42 //--------------------------------------------------------------- |
42 //--------------------------------------------------------------- |
43 // UniViewerPixmapWidget::UniViewerPixmapWidget |
43 // UniViewerPixmapWidget::UniViewerPixmapWidget |
44 // @see header file |
44 // @see header file |
45 //--------------------------------------------------------------- |
45 //--------------------------------------------------------------- |
215 Q_UNUSED(id) |
215 Q_UNUSED(id) |
216 this->grabGesture(Qt::TapGesture); |
216 this->grabGesture(Qt::TapGesture); |
217 if (!error) { |
217 if (!error) { |
218 this->setIcon(HbIcon(pixmap)); |
218 this->setIcon(HbIcon(pixmap)); |
219 this->hide(); |
219 this->hide(); |
220 // calling the sizeint forcefully as thumbnailReady is a async call |
220 this->updateGeometry(); |
221 // by the time this call has come sizeint would have already been calculated. |
|
222 this->parentWidget()->resize(-1, -1); |
|
223 } |
221 } |
224 } |
222 } |
225 // EOF |
223 // EOF |