Add thumbnail strip widget to manage sizing and layout of thumb previews

This commit is contained in:
baldurk
2016-10-04 12:58:58 +02:00
parent 7bb9c36de4
commit 2577218e32
9 changed files with 331 additions and 102 deletions
+8
View File
@@ -10,3 +10,11 @@ ResourcePreview::~ResourcePreview()
{
delete ui;
}
void ResourcePreview::SetSize(QSize s)
{
setFixedWidth(s.width());
setFixedHeight(s.height());
setMinimumSize(s);
setMaximumSize(s);
}