Référence de la classe KoParagDecorationWidget

#include <KoParagDia.h>

Graphe d'héritage de KoParagDecorationWidget:

[légende]
Graphe de collaboration de KoParagDecorationWidget:
[légende]
Liste de tous les membres

Fonctions membres publiques

 KoParagDecorationWidget (QWidget *parent)
virtual ~KoParagDecorationWidget ()
virtual void display (const KoParagLayout &lay)
virtual void save (KoParagLayout &lay)
virtual QString tabName ()
KoBorder leftBorder () const
KoBorder rightBorder () const
KoBorder topBorder () const
KoBorder bottomBorder () const
bool joinBorder () const
QColor backgroundColor () const

Connecteurs protégés

void brdLeftToggled (bool)
void brdRightToggled (bool)
void brdTopToggled (bool)
void brdBottomToggled (bool)
void brdJoinToggled (bool)
void slotPressEvent (QMouseEvent *_ev)

Fonctions membres protégées

void updateBorders ()

Fonctions membres privées

KoBorder::BorderStyle curBorderStyle () const
 Get the currently selected border style.
unsigned int curBorderWidth () const
 Get the currently selected border width.
QColor curBorderColor () const
 Get the currently selected border color.
void clickedBorderPreview (KoBorder &border, KoBorder::BorderType position, KPushButton *corresponding)
void updateBorder (KoBorder &border)
 Set a given border according to the values selected in the GUI.
bool borderChanged (const KoBorder &border)
 Check whether a border is the same as that selected in the GUI.

Attributs privés

KoBorderPreviewwPreview
KoParagDecorationTabwDeco
 Widget defined in .ui file.
KoBorder m_leftBorder
KoBorder m_rightBorder
KoBorder m_topBorder
KoBorder m_bottomBorder
bool m_joinBorder

Description détaillée

The widget for editing paragraph borders (tab 3)

Définition à la ligne 194 du fichier KoParagDia.h.


Documentation des contructeurs et destructeur

KoParagDecorationWidget::KoParagDecorationWidget ( QWidget *  parent  ) 

Définition à la ligne 1243 du fichier KoParagDia.cpp.

Références brdBottomToggled(), brdJoinToggled(), brdLeftToggled(), brdRightToggled(), brdTopToggled(), KoBorder::DASH, KoBorder::DASH_DOT, KoBorder::DASH_DOT_DOT, KoBorder::DOT, KoBorder::DOUBLE_LINE, KoBorder::getStyle(), slotPressEvent(), KoBorder::SOLID, wDeco, et wPreview.

Voici le graphe d'appel pour cette fonction :

virtual KoParagDecorationWidget::~KoParagDecorationWidget (  )  [inline, virtual]

Définition à la ligne 199 du fichier KoParagDia.h.


Documentation des fonctions membres

void KoParagDecorationWidget::display ( const KoParagLayout lay  )  [virtual]

Implémente KoParagLayoutWidget.

Définition à la ligne 1368 du fichier KoParagDia.cpp.

Références KoParagLayout::backgroundColor, KoParagLayout::bottomBorder, KoParagLayout::joinBorder, KoParagLayout::leftBorder, m_bottomBorder, m_joinBorder, m_leftBorder, m_rightBorder, m_topBorder, KoParagLayout::rightBorder, KoParagLayout::topBorder, updateBorders(), et wDeco.

Référencé par KoParagDia::setParagLayout(), et KoParagDia::slotReset().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoParagDecorationWidget::save ( KoParagLayout lay  )  [virtual]

Implémente KoParagLayoutWidget.

Définition à la ligne 1403 du fichier KoParagDia.cpp.

Références KoParagLayout::backgroundColor, KoParagLayout::bottomBorder, KoParagLayout::joinBorder, KoParagLayout::leftBorder, m_bottomBorder, m_joinBorder, m_leftBorder, m_rightBorder, m_topBorder, KoParagLayout::rightBorder, KoParagLayout::topBorder, et wDeco.

QString KoParagDecorationWidget::tabName (  )  [virtual]

return the (i18n-ed) name of the tab

Implémente KoParagLayoutWidget.

Définition à la ligne 1417 du fichier KoParagDia.cpp.

KoBorder KoParagDecorationWidget::leftBorder (  )  const [inline]

Définition à la ligne 207 du fichier KoParagDia.h.

KoBorder KoParagDecorationWidget::rightBorder (  )  const [inline]

Définition à la ligne 208 du fichier KoParagDia.h.

KoBorder KoParagDecorationWidget::topBorder (  )  const [inline]

Définition à la ligne 209 du fichier KoParagDia.h.

KoBorder KoParagDecorationWidget::bottomBorder (  )  const [inline]

Définition à la ligne 210 du fichier KoParagDia.h.

bool KoParagDecorationWidget::joinBorder (  )  const [inline]

Définition à la ligne 211 du fichier KoParagDia.h.

QColor KoParagDecorationWidget::backgroundColor (  )  const

Définition à la ligne 1413 du fichier KoParagDia.cpp.

Références wDeco.

void KoParagDecorationWidget::brdLeftToggled ( bool   )  [protected, slot]

Définition à la ligne 1423 du fichier KoParagDia.cpp.

Références KoBorder::color, curBorderColor(), curBorderStyle(), curBorderWidth(), m_leftBorder, KoBorderPreview::setLeftBorder(), KoBorder::setPenWidth(), KoBorder::setStyle(), et wPreview.

Référencé par KoParagDecorationWidget().

void KoParagDecorationWidget::brdRightToggled ( bool   )  [protected, slot]

Définition à la ligne 1435 du fichier KoParagDia.cpp.

Références KoBorder::color, curBorderColor(), curBorderStyle(), curBorderWidth(), m_rightBorder, KoBorder::setPenWidth(), KoBorderPreview::setRightBorder(), KoBorder::setStyle(), et wPreview.

Référencé par KoParagDecorationWidget().

void KoParagDecorationWidget::brdTopToggled ( bool   )  [protected, slot]

Définition à la ligne 1447 du fichier KoParagDia.cpp.

Références KoBorder::color, curBorderColor(), curBorderStyle(), curBorderWidth(), m_topBorder, KoBorder::setPenWidth(), KoBorder::setStyle(), KoBorderPreview::setTopBorder(), et wPreview.

Référencé par KoParagDecorationWidget().

void KoParagDecorationWidget::brdBottomToggled ( bool   )  [protected, slot]

Définition à la ligne 1459 du fichier KoParagDia.cpp.

Références KoBorder::color, curBorderColor(), curBorderStyle(), curBorderWidth(), m_bottomBorder, KoBorderPreview::setBottomBorder(), KoBorder::setPenWidth(), KoBorder::setStyle(), et wPreview.

Référencé par KoParagDecorationWidget().

void KoParagDecorationWidget::brdJoinToggled ( bool   )  [protected, slot]

Définition à la ligne 1471 du fichier KoParagDia.cpp.

Références m_joinBorder.

Référencé par KoParagDecorationWidget().

void KoParagDecorationWidget::slotPressEvent ( QMouseEvent *  _ev  )  [protected, slot]

Définition à la ligne 1328 du fichier KoParagDia.cpp.

Références KoBorder::BottomBorder, clickedBorderPreview(), KoBorder::LeftBorder, m_bottomBorder, m_leftBorder, m_rightBorder, m_topBorder, KoBorder::RightBorder, KoBorder::TopBorder, wDeco, et wPreview.

Référencé par KoParagDecorationWidget().

void KoParagDecorationWidget::updateBorders (  )  [protected]

Définition à la ligne 1389 du fichier KoParagDia.cpp.

Références m_bottomBorder, m_joinBorder, m_leftBorder, m_rightBorder, m_topBorder, KoBorder::penWidth(), KoBorderPreview::setBottomBorder(), KoBorderPreview::setLeftBorder(), KoBorderPreview::setRightBorder(), KoBorderPreview::setTopBorder(), wDeco, et wPreview.

Référencé par display().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

KoBorder::BorderStyle KoParagDecorationWidget::curBorderStyle (  )  const [private]

Get the currently selected border style.

Définition à la ligne 1284 du fichier KoParagDia.cpp.

Références KoBorder::getStyle(), et wDeco.

Référencé par borderChanged(), brdBottomToggled(), brdLeftToggled(), brdRightToggled(), brdTopToggled(), et updateBorder().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

unsigned int KoParagDecorationWidget::curBorderWidth (  )  const [private]

Get the currently selected border width.

