OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Slots | Private Attributes | List of all members
CSVRender::OrbitCameraMode Class Reference

#include <orbitcameramode.hpp>

Inheritance diagram for CSVRender::OrbitCameraMode:
Collaboration diagram for CSVRender::OrbitCameraMode:

Public Member Functions

 OrbitCameraMode (WorldspaceWidget *worldspaceWidget, const QIcon &icon, const QString &tooltip="", QWidget *parent=0)
 
 ~OrbitCameraMode ()
 
virtual void activate (CSVWidget::SceneToolbar *toolbar)
 Default-Implementation: do nothing. More...
 
virtual void deactivate (CSVWidget::SceneToolbar *toolbar)
 Default-Implementation: do nothing. More...
 
virtual bool createContextMenu (QMenu *menu)
 
- Public Member Functions inherited from CSVWidget::ModeButton
 ModeButton (const QIcon &icon, const QString &tooltip="", QWidget *parent=0)
 
- Public Member Functions inherited from CSVWidget::PushButton
 PushButton (const QIcon &icon, Type type, const QString &tooltip="", QWidget *parent=0)
 
 PushButton (Type type, const QString &tooltip="", QWidget *parent=0)
 
bool hasKeepOpen () const
 
QString getBaseToolTip () const
 Return tooltip used at construction (without any button-specific modifications) More...
 
Type getType () const
 

Private Slots

void centerSelection ()
 

Private Attributes

WorldspaceWidgetmWorldspaceWidget
 
QActionmCenterOnSelection
 
CSMPrefs::ShortcutmCenterShortcut
 

Additional Inherited Members

- Public Types inherited from CSVWidget::PushButton
enum  Type { Type_TopMode, Type_TopAction, Type_Mode, Type_Toggle }
 
- Protected Member Functions inherited from CSVWidget::PushButton
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void keyReleaseEvent (QKeyEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 

Constructor & Destructor Documentation

CSVRender::OrbitCameraMode::OrbitCameraMode ( WorldspaceWidget worldspaceWidget,
const QIcon &  icon,
const QString &  tooltip = "",
QWidget parent = 0 
)

Here is the call graph for this function:

CSVRender::OrbitCameraMode::~OrbitCameraMode ( )

Member Function Documentation

void CSVRender::OrbitCameraMode::activate ( CSVWidget::SceneToolbar toolbar)
virtual

Default-Implementation: do nothing.

Reimplemented from CSVWidget::ModeButton.

Here is the call graph for this function:

void CSVRender::OrbitCameraMode::centerSelection ( )
privateslot

Here is the call graph for this function:

Here is the caller graph for this function:

bool CSVRender::OrbitCameraMode::createContextMenu ( QMenu menu)
virtual

Add context menu items to menu. Default-implementation: return false

Attention
menu can be a 0-pointer
Returns
Have there been any menu items to be added (if menu is 0 and there items to be added, the function must return true anyway.

Reimplemented from CSVWidget::ModeButton.

void CSVRender::OrbitCameraMode::deactivate ( CSVWidget::SceneToolbar toolbar)
virtual

Default-Implementation: do nothing.

Reimplemented from CSVWidget::ModeButton.

Here is the call graph for this function:

Member Data Documentation

QAction* CSVRender::OrbitCameraMode::mCenterOnSelection
private
CSMPrefs::Shortcut* CSVRender::OrbitCameraMode::mCenterShortcut
private
WorldspaceWidget* CSVRender::OrbitCameraMode::mWorldspaceWidget
private

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