#include <kis_pdf_import_widget.h>
Definition at line 19 of file kis_pdf_import_widget.h.
◆ KisPDFImportWidget()
| KisPDFImportWidget::KisPDFImportWidget |
( |
Poppler::Document * | pdfDoc, |
|
|
QWidget * | parent ) |
Definition at line 31 of file kis_pdf_import_widget.cpp.
32 : QWidget(parent)
35{
36 setupUi(this);
39
40 for (
int i = 1; i <=
m_pdfDoc->numPages(); i++) {
41 listPages->addItem(QString::number(i));
42 }
43
54
55}
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
References connect(), heightAspectRatio(), m_pages, m_pdfDoc, selectAllPages(), selectFirstPage(), selectSelectionOfPages(), slotAspectChanged(), updateHRes(), updateHVer(), updateMaxCanvasSize(), updateResolution(), updateSelectionOfPages(), and widthAspectRatio().
◆ ~KisPDFImportWidget()
| KisPDFImportWidget::~KisPDFImportWidget |
( |
| ) |
|
◆ heightAspectRatio
| void KisPDFImportWidget::heightAspectRatio |
( |
| ) |
|
|
privateslot |
◆ pages()
| QList< int > KisPDFImportWidget::pages |
( |
| ) |
|
|
inline |
◆ selectAllPages
| void KisPDFImportWidget::selectAllPages |
( |
bool | v | ) |
|
|
privateslot |
◆ selectFirstPage
| void KisPDFImportWidget::selectFirstPage |
( |
bool | v | ) |
|
|
privateslot |
◆ selectSelectionOfPages
| void KisPDFImportWidget::selectSelectionOfPages |
( |
bool | v | ) |
|
|
privateslot |
◆ slotAspectChanged
| void KisPDFImportWidget::slotAspectChanged |
( |
bool | keep | ) |
|
|
privateslot |
◆ updateHRes
| void KisPDFImportWidget::updateHRes |
( |
| ) |
|
|
privateslot |
◆ updateHVer
| void KisPDFImportWidget::updateHVer |
( |
| ) |
|
|
privateslot |
◆ updateMaxCanvasSize
| void KisPDFImportWidget::updateMaxCanvasSize |
( |
| ) |
|
|
privateslot |
◆ updateResolution
| void KisPDFImportWidget::updateResolution |
( |
| ) |
|
|
privateslot |
Definition at line 131 of file kis_pdf_import_widget.cpp.
132{
133 int resolution = intResolution->value();
134 intWidth->blockSignals(true);
136 intWidth->blockSignals(false);
137 intHeight->blockSignals(true);
139 intHeight->blockSignals(false);
140}
References m_maxHeightInch, and m_maxWidthInch.
◆ updateSelectionOfPages
| void KisPDFImportWidget::updateSelectionOfPages |
( |
| ) |
|
|
privateslot |
◆ widthAspectRatio
| void KisPDFImportWidget::widthAspectRatio |
( |
| ) |
|
|
privateslot |
◆ m_keepAspect
| bool KisPDFImportWidget::m_keepAspect |
|
private |
◆ m_maxHeightInch
| double KisPDFImportWidget::m_maxHeightInch |
|
private |
◆ m_maxWidthInch
| double KisPDFImportWidget::m_maxWidthInch |
|
private |
◆ m_pages
| QList<int> KisPDFImportWidget::m_pages |
|
private |
◆ m_pdfDoc
| Poppler::Document* KisPDFImportWidget::m_pdfDoc |
|
private |
The documentation for this class was generated from the following files: