Simulacrum  1.2
Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Simulacrum::SViewPortTool Class Reference

#include <viewPort.h>

Inheritance diagram for Simulacrum::SViewPortTool:
Inheritance graph
Collaboration diagram for Simulacrum::SViewPortTool:
Collaboration graph

Public Slots

virtual void selected (SViewPort &)
 
virtual void deSelected (SViewPort &)
 
virtual void leftClicked (SViewPort &, int x, int y)
 
virtual void doubleClicked (SViewPort &, int x, int y)
 
virtual void middleClicked (SViewPort &, int x, int y)
 
virtual void rightClicked (SViewPort &, int x, int y)
 
virtual void buttonReleased (SViewPort &, int x, int y)
 
virtual void dragged (SViewPort &, int x, int y)
 
virtual void wheelUp (SViewPort &, int x, int y)
 
virtual void wheelDown (SViewPort &, int x, int y)
 
virtual void keyPressed (SViewPort &, int key)
 
virtual void keyReleased (SViewPort &, int key)
 
virtual void viewportResized (SViewPort &)
 
virtual void viewportUpdated (SViewPort &)
 

Public Member Functions

 SViewPortTool (QObject *parent=nullptr)
 
virtual ~SViewPortTool ()
 
void connectViewPort (SViewPort &)
 
virtual bool oneShot ()
 
void setAdditionalWidgetF (std::function< void(QWidget *, QString)>)
 

Protected Member Functions

void AdditionalWidgetHide (QWidget *)
 

Protected Attributes

SCoordinate ReferencePoint
 
std::function< void(QWidget *, QString)> AdditionalWidget
 

Constructor & Destructor Documentation

◆ SViewPortTool()

SViewPortTool::SViewPortTool ( QObject *  parent = nullptr)

◆ ~SViewPortTool()

SViewPortTool::~SViewPortTool ( )
virtual

Member Function Documentation

◆ AdditionalWidgetHide()

void SViewPortTool::AdditionalWidgetHide ( QWidget *  actwidg)
protected

◆ buttonReleased

void SViewPortTool::buttonReleased ( SViewPort ,
int  x,
int  y 
)
virtualslot

◆ connectViewPort()

void SViewPortTool::connectViewPort ( SViewPort newvport)

◆ deSelected

void SViewPortTool::deSelected ( SViewPort )
virtualslot

◆ doubleClicked

void SViewPortTool::doubleClicked ( SViewPort ,
int  x,
int  y 
)
virtualslot

◆ dragged

void SViewPortTool::dragged ( SViewPort ,
int  x,
int  y 
)
virtualslot

◆ keyPressed

void SViewPortTool::keyPressed ( SViewPort ,
int  key 
)
virtualslot

◆ keyReleased

void SViewPortTool::keyReleased ( SViewPort ,
int  key 
)
virtualslot

◆ leftClicked

void SViewPortTool::leftClicked ( SViewPort ,
int  x,
int  y 
)
virtualslot

◆ middleClicked

void SViewPortTool::middleClicked ( SViewPort ,
int  x,
int  y 
)
virtualslot

◆ oneShot()

bool SViewPortTool::oneShot ( )
virtual

◆ rightClicked

void SViewPortTool::rightClicked ( SViewPort ,
int  x,
int  y 
)
virtualslot

Reimplemented in Simulacrum::SReinterpret.

◆ selected

void SViewPortTool::selected ( SViewPort )
virtualslot

◆ setAdditionalWidgetF()

void SViewPortTool::setAdditionalWidgetF ( std::function< void(QWidget *, QString)>  newadd)

◆ viewportResized

void SViewPortTool::viewportResized ( SViewPort )
virtualslot

◆ viewportUpdated

void SViewPortTool::viewportUpdated ( SViewPort )
virtualslot

◆ wheelDown

void SViewPortTool::wheelDown ( SViewPort ,
int  x,
int  y 
)
virtualslot

◆ wheelUp

void SViewPortTool::wheelUp ( SViewPort ,
int  x,
int  y 
)
virtualslot

Member Data Documentation

◆ AdditionalWidget

std::function<void(QWidget*,QString)> Simulacrum::SViewPortTool::AdditionalWidget
protected

◆ ReferencePoint

SCoordinate Simulacrum::SViewPortTool::ReferencePoint
protected

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