#include <mlabWebGraphicsProxyWidget.h>
|
| QUrl | url () const |
| void | setUrl (const QUrl &url) |
| void | setHtml (const QString &htmlString, const QUrl &baseUrl=QUrl()) |
| void | setGeometry (const QRect &r) |
MLABWebGraphicsProxyWidget extends QGraphicsProxyWidget to allow setter methods for URL/HTML.
◆ setGeometry
| void MLABWebGraphicsProxyWidget::setGeometry |
( |
const QRect & | r | ) |
|
|
slot |
Convenience method to set the geometry by QRect.
◆ setHtml
| void MLABWebGraphicsProxyWidget::setHtml |
( |
const QString & | htmlString, |
|
|
const QUrl & | baseUrl = QUrl() ) |
|
slot |
Sets the HTML data from the given htmlString. If no baseUrl is given, the base URL is the of the MDL code that created this WebView.
◆ setUrl
| void MLABWebGraphicsProxyWidget::setUrl |
( |
const QUrl & | url | ) |
|
|
slot |
◆ url
| QUrl MLABWebGraphicsProxyWidget::url |
( |
| ) |
const |
|
slot |
Returns the URL that was set before.