mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 23:45:49 -04:00
fixed auto-layout of thumbnails
This commit is contained in:
parent
3106157ab0
commit
129ffdd6c5
9 changed files with 89 additions and 26 deletions
|
@ -19,12 +19,18 @@
|
|||
*******************************************************************************/
|
||||
|
||||
#include <QPainter>
|
||||
#include <QResizeEvent>
|
||||
#include "RSTreeView.h"
|
||||
|
||||
RSTreeView::RSTreeView(QWidget *parent) : QTreeView(parent)
|
||||
{
|
||||
}
|
||||
|
||||
void RSTreeView::resizeEvent(QResizeEvent *e)
|
||||
{
|
||||
emit sizeChanged(e->size());
|
||||
}
|
||||
|
||||
void RSTreeView::setPlaceholderText(const QString &text)
|
||||
{
|
||||
placeholderText = text;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue