Référence de la classe KoGuideLineDia

Class for setting a guide line position. Plus de détails...

#include <KoGuideLineDia.h>

Graphe de collaboration de KoGuideLineDia:

[légende]
Liste de tous les membres

Fonctions membres publiques

 KoGuideLineDia (QWidget *parent, double pos, double minPos, double maxPos, KoUnit::Unit unit, const char *name=0L)
 Constructor.
 KoGuideLineDia (QWidget *parent, KoPoint &pos, KoRect &rect, KoUnit::Unit unit, const char *name=0L)
 Constructor.
double pos () const
 the position
Qt::Orientation orientation () const
 the orientation

Connecteurs protégés

void slotOrientationChanged ()
void slotPositionChanged ()

Attributs protégés

KoRect m_rect
KoPoint m_pos
bool m_positionChanged
QRadioButton * m_hButton
QRadioButton * m_vButton
KoUnitDoubleSpinBoxm_position

Description détaillée

Class for setting a guide line position.

Définition à la ligne 37 du fichier KoGuideLineDia.h.


Documentation des contructeurs et destructeur

KoGuideLineDia::KoGuideLineDia ( QWidget *  parent,
double  pos,
double  minPos,
double  maxPos,
KoUnit::Unit  unit,
const char *  name = 0L 
)

Constructor.

Paramètres:
parent The parent widget
pos the actual position of the guide line
minPos the minimal position of the guide line
maxPos the maximal position of the guide line
unit The unit used in the document
name The name is send to the QObject constructor

Définition à la ligne 36 du fichier KoGuideLineDia.cpp.

Références m_position.

KoGuideLineDia::KoGuideLineDia ( QWidget *  parent,
KoPoint pos,
KoRect rect,
KoUnit::Unit  unit,
const char *  name = 0L 
)

Constructor.

This shows a dialog to add a guide line. As long the position is not changed and the orientation of the guide line is changed the value will be set to pos.x() or pos.y() according to the orientation.

Paramètres:
parent the parent widget
pos the actual position of cursor
rect the rect in where the guide can be placed
unit the unit used in the document
name the name is send to the QObject constructor

Définition à la ligne 55 du fichier KoGuideLineDia.cpp.

Références KoRect::left(), m_hButton, m_position, m_rect, m_vButton, pos(), KoRect::right(), slotOrientationChanged(), et slotPositionChanged().

Voici le graphe d'appel pour cette fonction :


Documentation des fonctions membres

double KoGuideLineDia::pos (  )  const

the position

Renvoie:
the value of the position input

Définition à la ligne 93 du fichier KoGuideLineDia.cpp.

Références m_position, et KoUnitDoubleSpinBox::value().

Référencé par KoGuideLineDia().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

Qt::Orientation KoGuideLineDia::orientation (  )  const

the orientation

Renvoie:
the orientation of the added guide line

Définition à la ligne 99 du fichier KoGuideLineDia.cpp.

Références m_vButton.

void KoGuideLineDia::slotOrientationChanged (  )  [protected, slot]

Définition à la ligne 110 du fichier KoGuideLineDia.cpp.

Références KoRect::bottom(), KoRect::left(), m_hButton, m_pos, m_position, m_positionChanged, m_rect, m_vButton, KoRect::right(), KoUnitDoubleSpinBox::setMaximum(), KoUnitDoubleSpinBox::setMinimum(), slotPositionChanged(), KoRect::top(), KoPoint::x(), et KoPoint::y().

Référencé par KoGuideLineDia().

void KoGuideLineDia::slotPositionChanged (  )  [protected, slot]

Définition à la ligne 139 du fichier KoGuideLineDia.cpp.

Références m_positionChanged.

Référencé par KoGuideLineDia(), et slotOrientationChanged().


Documentation des données membres

KoRect KoGuideLineDia::m_rect [protected]

Définition à la ligne 88 du fichier KoGuideLineDia.h.

Référencé par KoGuideLineDia(), et slotOrientationChanged().

KoPoint KoGuideLineDia::m_pos [protected]

Définition à la ligne 89 du fichier KoGuideLineDia.h.

Référencé par slotOrientationChanged().

bool KoGuideLineDia::m_positionChanged [protected]

Définition à la ligne 90 du fichier KoGuideLineDia.h.

Référencé par slotOrientationChanged(), et slotPositionChanged().

QRadioButton* KoGuideLineDia::m_hButton [protected]

Définition à la ligne 91 du fichier KoGuideLineDia.h.

Référencé par KoGuideLineDia(), et slotOrientationChanged().

QRadioButton* KoGuideLineDia::m_vButton [protected]

Définition à la ligne 92 du fichier KoGuideLineDia.h.

Référencé par KoGuideLineDia(), orientation(), et slotOrientationChanged().

KoUnitDoubleSpinBox* KoGuideLineDia::m_position [protected]

Définition à la ligne 93 du fichier KoGuideLineDia.h.

Référencé par KoGuideLineDia(), pos(), et slotOrientationChanged().


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