Refactored osgQt so that QWebViewImage is now entirely implementated in the header, and osgQt itself no longer compiles it,
leaving it to only applications that require it to include the header and it's implementation and with ith the QWebKit dependency.
This commit is contained in:
@@ -31,10 +31,11 @@ QWidgetImage::QWidgetImage( QWidget* widget )
|
||||
_adapter = new QGraphicsViewAdapter(this, _widget.data());
|
||||
}
|
||||
|
||||
void QWidgetImage::focusWidget(bool focus)
|
||||
bool QWidgetImage::sendFocusHint(bool focus)
|
||||
{
|
||||
QFocusEvent event(focus ? QEvent::FocusIn : QEvent::FocusOut, Qt::OtherFocusReason);
|
||||
QCoreApplication::sendEvent(_widget, &event);
|
||||
return true;
|
||||
}
|
||||
|
||||
void QWidgetImage::clearWriteBuffer()
|
||||
|
||||
Reference in New Issue
Block a user