setRootIsDecorated(false);
setSortingEnabled(true);
setUniformRowHeights(true);
+ setSelectionBehavior(SelectItems);
+
+ viewport()->setAttribute(Qt::WA_Hover);
const ViewProperties props(controller->url());
setSortIndicatorSection(props.sorting());
connect(this, SIGNAL(clicked(const QModelIndex&)),
controller, SLOT(triggerItem(const QModelIndex&)));
+ connect(this, SIGNAL(activated(const QModelIndex&)),
+ controller, SLOT(triggerItem(const QModelIndex&)));
connect(controller, SIGNAL(zoomIn()),
this, SLOT(zoomIn()));