34 #include <SFML/Graphics/RenderWindow.hpp> 35 #include <SFML/Window/Event.hpp> 37 #include <QMouseEvent> 38 #include <QWheelEvent> 53 public sf::RenderWindow {
64 explicit QSFMLWidget(QWidget *parent,
const QPoint& Position,
const QSize& Size,
unsigned int FrameTime = 7);
144 sf::Clock frameClock;
145 std::vector<sf::Event> SfEvents;
151 void mousePressEvent(QMouseEvent *e);
152 void mouseReleaseEvent(QMouseEvent *e);
155 void wheelEvent(QWheelEvent *e);
158 void keyPressEvent(QKeyEvent *e);
159 void keyReleaseEvent(QKeyEvent *e);
162 void resizeEvent(QResizeEvent *event);
184 #endif // QSMLCANVAS_H
Namespace containing all qsf classes and methods.
Definition: Image.cpp:3