mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
fixed importing view
This commit is contained in:
parent
33971f7ff1
commit
06411a1130
@ -118,6 +118,9 @@ ImportWidget::ImportWidget(QWidget *parent) :
|
|||||||
coversViewContainer = new QWidget(this);
|
coversViewContainer = new QWidget(this);
|
||||||
QVBoxLayout * coversViewLayout = new QVBoxLayout;
|
QVBoxLayout * coversViewLayout = new QVBoxLayout;
|
||||||
coversViewContainer->setLayout(coversViewLayout);
|
coversViewContainer->setLayout(coversViewLayout);
|
||||||
|
coversViewContainer->setMaximumHeight(316);
|
||||||
|
coversViewContainer->setSizePolicy(QSizePolicy::Ignored,QSizePolicy::Maximum);
|
||||||
|
|
||||||
coversView = new QGraphicsView();
|
coversView = new QGraphicsView();
|
||||||
//coversView->setViewport(new QGLWidget(QGLFormat(QGL::SampleBuffers)));
|
//coversView->setViewport(new QGLWidget(QGLFormat(QGL::SampleBuffers)));
|
||||||
coversView->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
coversView->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user