#include <View.h>
|
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
} |
|
◆ LayoutArea
Enumerator |
---|
TopLeftArea | |
MiddleLeftArea | |
BottomLeftArea | |
TopCenterArea | |
CenterArea | |
BottomCenterArea | |
TopRightArea | |
MiddleRightArea | |
BottomRightArea | |
NumLayoutAreas | |
LEFT | |
LEFT_TOP | |
LEFT_BOTTOM | |
CENTER | |
RIGHT | |
BOTTOM | |
◆ View()
◆ ~View()
◆ bringToFront()
void View::bringToFront |
( |
| ) |
|
◆ defaultLayoutArea()
◆ enableFontSizeZoomKeys()
void View::enableFontSizeZoomKeys |
( |
bool |
on | ) |
|
◆ hasFocus()
bool View::hasFocus |
( |
| ) |
const |
◆ indicatorOnInfoBar()
QWidget * View::indicatorOnInfoBar |
( |
| ) |
|
|
virtual |
◆ isActive()
bool View::isActive |
( |
| ) |
const |
◆ keyPressEvent()
void View::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
protectedvirtual |
◆ lastFocusView()
View * View::lastFocusView |
( |
| ) |
|
|
static |
◆ name()
const std::string & View::name |
( |
| ) |
const |
◆ onActivated()
void View::onActivated |
( |
| ) |
|
|
protectedvirtual |
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 in cnoid::PythonConsoleView, cnoid::MprProgramViewBase, cnoid::CoordinateFrameListView, cnoid::LocationView, cnoid::DigitalIoDeviceView, cnoid::JointDisplacementView, cnoid::LinkPositionView, cnoid::MprStatementViewBase, cnoid::LinkDeviceListView, cnoid::UnifiedEditHistoryView, cnoid::GSMediaView, and cnoid::DSMediaView.
◆ onAttachedMenuRequest()
void View::onAttachedMenuRequest |
( |
MenuManager & |
menuManager | ) |
|
|
protectedvirtual |
◆ onDeactivated()
void View::onDeactivated |
( |
| ) |
|
|
protectedvirtual |
Reimplemented in cnoid::ImageView, cnoid::MprProgramViewBase, cnoid::CoordinateFrameListView, cnoid::LocationView, cnoid::DigitalIoDeviceView, cnoid::JointDisplacementView, cnoid::LinkPositionView, cnoid::MprStatementViewBase, cnoid::LinkDeviceListView, cnoid::UnifiedEditHistoryView, cnoid::GSMediaView, and cnoid::DSMediaView.
◆ onFocusChanged()
void View::onFocusChanged |
( |
bool |
on | ) |
|
|
protectedvirtual |
◆ resetTitleFormat()
void View::resetTitleFormat |
( |
| ) |
|
◆ resizeEvent()
void View::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protectedvirtual |
◆ restoreState()
bool View::restoreState |
( |
const Archive & |
archive | ) |
|
|
virtual |
Reimplemented in cnoid::ItemTreeView, cnoid::MprProgramViewBase, cnoid::SceneView, cnoid::ImageView, cnoid::BodyLinkView, cnoid::MprPositionListView, cnoid::CoordinateFrameListView, cnoid::LocationView, cnoid::BodyStateView, cnoid::LinkPositionView, cnoid::DigitalIoDeviceView, cnoid::MprStatementViewBase, cnoid::MprVariableListView, cnoid::LinkDeviceListView, cnoid::TextEditView, cnoid::IoConnectionView, cnoid::TaskView, cnoid::GeneralSliderView, cnoid::LinkGraphView, cnoid::VirtualJoystickView, cnoid::JointGraphView, cnoid::GraphViewBase, cnoid::MultiSE3SeqGraphView, cnoid::GSMediaView, cnoid::JointStateView, and cnoid::DSMediaView.
◆ setDefaultLayoutArea()
void View::setDefaultLayoutArea |
( |
LayoutArea |
area | ) |
|
◆ setLayout() [1/2]
void View::setLayout |
( |
QLayout * |
layout, |
|
|
double |
leftMarginRatio, |
|
|
double |
topMarginRatio, |
|
|
double |
rightMarginRatio, |
|
|
double |
bottomMarginRatio |
|
) |
| |
◆ setLayout() [2/2]
void View::setLayout |
( |
QLayout * |
layout, |
|
|
double |
marginRatio = 0.0 |
|
) |
| |
◆ setLayoutContentsMarginRatio()
void View::setLayoutContentsMarginRatio |
( |
QLayout * |
layout, |
|
|
double |
leftMarginRatio, |
|
|
double |
topMarginRatio, |
|
|
double |
rightMarginRatio, |
|
|
double |
bottomMarginRatio |
|
) |
| |
|
protected |
◆ setName()
void View::setName |
( |
const std::string & |
name | ) |
|
|
virtual |
◆ setTitleFormat()
void View::setTitleFormat |
( |
const std::string & |
title | ) |
|
◆ sigActivated()
◆ sigDeactivated()
◆ sigRemoved()
◆ sigResized()
◆ storeState()
bool View::storeState |
( |
Archive & |
archive | ) |
|
|
virtual |
Reimplemented in cnoid::ItemTreeView, cnoid::MprProgramViewBase, cnoid::SceneView, cnoid::ImageView, cnoid::BodyLinkView, cnoid::MprPositionListView, cnoid::CoordinateFrameListView, cnoid::LocationView, cnoid::BodyStateView, cnoid::LinkPositionView, cnoid::DigitalIoDeviceView, cnoid::MprStatementViewBase, cnoid::MprVariableListView, cnoid::LinkDeviceListView, cnoid::TextEditView, cnoid::IoConnectionView, cnoid::TaskView, cnoid::GeneralSliderView, cnoid::LinkGraphView, cnoid::VirtualJoystickView, cnoid::JointGraphView, cnoid::GraphViewBase, cnoid::MultiSE3SeqGraphView, cnoid::GSMediaView, cnoid::JointStateView, and cnoid::DSMediaView.
◆ titleFormat()
const std::string & View::titleFormat |
( |
| ) |
const |
◆ viewArea()
◆ viewAreaPos()
QPoint View::viewAreaPos |
( |
| ) |
const |
◆ viewClass()
◆ zoomFontSize()
void View::zoomFontSize |
( |
int |
zoom | ) |
|
|
protected |
◆ ViewArea
◆ ViewManager
The documentation for this class was generated from the following files: