Commit 60b3b83a authored by Sylvain Thery's avatar Sylvain Thery

overload setGeometry fonction for bug windows frame missing

parent 5febb75c
...@@ -200,6 +200,12 @@ public: ...@@ -200,6 +200,12 @@ public:
*/ */
void setFocal(float f) { m_glWidget->setFocal(f); } void setFocal(float f) { m_glWidget->setFocal(f); }
/**
* set geometry (override buggy Qt function)
*/
void setGeometry(int x, int y, int w, int h);
/** /**
* get the mouse position in GL widget * get the mouse position in GL widget
*/ */
......
...@@ -520,6 +520,12 @@ void SimpleQT::snapshot(const QString& filename) ...@@ -520,6 +520,12 @@ void SimpleQT::snapshot(const QString& filename)
im.save(filename); im.save(filename);
} }
void SimpleQT::setGeometry(int x, int y, int w, int h)
{
move(x,y);
resize(w,h);
}
} // namespace QT } // namespace QT
} // namespace Utils } // namespace Utils
......
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