lib
KoPageLayoutColumns Class Reference
#include <KoPageLayoutColumns.h>
Detailed Description
This class is a widget that shows the KoColumns data structure and allows the user to change it.
Definition at line 36 of file KoPageLayoutColumns.h.
Public Slots | |
void | setEnableColumns (bool on) |
Signals | |
void | propertyChange (KoColumns &columns) |
Public Member Functions | |
KoPageLayoutColumns (QWidget *parent, const KoColumns &columns, KoUnit::Unit unit, const KoPageLayout &layout) | |
void | setLayout (KoPageLayout &layout) |
Protected Attributes | |
KoColumns | m_columns |
KoPagePreview * | m_preview |
KoUnitDoubleSpinBox * | m_spacing |
Constructor & Destructor Documentation
KoPageLayoutColumns::KoPageLayoutColumns | ( | QWidget * | parent, | |
const KoColumns & | columns, | |||
KoUnit::Unit | unit, | |||
const KoPageLayout & | layout | |||
) |
Contructor.
- Parameters:
-
parent the parent widget columns the KoColumns data structure that this dialog should be initialzed with unit the unit-type (mm/cm/inch) that the dialog should show layout the page layout that the preview should be initialzed with.
Definition at line 28 of file KoPageLayoutColumns.cpp.
Member Function Documentation
void KoPageLayoutColumns::setEnableColumns | ( | bool | on | ) | [slot] |
Enable the user to edit the columns.
- Parameters:
-
on if true enable the user to change the columns count
Definition at line 49 of file KoPageLayoutColumns.cpp.
void KoPageLayoutColumns::setLayout | ( | KoPageLayout & | layout | ) |
Update the page preview widget with the param layout.
- Parameters:
-
layout the new layout
Definition at line 66 of file KoPageLayoutColumns.cpp.
The documentation for this class was generated from the following files: