OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Slots | List of all members
CSVWidget::SceneTool Class Referenceabstract

Tool base class. More...

#include <scenetool.hpp>

Inheritance diagram for CSVWidget::SceneTool:
Collaboration diagram for CSVWidget::SceneTool:

Public Member Functions

 SceneTool (SceneToolbar *parent, Type type=Type_TopMode)
 
virtual void showPanel (const QPoint &position)=0
 
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

void mouseReleaseEvent (QMouseEvent *event)
 
- Protected Member Functions inherited from CSVWidget::PushButton
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void keyReleaseEvent (QKeyEvent *event)
 

Private Slots

void openRequest ()
 

Additional Inherited Members

- Public Types inherited from CSVWidget::PushButton
enum  Type { Type_TopMode, Type_TopAction, Type_Mode, Type_Toggle }
 

Detailed Description

Tool base class.

Constructor & Destructor Documentation

CSVWidget::SceneTool::SceneTool ( SceneToolbar parent,
Type  type = Type_TopMode 
)

Here is the call graph for this function:

Member Function Documentation

void CSVWidget::SceneTool::activate ( )
virtual

This function will only called for buttons of type Type_TopAction. The default implementation is empty.

Reimplemented in CSVWidget::SceneToolRun.

void CSVWidget::SceneTool::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual

Reimplemented from CSVWidget::PushButton.

Here is the call graph for this function:

void CSVWidget::SceneTool::openRequest ( )
privateslot

Here is the caller graph for this function:

virtual void CSVWidget::SceneTool::showPanel ( const QPoint &  position)
pure virtual

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