MainWindowBase::AddPaneCommand Class Reference

#include <MainWindowBase.h>

Inherits Command.

Inheritance diagram for MainWindowBase::AddPaneCommand:

Inheritance graph
[legend]
Collaboration diagram for MainWindowBase::AddPaneCommand:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 300 of file MainWindowBase.h.

Public Member Functions

 AddPaneCommand (MainWindowBase *mw)
virtual ~AddPaneCommand ()
virtual void execute ()
virtual void unexecute ()
virtual QString getName () const
PanegetPane ()

Protected Attributes

MainWindowBasem_mw
Panem_pane
Panem_prevCurrentPane
bool m_added


Constructor & Destructor Documentation

MainWindowBase::AddPaneCommand::AddPaneCommand ( MainWindowBase mw  ) 

Definition at line 1762 of file MainWindowBase.cpp.

MainWindowBase::AddPaneCommand::~AddPaneCommand (  )  [virtual]

Definition at line 1770 of file MainWindowBase.cpp.

References PaneStack::deletePane(), m_added, m_mw, m_pane, and MainWindowBase::m_paneStack.


Member Function Documentation

void MainWindowBase::AddPaneCommand::execute (  )  [virtual]

Implements Command.

Definition at line 1784 of file MainWindowBase.cpp.

References PaneStack::addPane(), MainWindowBase::contextHelpChanged(), PaneStack::getCurrentPane(), m_added, m_mw, m_pane, MainWindowBase::m_paneStack, m_prevCurrentPane, PaneStack::setCurrentPane(), and PaneStack::showPane().

void MainWindowBase::AddPaneCommand::unexecute (  )  [virtual]

Implements Command.

Definition at line 1801 of file MainWindowBase.cpp.

References PaneStack::hidePane(), m_added, m_mw, m_pane, MainWindowBase::m_paneStack, m_prevCurrentPane, and PaneStack::setCurrentPane().

QString MainWindowBase::AddPaneCommand::getName (  )  const [virtual]

Implements Command.

Definition at line 1778 of file MainWindowBase.cpp.

Pane* MainWindowBase::AddPaneCommand::getPane (  )  [inline]

Definition at line 310 of file MainWindowBase.h.

References m_pane.

Referenced by MainWindowBase::addPaneToStack(), and MainWindowBase::openAudio().


Member Data Documentation

MainWindowBase* MainWindowBase::AddPaneCommand::m_mw [protected]

Definition at line 313 of file MainWindowBase.h.

Referenced by execute(), unexecute(), and ~AddPaneCommand().

Pane* MainWindowBase::AddPaneCommand::m_pane [protected]

Definition at line 314 of file MainWindowBase.h.

Referenced by execute(), getPane(), unexecute(), and ~AddPaneCommand().

Pane* MainWindowBase::AddPaneCommand::m_prevCurrentPane [protected]

Definition at line 315 of file MainWindowBase.h.

Referenced by execute(), and unexecute().

bool MainWindowBase::AddPaneCommand::m_added [protected]

Definition at line 316 of file MainWindowBase.h.

Referenced by execute(), unexecute(), and ~AddPaneCommand().


The documentation for this class was generated from the following files:
Generated on Wed Feb 20 15:45:33 2008 for SonicVisualiser by  doxygen 1.5.1