Hi,
I actually try to repaint a widget with an other widget, but it seems that not work. So, perhaps I'm in a wrong way about how to use that.
The code is really simple
void
QpulsarPopupEditorContainer
::paintEvent(QPaintEvent *event
){
// m_waitEditor, QWidget that contain a QLabel with text
if(m_waitEditor)
{
QPainter *l_painter
= l_paintEngine
->painter
();
}
else
}
void
QpulsarPopupEditorContainer::paintEvent(QPaintEvent *event)
{
// m_waitEditor, QWidget that contain a QLabel with text
if(m_waitEditor)
{
QPaintEngine *l_paintEngine =m_waitEditor->paintEngine();
QPainter *l_painter = l_paintEngine->painter();
}
else
QWidget::paintEvent(event);
}
To copy to clipboard, switch view to plain text mode
Does anyone have a solution ?
Thanks in advance
Philippe
Bookmarks