Class QGLMap

Inheritance Relationships

Base Type

  • public QGLWidget

Class Documentation

class QGLMap : public QGLWidget

Public Functions

explicit QGLMap(QWidget *parent = 0)
~QGLMap() override = default
void Exit()
void UpdateView()
void SetTiles(TileSet *tiles)
inline tf2::Vector3 SceneCenter()
inline tf2::Vector3 ViewCenter()

Public Slots

void LoadTexture(Tile *tile)
void DeleteTexture(Tile *tile)
void ChangeCenter(double x, double y)
void SetTextureMemory(int64_t bytes)

Signals

void SignalZoomChange(double z)
void SignalViewChange(double x1, double y1, double x2, double y2)
void SignalMemorySize(int64_t bytes)

Protected Functions

void initializeGL() override
void resizeGL(int w, int h) override
void paintGL() override
void mousePressEvent(QMouseEvent *e) override
void mouseDoubleClickEvent(QMouseEvent *e) override
void mouseReleaseEvent(QMouseEvent *e) override
void mouseMoveEvent(QMouseEvent *e) override
void wheelEvent(QWheelEvent *e) override