lib

#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
parentthe parent widget
columnsthe KoColumns data structure that this dialog should be initialzed with
unitthe unit-type (mm/cm/inch) that the dialog should show
layoutthe page layout that the preview should be initialzed with.

Definition at line 28 of file KoPageLayoutColumns.cpp.

Member Function Documentation

◆ setEnableColumns

void KoPageLayoutColumns::setEnableColumns ( bool on)
slot

Enable the user to edit the columns.

Parameters
onif 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
layoutthe new layout

Definition at line 66 of file KoPageLayoutColumns.cpp.

Member Data Documentation

◆ m_columns

KoColumns KoPageLayoutColumns::m_columns
protected

Definition at line 67 of file KoPageLayoutColumns.h.

◆ m_preview

KoPagePreview* KoPageLayoutColumns::m_preview
protected

Definition at line 68 of file KoPageLayoutColumns.h.

◆ m_spacing

KoUnitDoubleSpinBox* KoPageLayoutColumns::m_spacing
protected

Definition at line 69 of file KoPageLayoutColumns.h.


The documentation for this class was generated from the following files: