lib Library API Documentation

KoParagDia Class Reference

The complete(*) dialog for changing attributes of a paragraph. More...

#include <koParagDia.h>

Collaboration diagram for KoParagDia:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  PD_SPACING = 1, PD_ALIGN = 2, PD_BORDERS = 4, PD_NUMBERING = 8,
  PD_TABS = 16
}

Signals

void applyParagStyle ()

Public Member Functions

 KoParagDia (QWidget *, const char *, int flags, KoUnit::Unit unit, double _frameWidth=-1, bool breakLine=true, bool disableAll=false)
int getFlags () const
void setCurrentPage (int page)
void setParagLayout (const KoParagLayout &lay)
double leftIndent () const
double rightIndent () const
double firstLineIndent () const
double spaceBeforeParag () const
double spaceAfterParag () const
double lineSpacing () const
KoParagLayout::SpacingType lineSpacingType () const
int align () const
int pageBreaking () const
KoBorder leftBorder () const
KoBorder rightBorder () const
KoBorder topBorder () const
KoBorder bottomBorder () const
const KoParagCountercounter () const
KoTabulatorList tabListTabulator () const
KoParagTabulatorsWidgettabulatorsWidget () const
bool isAlignChanged () const
bool isLineSpacingChanged () const
bool isLeftMarginChanged () const
bool isRightMarginChanged () const
bool isFirstLineChanged () const
bool isSpaceBeforeChanged () const
bool isSpaceAfterChanged () const
bool isPageBreakingChanged () const
bool isCounterChanged () const
bool isBorderChanged () const
bool listTabulatorChanged () const
KoParagLayout paragLayout () const
int changedFlags () const

Protected Slots

void slotReset ()
virtual void slotOk ()
virtual void slotApply ()

Detailed Description

The complete(*) dialog for changing attributes of a paragraph.

(*) the flags (to only show parts of it) have been kept just in case but are not currently used.

Definition at line 437 of file koParagDia.h.


Constructor & Destructor Documentation

KoParagDia::KoParagDia QWidget ,
const char *  ,
int  flags,
KoUnit::Unit  unit,
double  _frameWidth = -1,
bool  breakLine = true,
bool  disableAll = false
 

breakLine : kpresenter didn't used this attibute, kword use it.

Definition at line 2060 of file koParagDia.cc.


Member Function Documentation

int KoParagDia::getFlags  )  const [inline]
 

Flags passed to constructor.

Definition at line 452 of file koParagDia.h.

void KoParagDia::setCurrentPage int  page  ) 
 

Make a given page the current one - page is a flag (PD_something) value.

Definition at line 2112 of file koParagDia.cc.

void KoParagDia::setParagLayout const KoParagLayout lay  ) 
 

Set the values to be displayed.

Definition at line 2136 of file koParagDia.cc.

References KoParagTabulatorsWidget::display(), KoParagCounterWidget::display(), KoParagBorderWidget::display(), KoParagAlignWidget::display(), and KoIndentSpacingWidget::display().

int KoParagDia::changedFlags  )  const
 

Returns:
the set of flags which were changed

Definition at line 2168 of file koParagDia.cc.


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:11 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003