#include <vabstractlayoutdialog.h>
Public Types | |
enum class | PaperSizeTemplate : char { A0 = 0 , A1 , A2 , A3 , A4 , Letter , Legal , Roll24in = 7 , Roll30in , Roll36in , Roll42in , Roll44in = 11 , Custom = 12 } |
Public Member Functions | |
VAbstractLayoutDialog (QWidget *parent=nullptr) | |
Protected Types | |
typedef QStringList | FormatsVector |
typedef int | VIndexType |
Protected Member Functions | |
QSizeF | getTemplateSize (const PaperSizeTemplate &tmpl, const Unit &unit) const |
DialogLayoutSettings::TemplateSize. More... | |
QSizeF | RoundTemplateSize (qreal width, qreal height, Unit unit) const |
void | initTemplates (QComboBox *comboBoxTemplates) |
Static Protected Attributes | |
static const FormatsVector | pageFormatNames |
Definition at line 11 of file vabstractlayoutdialog.h.
|
protected |
Definition at line 31 of file vabstractlayoutdialog.h.
|
protected |
Definition at line 33 of file vabstractlayoutdialog.h.
|
strong |
Enumerator | |
---|---|
A0 | |
A1 | |
A2 | |
A3 | |
A4 | |
Letter | |
Legal | |
Roll24in | |
Roll30in | |
Roll36in | |
Roll42in | |
Roll44in | |
Custom |
Definition at line 14 of file vabstractlayoutdialog.h.
|
explicit |
Definition at line 24 of file vabstractlayoutdialog.cpp.
|
protected |
DialogLayoutSettings::TemplateSize.
tmpl | |
unit |
Definition at line 64 of file vabstractlayoutdialog.cpp.
References A0, A1, A2, A3, A4, Inch, Legal, Letter, Mm, Px, QIMAGE_MAX, Roll24in, Roll30in, Roll36in, Roll42in, Roll44in, RoundTemplateSize(), and UnitConvertor().
Referenced by DialogLayoutSettings::getTemplateSize(), ExportLayoutDialog::readSettings(), and ExportLayoutDialog::writeSettings().
|
protected |
Definition at line 30 of file vabstractlayoutdialog.cpp.
References A0, Legal, pageFormatNames, PrintDPI, Roll44in, and SCASSERT.
Referenced by DialogLayoutSettings::DialogLayoutSettings(), and ExportLayoutDialog::initTemplates().
|
protected |
Definition at line 126 of file vabstractlayoutdialog.cpp.
References Cm, Inch, Mm, and Px.
Referenced by DialogLayoutSettings::getTemplateSize(), and getTemplateSize().
|
staticprotected |
Definition at line 32 of file vabstractlayoutdialog.h.
Referenced by initTemplates(), and DialogLayoutSettings::MakeHelpTemplateList().