lib

KoParagDia Class Reference

#include <KoParagDia.h>

Inheritance diagram for KoParagDia:

KDialogBase KDialog List of all members.

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 489 of file KoParagDia.h.


Public Types

enum  {
  PD_SPACING = 1, PD_ALIGN = 2, PD_DECORATION = 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)
 ~KoParagDia ()
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
bool joinBorder () const
const KoParagCountercounter () const
KoTabulatorList tabListTabulator () const
KoParagTabulatorsWidgettabulatorsWidget () const
QColor backgroundColor () 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 isJoinBorderChanged () const
bool listTabulatorChanged () const
bool isBackgroundColorChanged () const
KoParagLayout paragLayout () const
int changedFlags () const

Protected Slots

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

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 2146 of file KoParagDia.cpp.


Member Function Documentation

int KoParagDia::getFlags (  )  const [inline]

Flags passed to constructor.

Definition at line 504 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 2204 of file KoParagDia.cpp.

void KoParagDia::setParagLayout ( const KoParagLayout lay  ) 

Set the values to be displayed.

Definition at line 2228 of file KoParagDia.cpp.

int KoParagDia::changedFlags (  )  const

Returns:
the set of flags which were changed

Definition at line 2260 of file KoParagDia.cpp.


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