mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Page layout modes
This commit is contained in:
@ -630,6 +630,15 @@ void PDFDrawWidgetProxy::zoom(PDFReal zoom)
|
||||
}
|
||||
}
|
||||
|
||||
void PDFDrawWidgetProxy::setPageLayout(PageLayout pageLayout)
|
||||
{
|
||||
if (getPageLayout() != pageLayout)
|
||||
{
|
||||
m_controller->setPageLayout(pageLayout);
|
||||
emit pageLayoutChanged();
|
||||
}
|
||||
}
|
||||
|
||||
QRectF PDFDrawWidgetProxy::fromDeviceSpace(const QRectF& rect) const
|
||||
{
|
||||
Q_ASSERT(rect.isValid());
|
||||
|
Reference in New Issue
Block a user