#include <MainWindowBase.h>
Inherits Command.
Inheritance diagram for MainWindowBase::RemovePaneCommand:


Definition at line 319 of file MainWindowBase.h.
Public Member Functions | |
| RemovePaneCommand (MainWindowBase *mw, Pane *pane) | |
| virtual | ~RemovePaneCommand () |
| virtual void | execute () |
| virtual void | unexecute () |
| virtual QString | getName () const |
Protected Attributes | |
| MainWindowBase * | m_mw |
| Pane * | m_pane |
| Pane * | m_prevCurrentPane |
| bool | m_added |
| MainWindowBase::RemovePaneCommand::RemovePaneCommand | ( | MainWindowBase * | mw, | |
| Pane * | pane | |||
| ) |
Definition at line 1808 of file MainWindowBase.cpp.
| MainWindowBase::RemovePaneCommand::~RemovePaneCommand | ( | ) | [virtual] |
Definition at line 1815 of file MainWindowBase.cpp.
References PaneStack::deletePane(), m_added, m_mw, m_pane, and MainWindowBase::m_paneStack.
| void MainWindowBase::RemovePaneCommand::execute | ( | ) | [virtual] |
Implements Command.
Definition at line 1829 of file MainWindowBase.cpp.
References PaneStack::getCurrentPane(), PaneStack::hidePane(), m_added, m_mw, m_pane, MainWindowBase::m_paneStack, and m_prevCurrentPane.
| void MainWindowBase::RemovePaneCommand::unexecute | ( | ) | [virtual] |
Implements Command.
Definition at line 1837 of file MainWindowBase.cpp.
References m_added, m_mw, m_pane, MainWindowBase::m_paneStack, m_prevCurrentPane, PaneStack::setCurrentPane(), and PaneStack::showPane().
| QString MainWindowBase::RemovePaneCommand::getName | ( | ) | const [virtual] |
MainWindowBase* MainWindowBase::RemovePaneCommand::m_mw [protected] |
Definition at line 330 of file MainWindowBase.h.
Referenced by execute(), unexecute(), and ~RemovePaneCommand().
Pane* MainWindowBase::RemovePaneCommand::m_pane [protected] |
Definition at line 331 of file MainWindowBase.h.
Referenced by execute(), unexecute(), and ~RemovePaneCommand().
Pane* MainWindowBase::RemovePaneCommand::m_prevCurrentPane [protected] |
bool MainWindowBase::RemovePaneCommand::m_added [protected] |
Definition at line 333 of file MainWindowBase.h.
Referenced by execute(), unexecute(), and ~RemovePaneCommand().
1.5.1