kivio
Kivio::MouseToolAction Class ReferenceList of all members.
Detailed Description
Definition at line 27 of file mousetoolaction.h.
|
Signals |
void | doubleClicked () |
Public Member Functions |
| MouseToolAction (const QString &text, const KShortcut &cut=KShortcut(), QObject *parent=0, const char *name=0) |
| MouseToolAction (const QString &text, const KShortcut &cut, const QObject *receiver, const char *slot, QObject *parent, const char *name=0) |
| MouseToolAction (const QString &text, const QIconSet &pix, const KShortcut &cut=KShortcut(), QObject *parent=0, const char *name=0) |
| MouseToolAction (const QString &text, const QString &pix, const KShortcut &cut=KShortcut(), QObject *parent=0, const char *name=0) |
| MouseToolAction (const QString &text, const QIconSet &pix, const KShortcut &cut, const QObject *receiver, const char *slot, QObject *parent, const char *name=0) |
| MouseToolAction (const QString &text, const QString &pix, const KShortcut &cut, const QObject *receiver, const char *slot, QObject *parent, const char *name=0) |
| MouseToolAction (QObject *parent=0, const char *name=0) |
| ~MouseToolAction () |
virtual int | plug (QWidget *widget, int index=-1) |
Constructor & Destructor Documentation
Kivio::MouseToolAction::MouseToolAction |
( |
const QString & |
text, |
|
|
const KShortcut & |
cut = KShortcut() , |
|
|
QObject * |
parent = 0 , |
|
|
const char * |
name = 0 |
|
) |
|
|
|
Constructs a mouse tool action with text and potential keyboard accelerator but nothing else.
Use this only if you really know what you are doing.
- Parameters:
-
| text | The text that will be displayed. |
| cut | The corresponding keyboard accelerator (shortcut). |
| parent | This action's parent. |
| name | An internal name for this action. |
Definition at line 27 of file mousetoolaction.cpp. |
Kivio::MouseToolAction::MouseToolAction |
( |
const QString & |
text, |
|
|
const KShortcut & |
cut, |
|
|
const QObject * |
receiver, |
|
|
const char * |
slot, |
|
|
QObject * |
parent, |
|
|
const char * |
name = 0 |
|
) |
|
|
|
- Parameters:
-
| text | The text that will be displayed. |
| cut | The corresponding keyboard accelerator (shortcut). |
| receiver | The SLOT's parent. |
| slot | The SLOT to invoke to execute this action. |
| parent | This action's parent. |
| name | An internal name for this action. |
Definition at line 33 of file mousetoolaction.cpp. |
Kivio::MouseToolAction::MouseToolAction |
( |
const QString & |
text, |
|
|
const QIconSet & |
pix, |
|
|
const KShortcut & |
cut = KShortcut() , |
|
|
QObject * |
parent = 0 , |
|
|
const char * |
name = 0 |
|
) |
|
|
|
- Parameters:
-
| text | The text that will be displayed. |
| pix | The icons that go with this action. |
| cut | The corresponding keyboard accelerator (shortcut). |
| parent | This action's parent. |
| name | An internal name for this action. |
Definition at line 40 of file mousetoolaction.cpp. |
Kivio::MouseToolAction::MouseToolAction |
( |
const QString & |
text, |
|
|
const QString & |
pix, |
|
|
const KShortcut & |
cut = KShortcut() , |
|
|
QObject * |
parent = 0 , |
|
|
const char * |
name = 0 |
|
) |
|
|
|
- Parameters:
-
| text | The text that will be displayed. |
| pix | The dynamically loaded icon that goes with this action. |
| cut | The corresponding keyboard accelerator (shortcut). |
| parent | This action's parent. |
| name | An internal name for this action. |
Definition at line 47 of file mousetoolaction.cpp. |
Kivio::MouseToolAction::MouseToolAction |
( |
const QString & |
text, |
|
|
const QIconSet & |
pix, |
|
|
const KShortcut & |
cut, |
|
|
const QObject * |
receiver, |
|
|
const char * |
slot, |
|
|
QObject * |
parent, |
|
|
const char * |
name = 0 |
|
) |
|
|
|
- Parameters:
-
| text | The text that will be displayed. |
| pix | The icons that go with this action. |
| cut | The corresponding keyboard accelerator (shortcut). |
| receiver | The SLOT's parent. |
| slot | The SLOT to invoke to execute this action. |
| parent | This action's parent. |
| name | An internal name for this action. |
Definition at line 54 of file mousetoolaction.cpp. |
Kivio::MouseToolAction::MouseToolAction |
( |
const QString & |
text, |
|
|
const QString & |
pix, |
|
|
const KShortcut & |
cut, |
|
|
const QObject * |
receiver, |
|
|
const char * |
slot, |
|
|
QObject * |
parent, |
|
|
const char * |
name = 0 |
|
) |
|
|
|
- Parameters:
-
| text | The text that will be displayed. |
| pix | The dynamically loaded icon that goes with this action. |
| cut | The corresponding keyboard accelerator (shortcut). |
| receiver | The SLOT's parent. |
| slot | The SLOT to invoke to execute this action. |
| parent | This action's parent. |
| name | An internal name for this action. |
Definition at line 62 of file mousetoolaction.cpp. |
Kivio::MouseToolAction::MouseToolAction |
( |
QObject * |
parent = 0 , |
|
|
const char * |
name = 0 |
|
) |
|
|
|
- Parameters:
-
| parent | This action's parent. |
| name | An internal name for this action. |
Definition at line 70 of file mousetoolaction.cpp. |
Member Function Documentation
int Kivio::MouseToolAction::plug |
( |
QWidget * |
widget, |
|
|
int |
index = -1 |
|
) |
[virtual] |
|
|
"Plug" or insert this action into a given widget.
This will typically be a menu or a toolbar. From this point on, you will never need to directly manipulate the item in the menu or toolbar. You do all enabling/disabling/manipulation directly with your MouseToolAction object.
- Parameters:
-
| widget | The GUI element to display this action. |
| index | The index of the item. |
Definition at line 79 of file mousetoolaction.cpp. |
The documentation for this class was generated from the following files:
|