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

#include <instanceselectionmode.hpp>

Inheritance diagram for CSVRender::InstanceSelectionMode:
Collaboration diagram for CSVRender::InstanceSelectionMode:

Public Member Functions

 InstanceSelectionMode (CSVWidget::SceneToolbar *parent, WorldspaceWidget &worldspaceWidget)
 
- Public Member Functions inherited from CSVRender::SelectionMode
 SelectionMode (CSVWidget::SceneToolbar *parent, WorldspaceWidget &worldspaceWidget, unsigned int interactionMask)
 
- Public Member Functions inherited from CSVWidget::SceneToolMode
 SceneToolMode (SceneToolbar *parent, const QString &toolTip)
 
virtual void showPanel (const QPoint &position)
 
void addButton (const std::string &icon, const std::string &id, const QString &tooltip="")
 
void addButton (ModeButton *button, const std::string &id)
 The ownership of button is transferred to *this. More...
 
ModeButtongetCurrent ()
 Will return a 0-pointer only if the mode does not have any buttons yet. More...
 
std::string getCurrentId () const
 Must not be called if there aren't any buttons yet. More...
 
void setButton (const std::string &id)
 Manually change the current mode. More...
 
- Public Member Functions inherited from CSVWidget::SceneTool
 SceneTool (SceneToolbar *parent, Type type=Type_TopMode)
 
virtual void activate ()
 
- 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
 

Protected Member Functions

bool createContextMenu (QMenu *menu)
 
- Protected Member Functions inherited from CSVRender::SelectionMode
WorldspaceWidgetgetWorldspaceWidget ()
 
- Protected Member Functions inherited from CSVWidget::SceneToolMode
bool event (QEvent *event)
 
- Protected Member Functions inherited from CSVWidget::SceneTool
void mouseReleaseEvent (QMouseEvent *event)
 
- Protected Member Functions inherited from CSVWidget::PushButton
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void keyReleaseEvent (QKeyEvent *event)
 

Private Slots

void deleteSelection ()
 
void selectSame ()
 

Private Attributes

QActionmDeleteSelection
 
QActionmSelectSame
 

Additional Inherited Members

- Public Types inherited from CSVWidget::PushButton
enum  Type { Type_TopMode, Type_TopAction, Type_Mode, Type_Toggle }
 
- Signals inherited from CSVWidget::SceneToolMode
void modeChanged (const std::string &id)
 
- Protected Slots inherited from CSVRender::SelectionMode
virtual void selectAll ()
 
virtual void clearSelection ()
 
virtual void invertSelection ()
 

Constructor & Destructor Documentation

CSVRender::InstanceSelectionMode::InstanceSelectionMode ( CSVWidget::SceneToolbar parent,
WorldspaceWidget worldspaceWidget 
)

Here is the call graph for this function:

Member Function Documentation

bool CSVRender::InstanceSelectionMode::createContextMenu ( QMenu menu)
protectedvirtual

Add context menu items to menu.

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 CSVRender::SelectionMode.

Here is the call graph for this function:

void CSVRender::InstanceSelectionMode::deleteSelection ( )
privateslot

Here is the call graph for this function:

Here is the caller graph for this function:

void CSVRender::InstanceSelectionMode::selectSame ( )
privateslot

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

QAction* CSVRender::InstanceSelectionMode::mDeleteSelection
private
QAction* CSVRender::InstanceSelectionMode::mSelectSame
private

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