Gui::UndoAction Class Reference

The UndoAction class reimplements a special behaviour to make a menu appearing when the button with the arrow is clicked. More...

#include <Action.h>

Inheritance diagram for Gui::UndoAction:
Gui::Action

List of all members.

Public Member Functions

void addTo (QWidget *w)
 Adds this action to widget w.
void setEnabled (bool)
 Sets whether the action is enabled.
void setVisible (bool)
 UndoAction (Command *pcCmd, QObject *parent=0)
 ~UndoAction ()

Detailed Description

The UndoAction class reimplements a special behaviour to make a menu appearing when the button with the arrow is clicked.

Author:
Werner Mayer

Definition at line 205 of file Action.h.


Constructor & Destructor Documentation

UndoAction::UndoAction ( Command pcCmd,
QObject *  parent = 0 
)

Definition at line 711 of file Action.cpp.

References draftlibs::fcgeo::connect(), and Gui::Action::onActivated().

UndoAction::~UndoAction (  ) 

Definition at line 719 of file Action.cpp.


Member Function Documentation

void UndoAction::addTo ( QWidget *  w  )  [virtual]

Adds this action to widget w.

Reimplemented from Gui::Action.

Definition at line 726 of file Action.cpp.

References Gui::Action::_action.

void UndoAction::setEnabled ( bool  b  )  [virtual]

Sets whether the action is enabled.

Reimplemented from Gui::Action.

Definition at line 744 of file Action.cpp.

void UndoAction::setVisible ( bool  b  )  [virtual]

Reimplemented from Gui::Action.

Definition at line 750 of file Action.cpp.


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:04 2011 for FreeCAD by  doxygen 1.6.1