HistoryPanel Class Reference

Class representing a panel for an undo/redo command history. More...

#include <HistoryPanel.h>

Inheritance diagram for HistoryPanel:

Inheritance graph
[legend]
Collaboration diagram for HistoryPanel:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 HistoryPanel (QWidget *parent=0, Qt::WindowFlags flags=0)
 Constructor of the HistoryPanel class.
virtual ~HistoryPanel ()
 Destructor of the HistoryPanel class.
virtual void fillToolBars (QToolBar *mainToolBar, QToolBar *panelToolBar)
 Fills the given tool bars with actions for the history panel.
void addItem (const QString &text)
 Adds the given text to the history list.


Detailed Description

Class representing a panel for an undo/redo command history.

Constructor & Destructor Documentation

HistoryPanel::HistoryPanel ( QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

Constructor of the HistoryPanel class.

Constructors and Destructors.

Parameters:
parent The parent widget the created instance will be a child of.
flags Extra widget options.
Constructor of the HistoryPanel class.

Parameters:
parent The parent widget the created instance will be a child of.
flags Extra widget options.

HistoryPanel::~HistoryPanel (  )  [virtual]

Destructor of the HistoryPanel class.

Defined virtual to guarantee that the destructor of a derived class will be called if the instance of the derived class is saved in a variable of its parent class type.


Member Function Documentation

void HistoryPanel::fillToolBars ( QToolBar *  mainToolBar,
QToolBar *  panelToolBar 
) [virtual]

Fills the given tool bars with actions for the history panel.

Public Functions.

Parameters:
mainToolBar The main tool bar to fill with actions.
panelToolBar The panel tool bar to fill with actions.
Fills the given tool bars with actions for the history panel.

Parameters:
mainToolBar The main tool bar to fill with actions.
panelToolBar The panel tool bar to fill with actions.

Reimplemented from Panel.

void HistoryPanel::addItem ( const QString &  text  ) 

Adds the given text to the history list.

Parameters:
text The text to add to the history list.


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

Generated on Wed Feb 24 15:01:00 2010 for Frapper by  doxygen 1.5.9