Définition à la ligne 1290 du fichier KoParagDia.cpp.

Références wDeco.

Référencé par borderChanged(), brdBottomToggled(), brdLeftToggled(), brdRightToggled(), brdTopToggled(), et updateBorder().

Voici le graphe d'appel pour cette fonction :

QColor KoParagDecorationWidget::curBorderColor (  )  const [private]

Get the currently selected border color.

Définition à la ligne 1294 du fichier KoParagDia.cpp.

Références wDeco.

Référencé par borderChanged(), brdBottomToggled(), brdLeftToggled(), brdRightToggled(), brdTopToggled(), et updateBorder().

Voici le graphe d'appel pour cette fonction :

void KoParagDecorationWidget::clickedBorderPreview ( KoBorder border,
KoBorder::BorderType  position,
KPushButton *  corresponding 
) [private]

Update a border that has been clicked in the border preview.

If there is no border already at the clicked position, then create a border at that position using the selected width,color and style.

If the clicked border is already on, and it is different to the selected width, color or style, then update it to match the current selection. If it's the same, then remove the border.

Used by slotPressEvent.

Paramètres:
border the border to be updated
position the position of the border to be updated
corresponding the toggle button corresponding to the border

Définition à la ligne 1314 du fichier KoParagDia.cpp.

Références borderChanged(), KoBorderPreview::setBorder(), updateBorder(), et wPreview.

Référencé par slotPressEvent().

Voici le graphe d'appel pour cette fonction :

void KoParagDecorationWidget::updateBorder ( KoBorder border  )  [private]

Set a given border according to the values selected in the GUI.

Définition à la ligne 1307 du fichier KoParagDia.cpp.

Références KoBorder::color, curBorderColor(), curBorderStyle(), curBorderWidth(), KoBorder::setPenWidth(), et KoBorder::setStyle().

Référencé par clickedBorderPreview().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

bool KoParagDecorationWidget::borderChanged ( const KoBorder border  )  [private]

Check whether a border is the same as that selected in the GUI.

Définition à la ligne 1300 du fichier KoParagDia.cpp.

Références KoBorder::color, curBorderColor(), curBorderStyle(), curBorderWidth(), KoBorder::getStyle(), et KoBorder::penWidth().

Référencé par clickedBorderPreview().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :


Documentation des données membres

KoBorderPreview* KoParagDecorationWidget::wPreview [private]

Définition à la ligne 229 du fichier KoParagDia.h.

Référencé par brdBottomToggled(), brdLeftToggled(), brdRightToggled(), brdTopToggled(), clickedBorderPreview(), KoParagDecorationWidget(), slotPressEvent(), et updateBorders().

KoParagDecorationTab* KoParagDecorationWidget::wDeco [private]

Widget defined in .ui file.

Définition à la ligne 231 du fichier KoParagDia.h.

Référencé par backgroundColor(), curBorderColor(), curBorderStyle(), curBorderWidth(), display(), KoParagDecorationWidget(), save(), slotPressEvent(), et updateBorders().

KoBorder KoParagDecorationWidget::m_leftBorder [private]

Définition à la ligne 240 du fichier KoParagDia.h.

Référencé par brdLeftToggled(), display(), save(), slotPressEvent(), et updateBorders().

KoBorder KoParagDecorationWidget::m_rightBorder [private]

Définition à la ligne 240 du fichier KoParagDia.h.

Référencé par brdRightToggled(), display(), save(), slotPressEvent(), et updateBorders().

KoBorder KoParagDecorationWidget::m_topBorder [private]

Définition à la ligne 240 du fichier KoParagDia.h.

Référencé par brdTopToggled(), display(), save(), slotPressEvent(), et updateBorders().

KoBorder KoParagDecorationWidget::m_bottomBorder [private]

Définition à la ligne 240 du fichier KoParagDia.h.

Référencé par brdBottomToggled(), display(), save(), slotPressEvent(), et updateBorders().

bool KoParagDecorationWidget::m_joinBorder [private]

Définition à la ligne 241 du fichier KoParagDia.h.

Référencé par brdJoinToggled(), display(), save(), et updateBorders().


La documentation de cette classe a été générée à partir des fichiers suivants :
Généré le Wed Nov 22 23:47:13 2006 pour KPlato par  doxygen 1.5.1-p1