Commit 236ada28 authored by Sylvain Thery's avatar Sylvain Thery
Browse files

SCHNApps windows ...

parent 1011a584
......@@ -74,12 +74,12 @@ private:
virtual void draw(View *view) {}
virtual void drawMap(View* view, MapHandlerGen* map);
virtual void keyPress(View* view, QKeyEvent* event) {}
virtual void keyRelease(View* view, QKeyEvent* event) {}
virtual void mousePress(View* view, QMouseEvent* event) {}
virtual void mouseRelease(View* view, QMouseEvent* event) {}
virtual void mouseMove(View* view, QMouseEvent* event) {}
virtual void wheelEvent(View* view, QWheelEvent* event) {}
virtual void keyPress(View* , QKeyEvent* ) {}
virtual void keyRelease(View* , QKeyEvent* ) {}
virtual void mousePress(View* , QMouseEvent* ) {}
virtual void mouseRelease(View* , QMouseEvent* ) {}
virtual void mouseMove(View* , QMouseEvent* ) {}
virtual void wheelEvent(View* , QWheelEvent* ) {}
virtual void viewLinked(View *view) {}
virtual void viewUnlinked(View *view) {}
......
......@@ -57,12 +57,12 @@ public:
virtual void draw(View *view) {}
virtual void drawMap(View* view, MapHandlerGen* map);
virtual void keyPress(View* view, QKeyEvent* event) {}
virtual void keyRelease(View* view, QKeyEvent* event) {}
virtual void mousePress(View* view, QMouseEvent* event) {}
virtual void mouseRelease(View* view, QMouseEvent* event) {}
virtual void mouseMove(View* view, QMouseEvent* event) {}
virtual void wheelEvent(View* view, QWheelEvent* event) {}
virtual void keyPress(View* , QKeyEvent* ) {}
virtual void keyRelease(View* , QKeyEvent* ) {}
virtual void mousePress(View* , QMouseEvent* ) {}
virtual void mouseRelease(View* , QMouseEvent* ) {}
virtual void mouseMove(View* , QMouseEvent* ) {}
virtual void wheelEvent(View* , QWheelEvent* ) {}
virtual void viewLinked(View *view) {}
virtual void viewUnlinked(View *view) {}
......
......@@ -71,12 +71,12 @@ public:
virtual void draw(View *view) {}
virtual void drawMap(View* view, MapHandlerGen* map);
virtual void keyPress(View* view, QKeyEvent* event) {}
virtual void keyRelease(View* view, QKeyEvent* event) {}
virtual void mousePress(View* view, QMouseEvent* event) {}
virtual void mouseRelease(View* view, QMouseEvent* event) {}
virtual void mouseMove(View* view, QMouseEvent* event) {}
virtual void wheelEvent(View* view, QWheelEvent* event) {}
virtual void keyPress(View* , QKeyEvent* ) {}
virtual void keyRelease(View* , QKeyEvent* ) {}
virtual void mousePress(View* , QMouseEvent* ) {}
virtual void mouseRelease(View* , QMouseEvent* ) {}
virtual void mouseMove(View* , QMouseEvent* ) {}
virtual void wheelEvent(View* , QWheelEvent* ) {}
virtual void viewLinked(View *view) {}
virtual void viewUnlinked(View *view) {}
......
......@@ -44,12 +44,12 @@ public:
virtual void draw(View *view) {}
virtual void drawMap(View* view, MapHandlerGen* map);
virtual void keyPress(View* view, QKeyEvent* event) {}
virtual void keyRelease(View* view, QKeyEvent* event) {}
virtual void mousePress(View* view, QMouseEvent* event) {}
virtual void mouseRelease(View* view, QMouseEvent* event) {}
virtual void mouseMove(View* view, QMouseEvent* event) {}
virtual void wheelEvent(View* view, QWheelEvent* event) {}
virtual void keyPress(View* , QKeyEvent* ) {}
virtual void keyRelease(View* , QKeyEvent* ) {}
virtual void mousePress(View* , QMouseEvent* ) {}
virtual void mouseRelease(View* , QMouseEvent* ) {}
virtual void mouseMove(View* , QMouseEvent* ) {}
virtual void wheelEvent(View* , QWheelEvent* ) {}
virtual void viewLinked(View *view) {}
virtual void viewUnlinked(View *view) {}
......
......@@ -53,7 +53,7 @@ public:
virtual void keyPress(View* view, QKeyEvent* event);
virtual void keyRelease(View* view, QKeyEvent* event);
virtual void mousePress(View* view, QMouseEvent* event);
virtual void mouseRelease(View* view, QMouseEvent* event) {}
virtual void mouseRelease(View* , QMouseEvent* ) {}
virtual void mouseMove(View* view, QMouseEvent* event);
virtual void wheelEvent(View* view, QWheelEvent* event);
......
......@@ -90,7 +90,7 @@ public:
inline const std::vector<CELL>& getSelectedCells() { return m_cells; }
inline unsigned int getNbSelectedCells() const { return m_cells.size(); }
inline unsigned int getNbSelectedCells() const { return (unsigned int)(m_cells.size()); }
inline void select(CELL c, bool emitSignal = true)
{
......
......@@ -661,17 +661,17 @@ void View::selectedMapChanged(MapHandlerGen* prev, MapHandlerGen* cur)
updateGL();
}
void View::ui_verticalSplitView(int x, int y, int globalX, int globalY)
void View::ui_verticalSplitView(int x, int y, int /*globalX*/, int /*globalY*/)
{
m_schnapps->splitView(m_name, Qt::Horizontal);
}
void View::ui_horizontalSplitView(int x, int y, int globalX, int globalY)
void View::ui_horizontalSplitView(int x, int y, int /*globalX*/, int /*globalY*/)
{
m_schnapps->splitView(m_name, Qt::Vertical);
}
void View::ui_closeView(int x, int y, int globalX, int globalY)
void View::ui_closeView(int x, int y, int /*globalX*/, int /*globalY*/)
{
m_schnapps->removeView(m_name);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment