KoPageLayoutColumns Class Reference
#include <KoPageLayoutColumns.h>
Public Slots | |
| void | setEnableColumns (bool on) |
Signals | |
| void | propertyChange (KoColumns &columns) |
Public Member Functions | |
| KoPageLayoutColumns (TQWidget *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 |
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.
Constructor & Destructor Documentation
◆ KoPageLayoutColumns()
| KoPageLayoutColumns::KoPageLayoutColumns | ( | TQWidget * | 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
◆ setEnableColumns
|
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.
◆ setLayout()
| 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.
Member Data Documentation
◆ m_columns
|
protected |
Definition at line 67 of file KoPageLayoutColumns.h.
◆ m_preview
|
protected |
Definition at line 68 of file KoPageLayoutColumns.h.
◆ m_spacing
|
protected |
Definition at line 69 of file KoPageLayoutColumns.h.
The documentation for this class was generated from the following files:
