#include <KoPageLayoutSize.h>
This class is a widget that shows the KoPageLayout data structure and allows the user to change it.
Definition at line 37 of file KoPageLayoutSize.h.
◆ KoPageLayoutSize()
| KoPageLayoutSize::KoPageLayoutSize |
( |
TQWidget * | parent, |
|
|
const KoPageLayout & | layout, |
|
|
KoUnit::Unit | unit, |
|
|
const KoColumns & | columns, |
|
|
bool | unitChooser, |
|
|
bool | enableBorders ) |
Contructor.
- Parameters
-
| 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 |
Definition at line 37 of file KoPageLayoutSize.cpp.
◆ bottomChanged
| void KoPageLayoutSize::bottomChanged |
( |
double | bottom | ) |
|
|
protectedslot |
◆ formatChanged
| void KoPageLayoutSize::formatChanged |
( |
int | format | ) |
|
|
protectedslot |
◆ heightChanged
| void KoPageLayoutSize::heightChanged |
( |
double | height | ) |
|
|
protectedslot |
◆ leftChanged
| void KoPageLayoutSize::leftChanged |
( |
double | left | ) |
|
|
protectedslot |
◆ orientationChanged
| void KoPageLayoutSize::orientationChanged |
( |
int | which | ) |
|
|
protectedslot |
◆ propertyChange
| void KoPageLayoutSize::propertyChange |
( |
KoPageLayout & | layout | ) |
|
|
signal |
Emitted whenever the user changed something in the dialog.
- Parameters
-
| 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) |
◆ queryClose()
| bool KoPageLayoutSize::queryClose |
( |
| ) |
|
- Returns
- if the dialog is in a sane state and the values can be used.
Definition at line 330 of file KoPageLayoutSize.cpp.
◆ rightChanged
| void KoPageLayoutSize::rightChanged |
( |
double | right | ) |
|
|
protectedslot |
◆ setColumns()
| void KoPageLayoutSize::setColumns |
( |
KoColumns & | columns | ) |
|
Update the page preview widget with the param columns.
- Parameters
-
Definition at line 346 of file KoPageLayoutSize.cpp.
◆ setEnableBorders
| void KoPageLayoutSize::setEnableBorders |
( |
bool | on | ) |
|
|
slot |
Enable the user to edit the page border size.
- Parameters
-
| on | if true enable the user to change the margins (aka borders) of the page |
Definition at line 176 of file KoPageLayoutSize.cpp.
◆ setUnit
Set a new unit for the widget updating the widgets.
- Parameters
-
Definition at line 208 of file KoPageLayoutSize.cpp.
◆ setUnitInt
| void KoPageLayoutSize::setUnitInt |
( |
int | unit | ) |
|
|
protectedslot |
◆ topChanged
| void KoPageLayoutSize::topChanged |
( |
double | top | ) |
|
|
protectedslot |
◆ unit()
◆ widthChanged
| void KoPageLayoutSize::widthChanged |
( |
double | width | ) |
|
|
protectedslot |
◆ cpgFormat
| TQComboBox* KoPageLayoutSize::cpgFormat |
|
protected |
◆ ebrBottom
◆ ebrLeft
◆ ebrRight
◆ ebrTop
◆ epgHeight
◆ epgWidth
◆ m_orientGroup
| TQButtonGroup* KoPageLayoutSize::m_orientGroup |
|
protected |
◆ pgPreview
The documentation for this class was generated from the following files: