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

#include <previewwidget.hpp>

Inheritance diagram for CSVRender::PreviewWidget:
Collaboration diagram for CSVRender::PreviewWidget:

Signals

void closeRequest ()
 
void referenceableIdChanged (const std::string &id)
 
- Signals inherited from CSVRender::SceneWidget
void focusToolbarRequest ()
 

Public Member Functions

 PreviewWidget (CSMWorld::Data &data, const std::string &id, bool referenceable, QWidget *parent=0)
 
- Public Member Functions inherited from CSVRender::SceneWidget
 SceneWidget (std::shared_ptr< Resource::ResourceSystem > resourceSystem, QWidget *parent=0, Qt::WindowFlags f=0, bool retrieveInput=true)
 
virtual ~SceneWidget ()
 
CSVWidget::SceneToolModemakeLightingSelector (CSVWidget::SceneToolbar *parent)
 
void setDefaultAmbient (const osg::Vec4f &colour)
 
- Public Member Functions inherited from CSVRender::RenderWidget
 RenderWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~RenderWidget ()
 
void flagAsModified ()
 Initiates a request to redraw the view. More...
 
void setVisibilityMask (int mask)
 
osg::Camera * getCamera ()
 

Private Slots

void referenceableDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight)
 
void referenceableAboutToBeRemoved (const QModelIndex &parent, int start, int end)
 
void referenceDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight)
 
void referenceAboutToBeRemoved (const QModelIndex &parent, int start, int end)
 
void assetTablesChanged ()
 

Private Attributes

CSMWorld::DatamData
 
CSVRender::Object mObject
 

Additional Inherited Members

- Public Slots inherited from CSVRender::SceneWidget
void update (double dt)
 
- Protected Slots inherited from CSVRender::SceneWidget
virtual void settingChanged (const CSMPrefs::Setting *setting)
 
void selectNavigationMode (const std::string &mode)
 
- Protected Slots inherited from CSVRender::RenderWidget
void toggleRenderStats ()
 
- Protected Member Functions inherited from CSVRender::SceneWidget
void setLighting (Lighting *lighting)
 
void setAmbient (const osg::Vec4f &ambient)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void wheelEvent (QWheelEvent *event)
 
- Protected Member Functions inherited from CSVRender::RenderWidget
void updateCameraParameters (double overrideAspect=-1.0)
 
- Protected Attributes inherited from CSVRender::SceneWidget
std::shared_ptr
< Resource::ResourceSystem
mResourceSystem
 
LightingmLighting
 
osg::Vec4f mDefaultAmbient
 
bool mHasDefaultAmbient
 
LightingDay mLightingDay
 
LightingNight mLightingNight
 
LightingBright mLightingBright
 
int mPrevMouseX
 
int mPrevMouseY
 
bool mCamPositionSet
 Tells update that camera isn't set. More...
 
FreeCameraControllermFreeCamControl
 
OrbitCameraControllermOrbitCamControl
 
CameraControllermCurrentCamControl
 
- Protected Attributes inherited from CSVRender::RenderWidget
osg::ref_ptr< osgViewer::View > mView
 
osg::ref_ptr< osg::Group > mRootNode
 
QTimer mTimer
 

Constructor & Destructor Documentation

CSVRender::PreviewWidget::PreviewWidget ( CSMWorld::Data data,
const std::string &  id,
bool  referenceable,
QWidget parent = 0 
)

Here is the call graph for this function:

Member Function Documentation

void CSVRender::PreviewWidget::assetTablesChanged ( )
privateslot

Here is the caller graph for this function:

void CSVRender::PreviewWidget::closeRequest ( )
signal
void CSVRender::PreviewWidget::referenceableAboutToBeRemoved ( const QModelIndex &  parent,
int  start,
int  end 
)
privateslot

Here is the call graph for this function:

Here is the caller graph for this function:

void CSVRender::PreviewWidget::referenceableDataChanged ( const QModelIndex &  topLeft,
const QModelIndex &  bottomRight 
)
privateslot

Here is the call graph for this function:

Here is the caller graph for this function:

void CSVRender::PreviewWidget::referenceableIdChanged ( const std::string &  id)
signal
void CSVRender::PreviewWidget::referenceAboutToBeRemoved ( const QModelIndex &  parent,
int  start,
int  end 
)
privateslot

Here is the call graph for this function:

Here is the caller graph for this function:

void CSVRender::PreviewWidget::referenceDataChanged ( const QModelIndex &  topLeft,
const QModelIndex &  bottomRight 
)
privateslot

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

CSMWorld::Data& CSVRender::PreviewWidget::mData
private
CSVRender::Object CSVRender::PreviewWidget::mObject
private

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