Référence de la classe KoLineWidthAction

#include <Kolinewidthaction.h>

Graphe d'héritage de KoLineWidthAction:

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

Connecteurs publics

void setCurrentWidth (double width)
void setUnit (KoUnit::Unit unit)

Signaux

void lineWidthChanged (double)

Fonctions membres publiques

 KoLineWidthAction (const QString &text, const QString &icon, QObject *parent=0, const char *name=0)
 KoLineWidthAction (const QString &text, const QString &icon, const QObject *receiver, const char *slot, QObject *parent, const char *name=0)
 ~KoLineWidthAction ()
double currentWidth () const

Connecteurs protégés

void execute (int index)

Fonctions membres protégées

void createMenu ()

Attributs privés

KoLineWidthActionPrivated

Classes

class  KoLineWidthActionPrivate

Description détaillée

A line width selection action

Définition à la ligne 30 du fichier Kolinewidthaction.h.


Documentation des contructeurs et destructeur

KoLineWidthAction::KoLineWidthAction ( const QString &  text,
const QString &  icon,
QObject *  parent = 0,
const char *  name = 0 
)

Constructs a KoLineWidthAction with a text and an icon.

Paramètres:
text The text that will be displayed.
icon The dynamically loaded icon that goes with this action.
parent This action's parent.
name An internal name for this action.

Définition à la ligne 60 du fichier Kolinewidthaction.cpp.

Références createMenu(), et d.

Voici le graphe d'appel pour cette fonction :

KoLineWidthAction::KoLineWidthAction ( const QString &  text,
const QString &  icon,
const QObject *  receiver,
const char *  slot,
QObject *  parent,
const char *  name = 0 
)

Same as above, but it also connects a slot to the selectionChanged(int) signal.

Paramètres:
text The text that will be displayed.
icon The dynamically loaded icon that goes with this action.
receiver The SLOT's parent.
slot The SLOT to invoke when a lineWidthChanged(double) signal is emitted.
parent This action's parent.
name An internal name for this action.

Définition à la ligne 68 du fichier Kolinewidthaction.cpp.

Références createMenu(), d, et lineWidthChanged().

Voici le graphe d'appel pour cette fonction :

KoLineWidthAction::~KoLineWidthAction (  ) 

Définition à la ligne 78 du fichier Kolinewidthaction.cpp.

Références d.


Documentation des fonctions membres

double KoLineWidthAction::currentWidth (  )  const

Returns the currently selected line width

Définition à la ligne 130 du fichier Kolinewidthaction.cpp.

Références d, et KoLineWidthAction::KoLineWidthActionPrivate::m_currentWidth.

void KoLineWidthAction::lineWidthChanged ( double   )  [signal]

Emitted when a new line width has been selected

Référencé par execute(), et KoLineWidthAction().

void KoLineWidthAction::setCurrentWidth ( double  width  )  [slot]

Set the current width.

Paramètres:
width The new width.

Définition à la ligne 135 du fichier Kolinewidthaction.cpp.

Références d, KoLineWidthAction::KoLineWidthActionPrivate::m_currentWidth, KoSelectAction::setCurrentSelection(), et KoUnit::toPoint().

void KoLineWidthAction::setUnit ( KoUnit::Unit  unit  )  [slot]

Set which unit to use in the custom width dialog.

Paramètres:
unit The unit to use.

Définition à la ligne 151 du fichier Kolinewidthaction.cpp.

Références d, et KoLineWidthAction::KoLineWidthActionPrivate::m_unit.

void KoLineWidthAction::execute ( int  index  )  [protected, virtual, slot]

Reimplemented from KoSelectAction. Emits lineWidthChanged(double) when a new width is selected.

Paramètres:
index Index of the selected item

Réimplémentée à partir de KoSelectAction.

Définition à la ligne 106 du fichier Kolinewidthaction.cpp.

Références d, lineWidthChanged(), KoLineWidthAction::KoLineWidthActionPrivate::m_currentWidth, KoLineWidthAction::KoLineWidthActionPrivate::m_unit, et KoSelectAction::setCurrentSelection().

void KoLineWidthAction::createMenu (  )  [protected]

Draws and adds each item of the menu.

Définition à la ligne 83 du fichier Kolinewidthaction.cpp.

Références KoGlobal::dpiY(), POINT_TO_INCH, KoSelectAction::popup(), et KoSelectAction::popupMenu().

Référencé par KoLineWidthAction().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :


Documentation des données membres

KoLineWidthActionPrivate* KoLineWidthAction::d [private]

Réimplémentée à partir de KoSelectAction.

Définition à la ligne 82 du fichier Kolinewidthaction.h.

Référencé par currentWidth(), execute(), KoLineWidthAction(), setCurrentWidth(), setUnit(), et ~KoLineWidthAction().


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