#include <MprProgramViewBase.h>
|
enum | BodySyncMode { NoBodySync,
DirectBodySync,
TwoStageBodySync
} |
|
enum | LayoutArea {
TopLeftArea = 0,
MiddleLeftArea = 1,
BottomLeftArea = 2,
TopCenterArea = 3,
CenterArea = 4,
BottomCenterArea = 5,
TopRightArea = 6,
MiddleRightArea = 7,
BottomRightArea = 8,
NumLayoutAreas = 9,
LEFT = TopLeftArea,
LEFT_TOP = TopLeftArea,
LEFT_BOTTOM = BottomLeftArea,
CENTER = CenterArea,
RIGHT = TopRightArea,
BOTTOM = BottomCenterArea
} |
|
◆ BodySyncMode
Enumerator |
---|
NoBodySync | |
DirectBodySync | |
TwoStageBodySync | |
◆ InsertionType
Enumerator |
---|
BeforeTargetPosition | |
AfterTargetPosition | |
◆ MprProgramViewBase()
MprProgramViewBase::MprProgramViewBase |
( |
| ) |
|
◆ ~MprProgramViewBase()
MprProgramViewBase::~MprProgramViewBase |
( |
| ) |
|
|
virtual |
◆ addEditButton()
void MprProgramViewBase::addEditButton |
( |
ToolButton * |
button, |
|
|
int |
row |
|
) |
| |
|
protected |
◆ bodySyncMode()
◆ checkCurrentProgramItem()
bool MprProgramViewBase::checkCurrentProgramItem |
( |
| ) |
const |
◆ currentProgramItem()
◆ currentStatement()
◆ customizeContextMenu()
template<class StatementType >
◆ insertStatement()
◆ onActivated()
void MprProgramViewBase::onActivated |
( |
| ) |
|
|
overridevirtual |
Virtual function which is called when the view becomes visible on the main window.
- Note
- In the current implementation, this function may be continuously called two or three times when the perspective changes, and the number of calles does not necessarily corresponds to the number of 'onDeactivated()' calles.
Reimplemented from cnoid::View.
◆ onAttachedMenuRequest()
void MprProgramViewBase::onAttachedMenuRequest |
( |
MenuManager & |
menuManager | ) |
|
|
overrideprotectedvirtual |
◆ onCurrentProgramItemChanged()
virtual bool cnoid::MprProgramViewBase::onCurrentProgramItemChanged |
( |
MprProgramItemBase * |
item | ) |
|
|
protectedpure virtual |
◆ onCurrentStatementChanged()
void MprProgramViewBase::onCurrentStatementChanged |
( |
MprStatement * |
statement | ) |
|
|
protectedvirtual |
◆ onDeactivated()
void MprProgramViewBase::onDeactivated |
( |
| ) |
|
|
overridevirtual |
◆ onStatementActivated()
void MprProgramViewBase::onStatementActivated |
( |
MprStatement * |
statement | ) |
|
|
protectedvirtual |
◆ onStatementDoubleClicked()
void MprProgramViewBase::onStatementDoubleClicked |
( |
MprStatement * |
statement | ) |
|
|
protectedvirtual |
◆ registerStatementDelegate()
template<class StatementType >
void cnoid::MprProgramViewBase::registerStatementDelegate |
( |
StatementDelegate * |
delegate | ) |
|
|
inline |
◆ restoreState()
bool MprProgramViewBase::restoreState |
( |
const Archive & |
archive | ) |
|
|
overrideprotectedvirtual |
◆ selectedStatements()
const std::vector< MprStatementPtr > & MprProgramViewBase::selectedStatements |
( |
| ) |
|
◆ setBodySyncMode()
void MprProgramViewBase::setBodySyncMode |
( |
BodySyncMode |
mode | ) |
|
◆ sigCurrentStatementChanged()
◆ sigSelectedStatementsChanged()
◆ storeState()
bool MprProgramViewBase::storeState |
( |
Archive & |
archive | ) |
|
|
overrideprotectedvirtual |
◆ updateStatementTree()
void MprProgramViewBase::updateStatementTree |
( |
| ) |
|
The documentation for this class was generated from the following files: