Mapper  0.9.0
API documentation
Public Member Functions | Public Attributes | List of all members
TestMapEditor Struct Reference

Creates a test map editor and provides related pointers. More...

Collaboration diagram for TestMapEditor:
Collaboration graph
[legend]

Public Member Functions

 TestMapEditor (Map *map)
 
 TestMapEditor (const TestMapEditor &)=delete
 
TestMapEditoroperator= (const TestMapEditor &)=delete
 
 ~TestMapEditor ()
 
void simulateClick (const QPoint &pos)
 
void simulateClick (const QPointF &pos)
 
void simulateDrag (const QPoint &start_pos, const QPoint &end_pos)
 
void simulateDrag (const QPointF &start_pos, const QPointF &end_pos)
 

Public Attributes

MainWindowwindow
 
MapEditorControllereditor
 
MapWidgetmap_widget
 

Detailed Description

Creates a test map editor and provides related pointers.

Constructor & Destructor Documentation

◆ TestMapEditor() [1/2]

TestMapEditor::TestMapEditor ( Map map)

◆ TestMapEditor() [2/2]

TestMapEditor::TestMapEditor ( const TestMapEditor )
delete

◆ ~TestMapEditor()

TestMapEditor::~TestMapEditor ( )

Member Function Documentation

◆ operator=()

TestMapEditor& TestMapEditor::operator= ( const TestMapEditor )
delete

◆ simulateClick() [1/2]

void TestMapEditor::simulateClick ( const QPoint pos)

◆ simulateClick() [2/2]

void TestMapEditor::simulateClick ( const QPointF pos)

◆ simulateDrag() [1/2]

void TestMapEditor::simulateDrag ( const QPoint start_pos,
const QPoint end_pos 
)

◆ simulateDrag() [2/2]

void TestMapEditor::simulateDrag ( const QPointF start_pos,
const QPointF end_pos 
)

Member Data Documentation

◆ editor

MapEditorController* TestMapEditor::editor

◆ map_widget

MapWidget* TestMapEditor::map_widget

◆ window

MainWindow* TestMapEditor::window

The documentation for this struct was generated from the following file: