mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-18 05:21:10 +02:00
Add WebWindow::raise
This commit is contained in:
parent
46f6c9f888
commit
8088b01356
2 changed files with 5 additions and 0 deletions
|
@ -104,6 +104,10 @@ void WebWindowClass::setURL(const QString& url) {
|
|||
_webView->setUrl(url);
|
||||
}
|
||||
|
||||
void WebWindowClass::raise() {
|
||||
QMetaObject::invokeMethod(_windowWidget, "raise", Qt::BlockingQueuedConnection);
|
||||
}
|
||||
|
||||
QScriptValue WebWindowClass::constructor(QScriptContext* context, QScriptEngine* engine) {
|
||||
WebWindowClass* retVal;
|
||||
QString file = context->argument(0).toString();
|
||||
|
|
|
@ -43,6 +43,7 @@ public:
|
|||
public slots:
|
||||
void setVisible(bool visible);
|
||||
void setURL(const QString& url);
|
||||
void raise();
|
||||
ScriptEventBridge* getEventBridge() const { return _eventBridge; }
|
||||
void addEventBridgeToWindowObject();
|
||||
|
||||
|
|
Loading…
Reference in a new issue