Start: Make the new StartPage look more like the old one

Use style sheets to give visual feedback about hovered or clicked buttons & labels
This commit is contained in:
wmayer
2024-04-23 16:00:10 +02:00
parent 5d4ff908ff
commit 690b3c97e4
5 changed files with 151 additions and 15 deletions

View File

@@ -44,6 +44,8 @@ FileCardView::FileCardView(QWidget* parent)
setFlow(QListView::Flow::LeftToRight);
setResizeMode(QListView::ResizeMode::Adjust);
setUniformItemSizes(true);
setMouseTracking(true);
setSpacing(20);
}
int FileCardView::heightForWidth(int width) const
@@ -83,5 +85,4 @@ QSize FileCardView::sizeHint() const
cardSize.height() + 2 * cardSpacing};
}
} // namespace StartGui