lib

KoPageLayoutDia Class Reference

#include <KoPageLayoutDia.h>

Inheritance diagram for KoPageLayoutDia:

KDialogBase KDialog

List of all members.


Detailed Description

With this dialog the user can specify the layout of the paper during printing.

Definition at line 82 of file KoPageLayoutDia.h.


Public Member Functions

 KoPageLayoutDia (QWidget *parent, const char *name, const KoPageLayout &layout, const KoHeadFoot &headfoot, int flags, KoUnit::Unit unit, bool modal=true)
 KoPageLayoutDia (QWidget *parent, const char *name, const KoPageLayout &layout, const KoHeadFoot &headfoot, const KoColumns &columns, const KoKWHeaderFooter &kwheadfoot, int tabs, KoUnit::Unit unit)
 ~KoPageLayoutDia ()
const KoPageLayoutlayout () const
KoHeadFoot headFoot () const
KoUnit::Unit unit () const

Static Public Member Functions

static bool pageLayout (KoPageLayout &, KoHeadFoot &, int tabs, KoUnit::Unit &unit, QWidget *parent=0)
static bool pageLayout (KoPageLayout &, KoHeadFoot &, KoColumns &, KoKWHeaderFooter &, int tabs, KoUnit::Unit &unit, QWidget *parent=0)
static KDE_DEPRECATED KoPageLayout standardLayout ()

Protected Slots

virtual void slotOk ()

Constructor & Destructor Documentation

KoPageLayoutDia::KoPageLayoutDia ( QWidget *  parent,
const char *  name,
const KoPageLayout layout,
const KoHeadFoot headfoot,
int  flags,
KoUnit::Unit  unit,
bool  modal = true 
)

Constructor.

Parameters:
parent The parent of the dialog.
name The name of the dialog.
layout The layout.
headfoot The header and the footer.
flags a variable with all features this dialog should show.
unit The unit to use for displaying the values to the user.
modal Whether the dialog is modal or not.

Definition at line 131 of file KoPageLayoutDia.cpp.

KoPageLayoutDia::KoPageLayoutDia ( QWidget *  parent,
const char *  name,
const KoPageLayout layout,
const KoHeadFoot headfoot,
const KoColumns columns,
const KoKWHeaderFooter kwheadfoot,
int  tabs,
KoUnit::Unit  unit 
)

Constructor.

Parameters:
parent The parent of the dialog.
name The name of the dialog.
layout The layout.
headfoot The header and the footer.
columns The number of columns on the page.
kwheadfoot The KWord header and footer.
tabs The number of tabs.
unit The unit to use for displaying the values to the user

Definition at line 156 of file KoPageLayoutDia.cpp.

KoPageLayoutDia::~KoPageLayoutDia (  ) 

Destructor.

Definition at line 184 of file KoPageLayoutDia.cpp.


Member Function Documentation

bool KoPageLayoutDia::pageLayout ( KoPageLayout layout,
KoHeadFoot hf,
int  tabs,
KoUnit::Unit unit,
QWidget *  parent = 0 
) [static]

Show page layout dialog.

See constructor for documentation on the parameters

Definition at line 189 of file KoPageLayoutDia.cpp.

bool KoPageLayoutDia::pageLayout ( KoPageLayout layout,
KoHeadFoot hf,
KoColumns columns,
KoKWHeaderFooter _kwhf,
int  tabs,
KoUnit::Unit unit,
QWidget *  parent = 0 
) [static]

Show page layout dialog.

See constructor for documentation on the parameters

Definition at line 207 of file KoPageLayoutDia.cpp.

KoPageLayout KoPageLayoutDia::standardLayout (  )  [static]

Retrieves a standard page layout.

Deprecated: better use KoPageLayout::standardLayout()

Definition at line 228 of file KoPageLayoutDia.cpp.

const KoPageLayout& KoPageLayoutDia::layout (  )  const [inline]

Returns the layout.

Definition at line 148 of file KoPageLayoutDia.h.

KoHeadFoot KoPageLayoutDia::headFoot (  )  const

Returns the header and footer information.

Definition at line 234 of file KoPageLayoutDia.cpp.

KoUnit::Unit KoPageLayoutDia::unit (  )  const [inline]

Returns the unit.

Definition at line 158 of file KoPageLayoutDia.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys