lib Library API Documentation

KoPageLayoutDia Class Reference

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

#include <koPageLayoutDia.h>

Collaboration diagram for KoPageLayoutDia:

Collaboration graph
[legend]
List of all members.

Public Slots

void widthChanged ()
void heightChanged ()
void leftChanged ()
void rightChanged ()
void topChanged ()
void bottomChanged ()

Public Member Functions

 KoPageLayoutDia (QWidget *parent, const char *name, const KoPageLayout &layout, const KoHeadFoot &headfoot, int tabs, 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 ()

Detailed Description

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

Definition at line 90 of file koPageLayoutDia.h.


Constructor & Destructor Documentation

KoPageLayoutDia::KoPageLayoutDia QWidget parent,
const char *  name,
const KoPageLayout layout,
const KoHeadFoot headfoot,
int  tabs,
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.
tabs The number of tabs.
unit The unit to use for displaying the values to the user

Definition at line 133 of file koPageLayoutDia.cc.

References KoColumns::columns.

Referenced by pageLayout().

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 162 of file koPageLayoutDia.cc.

KoPageLayoutDia::~KoPageLayoutDia  ) 
 

Destructor.

Definition at line 195 of file koPageLayoutDia.cc.


Member Function Documentation

bool KoPageLayoutDia::pageLayout KoPageLayout ,
KoHeadFoot ,
int  tabs,
KoUnit::Unit &  unit,
QWidget parent = 0
[static]
 

Show page layout dialog.

See constructor for documentation on the parameters

Definition at line 200 of file koPageLayoutDia.cc.

References headFoot(), KoPageLayoutDia(), layout(), and unit().

bool KoPageLayoutDia::pageLayout KoPageLayout ,
KoHeadFoot ,
KoColumns ,
KoKWHeaderFooter ,
int  tabs,
KoUnit::Unit &  unit,
QWidget parent = 0
[static]
 

Show page layout dialog.

See constructor for documentation on the parameters

Definition at line 218 of file koPageLayoutDia.cc.

References columns(), getKWHeaderFooter(), headFoot(), KoPageLayoutDia(), layout(), and unit().

KoPageLayout KoPageLayoutDia::standardLayout  )  [static]
 

Retrieves a standard page layout.

Deprecated: better use KoPageLayout::standardLayout()

Definition at line 239 of file koPageLayoutDia.cc.

References KoPageLayout::standardLayout().

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

Returns the layout.

Definition at line 155 of file koPageLayoutDia.h.

Referenced by pageLayout().

KoHeadFoot KoPageLayoutDia::headFoot  )  const
 

Returns the header and footer information.

Definition at line 245 of file koPageLayoutDia.cc.

References KoHeadFoot::footLeft, KoHeadFoot::footMid, KoHeadFoot::footRight, KoHeadFoot::headLeft, KoHeadFoot::headMid, and KoHeadFoot::headRight.

Referenced by pageLayout().

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

Returns the unit.

Definition at line 165 of file koPageLayoutDia.h.

Referenced by pageLayout().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for lib Library Version 1.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:41:06 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003