wysota, the strange thing is that I have the list in icon mode That's how I configure it:
llistaFotosPetites
-> setViewMode
(QListView::IconMode);
llistaFotosPetites
-> setIconSize
(QSize(TAM_ICON_HOR, TAM_ICON_VER
));
llistaFotosPetites
-> setFlow
(QListView::LeftToRight);
llistaFotosPetites
-> setMovement
(QListView::Static);
llistaFotosPetites
-> setResizeMode
(QListView::Adjust);
//llistaFotosPetites -> setLayoutMode(QListView::Batched);
llistaFotosPetites -> setWrapping(true);
llistaFotosPetites -> setTextElideMode(Qt::ElideRight);
//llistaFotosPetites -> setSpacing(8);
llistaFotosPetites
-> setGridSize
(QSize(TAM_GRID_HOR, TAM_GRID_VER
));
llistaFotosPetites -> setUniformItemSizes(true);
llistaFotosPetites
-> setFrameShape
(QFrame::NoFrame);
llistaFotosPetites = new QListWidget;
llistaFotosPetites -> setViewMode(QListView::IconMode);
llistaFotosPetites -> setIconSize(QSize(TAM_ICON_HOR, TAM_ICON_VER));
llistaFotosPetites -> setFlow(QListView::LeftToRight);
llistaFotosPetites -> setMovement(QListView::Static);
llistaFotosPetites -> setResizeMode(QListView::Adjust);
//llistaFotosPetites -> setLayoutMode(QListView::Batched);
llistaFotosPetites -> setWrapping(true);
llistaFotosPetites -> setTextElideMode(Qt::ElideRight);
//llistaFotosPetites -> setSpacing(8);
llistaFotosPetites -> setGridSize(QSize(TAM_GRID_HOR, TAM_GRID_VER));
llistaFotosPetites -> setUniformItemSizes(true);
llistaFotosPetites -> setSelectionMode(QAbstractItemView::ExtendedSelection);
llistaFotosPetites -> setFrameShape(QFrame::NoFrame);
To copy to clipboard, switch view to plain text mode
Do you know why the rubberband doesn't appear?
Bookmarks