}
-void QtView::redraw()
-{
- // FIXME: does this make any sense for us ?
- repaint();
-}
-
-
-void QtView::setPosition(unsigned int x, unsigned int y)
+void QtView::show(int x, int y, string const & title)
{
move(x, y);
-}
-
-
-void QtView::show(int, int, string const & title)
-{
setCaption(title.c_str());
QMainWindow::show();
}
~QtView();
- /// set the x,y of the top level window
- virtual void setPosition(unsigned int, unsigned int);
-
/**
* show - display the top-level window
- * @param place general placement (FIXME: GUII)
- * @param border border border type (FIXME: GUII)
+ * @param x x position
+ * @param y y position
* @param title window title
*/
- virtual void show(int, int, string const & t = string("LyX"));
+ void show(int x, int y, string const & t = string("LyX"));
/// start modal operation
virtual void prohibitInput() const;
/// end modal operation
virtual void allowInput() const;
- /// redraw the main form.
- void redraw();
-
public slots:
/// menu item has been selected
void activated(int id);