mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Draw buffer commiting
This commit is contained in:
@ -47,6 +47,12 @@ OutputPreviewDialog::~OutputPreviewDialog()
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void OutputPreviewDialog::resizeEvent(QResizeEvent* event)
|
||||
{
|
||||
QDialog::resizeEvent(event);
|
||||
updateImage();
|
||||
}
|
||||
|
||||
void OutputPreviewDialog::updateImage()
|
||||
{
|
||||
const pdf::PDFPage* page = m_document->getCatalog()->getPage(ui->pageIndexScrollBar->value() - 1);
|
||||
|
Reference in New Issue
Block a user