diff -r dde80bf4a8c7 -r 8bf920201dea ganeswidgets/tsrc/fute/HgWidgetTest/src/hgwidgettestview.cpp --- a/ganeswidgets/tsrc/fute/HgWidgetTest/src/hgwidgettestview.cpp Tue Jul 06 15:29:26 2010 +0300 +++ b/ganeswidgets/tsrc/fute/HgWidgetTest/src/hgwidgettestview.cpp Wed Aug 18 10:52:49 2010 +0300 @@ -668,12 +668,8 @@ connect(view, SIGNAL(lowResImageUseChanged(bool)), SLOT(changeLowResImageUse(bool))); connect(view, SIGNAL(widgetHeightChanged(int)), SLOT(changeWidgetHeight(int))); connect(view, SIGNAL(widgetWidthChanged(int)), SLOT(changeWidgetWidth(int))); - connect(view, SIGNAL(titlePositionChanged(HgMediawall::LabelPosition)), - SLOT(changeTitlePosition(HgMediawall::LabelPosition))); connect(view, SIGNAL(titleFontChanged(HbFontSpec)), SLOT(changeTitleFont(HbFontSpec))); - connect(view, SIGNAL(descriptionPositionChanged(HgMediawall::LabelPosition)), - SLOT(changeDescriptionPosition(HgMediawall::LabelPosition))); connect(view, SIGNAL(descriptionFontChanged(HbFontSpec)), SLOT(changeDescriptionFont(HbFontSpec))); connect(view, SIGNAL(reflectionsEnabledChanged(bool)), @@ -948,20 +944,22 @@ if (orientation == Qt::Horizontal && mWidgetType == HgWidgetCoverflow) { setItemVisible(Hb::AllItems, false); } - else if (orientation == Qt::Horizontal && mWidgetType == HgWidgetGrid && mainWindow()->currentView() == this ) { + else if (orientation == Qt::Horizontal + && mWidgetType == HgWidgetGrid + && mainWindow()->currentView() == this ) { setItemVisible(Hb::AllItems, false); - } + } else if (orientation == Qt::Horizontal && mWidgetType == HgWidgetTBone) { initWidget(HgWidgetCoverflow); setItemVisible(Hb::AllItems, false); - } + } else if (orientation == Qt::Vertical && mWidgetType == HgWidgetCoverflow) { initWidget(HgWidgetTBone); setItemVisible(Hb::AllItems, true); } else if (orientation == Qt::Vertical && mWidgetType == HgWidgetGrid) { setItemVisible(Hb::AllItems, true); - } + } } void HgWidgetTestView::resizeEvent(QGraphicsSceneResizeEvent *event) {