#include <KoGuideLineDia.h>
Graphe de collaboration de KoGuideLineDia:
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 |
KoUnitDoubleSpinBox * | m_position |
Définition à la ligne 37 du fichier KoGuideLineDia.h.
KoGuideLineDia::KoGuideLineDia | ( | QWidget * | parent, | |
double | pos, | |||
double | minPos, | |||
double | maxPos, | |||
KoUnit::Unit | unit, | |||
const char * | name = 0L | |||
) |
Constructor.
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.
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 :
double KoGuideLineDia::pos | ( | ) | const |
the position
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
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().
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] |
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().