#include <KoPageLayoutSize.h>
Graphe de collaboration de KoPageLayoutSize:
Définition à la ligne 38 du fichier KoPageLayoutSize.h.
KoPageLayoutSize::KoPageLayoutSize | ( | QWidget * | parent, | |
const KoPageLayout & | layout, | |||
KoUnit::Unit | unit, | |||
const KoColumns & | columns, | |||
bool | unitChooser, | |||
bool | enableBorders | |||
) |
Contructor
parent | the parent widget | |
layout | the page layout that this widget should be initialzed with. | |
unit | the unit-type (mm/cm/inch) that the dialog should show | |
columns | the KoColumns (amout of columns) that the preview should be initialized with | |
unitChooser | if true a combobox with the unit-type is shown for the user to change | |
enableBorders | if true enable the user to change the margins (aka borders) of the page |
Définition à la ligne 40 du fichier KoPageLayoutSize.cpp.
Références KoPageFormat::allFormats(), bottomChanged(), cpgFormat, ebrBottom, ebrLeft, ebrRight, ebrTop, epgHeight, epgWidth, KoPageLayout::format, formatChanged(), heightChanged(), leftChanged(), KoUnit::listOfUnitName(), m_layout, m_orientBox, m_orientGroup, m_unit, orientationChanged(), PG_CUSTOM, PG_LANDSCAPE, PG_PORTRAIT, pgPreview, rightChanged(), setEnableBorders(), KoPagePreview::setPageColumns(), setUnitInt(), setValues(), topChanged(), KoUnit::unitDescription(), updatePreview(), et widthChanged().
Voici le graphe d'appel pour cette fonction :
bool KoPageLayoutSize::queryClose | ( | ) |
Définition à la ligne 349 du fichier KoPageLayoutSize.cpp.
Références m_layout, KoPageLayout::ptBottom, KoPageLayout::ptHeight, KoPageLayout::ptLeft, KoPageLayout::ptRight, KoPageLayout::ptTop, et KoPageLayout::ptWidth.
Référencé par KoPageLayoutDia::slotOk().
void KoPageLayoutSize::setColumns | ( | KoColumns & | columns | ) |
Update the page preview widget with the param columns.
columns | the new columns |
Définition à la ligne 365 du fichier KoPageLayoutSize.cpp.
Références pgPreview, et KoPagePreview::setPageColumns().
Référencé par KoPageLayoutDia::columnsUpdated().
Voici le graphe d'appel pour cette fonction :
void KoPageLayoutSize::setUnit | ( | KoUnit::Unit | unit | ) | [slot] |
Set a new unit for the widget updating the widgets.
unit | the new unit |
Définition à la ligne 227 du fichier KoPageLayoutSize.cpp.
Références KoUnitDoubleSpinBox::changeValue(), ebrBottom, ebrLeft, ebrRight, ebrTop, epgHeight, epgWidth, KoUnit::fromUserValue(), m_blockSignals, m_layout, m_unit, KoPageLayout::ptBottom, KoPageLayout::ptHeight, KoPageLayout::ptLeft, KoPageLayout::ptRight, KoPageLayout::ptTop, KoPageLayout::ptWidth, KoUnitDoubleSpinBox::setMinMaxStep(), et KoUnitDoubleSpinBox::setUnit().
Référencé par setUnitInt(), et setValues().
void KoPageLayoutSize::setEnableBorders | ( | bool | on | ) | [slot] |
Enable the user to edit the page border size
on | if true enable the user to change the margins (aka borders) of the page |
Définition à la ligne 195 du fichier KoPageLayoutSize.cpp.
Références ebrBottom, ebrLeft, ebrRight, ebrTop, m_haveBorders, m_layout, propertyChange(), KoPageLayout::ptBottom, KoPageLayout::ptLeft, KoPageLayout::ptRight, KoPageLayout::ptTop, updatePreview(), et KoUnitDoubleSpinBox::value().
Référencé par KoPageLayoutSize(), et orientationChanged().
void KoPageLayoutSize::propertyChange | ( | KoPageLayout & | layout | ) | [signal] |
Emitted whenever the user changed something in the dialog.
layout | the update layout structure with currently displayed info. Note that the info may not be fully correct and physically possible (in which case queryClose will return false) |
Référencé par bottomChanged(), formatChanged(), heightChanged(), leftChanged(), rightChanged(), setEnableBorders(), topChanged(), et widthChanged().
void KoPageLayoutSize::formatChanged | ( | int | ) | [protected, slot] |
Définition à la ligne 264 du fichier KoPageLayoutSize.cpp.
Références KoUnitDoubleSpinBox::changeValue(), epgHeight, epgWidth, KoPageLayout::format, KoPageFormat::height(), m_layout, MM_TO_POINT, KoPageLayout::orientation, PG_CUSTOM, propertyChange(), KoPageLayout::ptHeight, KoPageLayout::ptWidth, updatePreview(), et KoPageFormat::width().
Référencé par KoPageLayoutSize().
void KoPageLayoutSize::widthChanged | ( | double | ) | [protected, slot] |
Définition à la ligne 312 du fichier KoPageLayoutSize.cpp.
Références m_blockSignals, m_layout, propertyChange(), KoPageLayout::ptWidth, et updatePreview().
Référencé par KoPageLayoutSize().
void KoPageLayoutSize::heightChanged | ( | double | ) | [protected, slot] |
Définition à la ligne 318 du fichier KoPageLayoutSize.cpp.
Références m_blockSignals, m_layout, propertyChange(), KoPageLayout::ptHeight, et updatePreview().
Référencé par KoPageLayoutSize().
void KoPageLayoutSize::leftChanged | ( | double | ) | [protected, slot] |
Définition à la ligne 324 du fichier KoPageLayoutSize.cpp.
Références m_blockSignals, m_layout, propertyChange(), KoPageLayout::ptLeft, et updatePreview().
Référencé par KoPageLayoutSize().
void KoPageLayoutSize::rightChanged | ( | double | ) | [protected, slot] |
Définition à la ligne 330 du fichier KoPageLayoutSize.cpp.
Références m_blockSignals, m_layout, propertyChange(), KoPageLayout::ptRight, et updatePreview().
Référencé par KoPageLayoutSize().
void KoPageLayoutSize::topChanged | ( | double | ) | [protected, slot] |
Définition à la ligne 336 du fichier KoPageLayoutSize.cpp.
Références m_blockSignals, m_layout, propertyChange(), KoPageLayout::ptTop, et updatePreview().
Référencé par KoPageLayoutSize().
void KoPageLayoutSize::bottomChanged | ( | double | ) | [protected, slot] |
Définition à la ligne 342 du fichier KoPageLayoutSize.cpp.
Références m_blockSignals, m_layout, propertyChange(), KoPageLayout::ptBottom, et updatePreview().
Référencé par KoPageLayoutSize().
void KoPageLayoutSize::orientationChanged | ( | int | ) | [protected, slot] |
Définition à la ligne 286 du fichier KoPageLayoutSize.cpp.
Références KoUnitDoubleSpinBox::changeValue(), ebrBottom, ebrLeft, ebrRight, ebrTop, epgHeight, epgWidth, m_blockSignals, m_haveBorders, m_layout, KoPageLayout::orientation, PG_LANDSCAPE, PG_PORTRAIT, setEnableBorders(), et KoUnitDoubleSpinBox::value().
Référencé par KoPageLayoutSize().
void KoPageLayoutSize::setUnitInt | ( | int | unit | ) | [protected, slot] |
Définition à la ligne 260 du fichier KoPageLayoutSize.cpp.
Références setUnit().
Référencé par KoPageLayoutSize().
void KoPageLayoutSize::updatePreview | ( | ) | [private] |
Définition à la ligne 213 du fichier KoPageLayoutSize.cpp.
Références m_layout, pgPreview, et KoPagePreview::setPageLayout().
Référencé par bottomChanged(), formatChanged(), heightChanged(), KoPageLayoutSize(), leftChanged(), rightChanged(), setEnableBorders(), setValues(), topChanged(), et widthChanged().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
void KoPageLayoutSize::setValues | ( | ) | [private] |
Définition à la ligne 217 du fichier KoPageLayoutSize.cpp.
Références cpgFormat, KoPageLayout::format, m_layout, m_orientGroup, m_unit, KoPageLayout::orientation, setUnit(), et updatePreview().
Référencé par KoPageLayoutSize().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
QComboBox* KoPageLayoutSize::cpgFormat [protected] |
Définition à la ligne 87 du fichier KoPageLayoutSize.h.
Référencé par KoPageLayoutSize(), et setValues().
KoUnitDoubleSpinBox* KoPageLayoutSize::epgWidth [protected] |
Définition à la ligne 88 du fichier KoPageLayoutSize.h.
Référencé par formatChanged(), KoPageLayoutSize(), orientationChanged(), et setUnit().
KoUnitDoubleSpinBox* KoPageLayoutSize::epgHeight [protected] |
Définition à la ligne 89 du fichier KoPageLayoutSize.h.
Référencé par formatChanged(), KoPageLayoutSize(), orientationChanged(), et setUnit().
KoUnitDoubleSpinBox* KoPageLayoutSize::ebrLeft [protected] |
Définition à la ligne 90 du fichier KoPageLayoutSize.h.
Référencé par KoPageLayoutSize(), orientationChanged(), setEnableBorders(), et setUnit().
KoUnitDoubleSpinBox* KoPageLayoutSize::ebrRight [protected] |
Définition à la ligne 91 du fichier KoPageLayoutSize.h.
Référencé par KoPageLayoutSize(), orientationChanged(), setEnableBorders(), et setUnit().
KoUnitDoubleSpinBox* KoPageLayoutSize::ebrTop [protected] |
Définition à la ligne 92 du fichier KoPageLayoutSize.h.
Référencé par KoPageLayoutSize(), orientationChanged(), setEnableBorders(), et setUnit().
KoUnitDoubleSpinBox* KoPageLayoutSize::ebrBottom [protected] |
Définition à la ligne 93 du fichier KoPageLayoutSize.h.
Référencé par KoPageLayoutSize(), orientationChanged(), setEnableBorders(), et setUnit().
KoPagePreview* KoPageLayoutSize::pgPreview [protected] |
Définition à la ligne 94 du fichier KoPageLayoutSize.h.
Référencé par KoPageLayoutSize(), setColumns(), et updatePreview().
QGroupBox* KoPageLayoutSize::m_orientBox [protected] |
QButtonGroup* KoPageLayoutSize::m_orientGroup [protected] |
Définition à la ligne 96 du fichier KoPageLayoutSize.h.
Référencé par KoPageLayoutSize(), et setValues().
KoUnit::Unit KoPageLayoutSize::m_unit [private] |
Définition à la ligne 113 du fichier KoPageLayoutSize.h.
Référencé par KoPageLayoutSize(), setUnit(), et setValues().
KoPageLayout KoPageLayoutSize::m_layout [private] |
Définition à la ligne 114 du fichier KoPageLayoutSize.h.
Référencé par bottomChanged(), formatChanged(), heightChanged(), KoPageLayoutSize(), leftChanged(), orientationChanged(), queryClose(), rightChanged(), setEnableBorders(), setUnit(), setValues(), topChanged(), updatePreview(), et widthChanged().
bool KoPageLayoutSize::m_blockSignals [private] |
Définition à la ligne 116 du fichier KoPageLayoutSize.h.
Référencé par bottomChanged(), heightChanged(), leftChanged(), orientationChanged(), rightChanged(), setUnit(), topChanged(), et widthChanged().
bool KoPageLayoutSize::m_haveBorders [private] |
Définition à la ligne 116 du fichier KoPageLayoutSize.h.
Référencé par orientationChanged(), et setEnableBorders().