hvw59601
1st November 2007, 12:54
Hi,
I have a MainWindow with drop down menus:
...
redrawAct = new QAction(tr("&Redraw"), this);
connect(redrawAct, SIGNAL(triggered()), this, SLOT(redraw()));
redrawMenu = menuBar()->addMenu(tr("&Redraw"));
redrawMenu->addAction(redrawAct);
...
When I select that "redraw" menu the painting starts to a Pixmap and so is not visible, but the disappeared redraw menu leaves a hole in the window, until the pixmap is painted.
Is that hole avoidable?
This is a picture:
http://www.esnips.com/doc/d24bf3f2-1a4c-4c94-be34-05f31a463af3/ret
I have a MainWindow with drop down menus:
...
redrawAct = new QAction(tr("&Redraw"), this);
connect(redrawAct, SIGNAL(triggered()), this, SLOT(redraw()));
redrawMenu = menuBar()->addMenu(tr("&Redraw"));
redrawMenu->addAction(redrawAct);
...
When I select that "redraw" menu the painting starts to a Pixmap and so is not visible, but the disappeared redraw menu leaves a hole in the window, until the pixmap is painted.
Is that hole avoidable?
This is a picture:
http://www.esnips.com/doc/d24bf3f2-1a4c-4c94-be34-05f31a463af3/ret