forked from supercollider/supercollider
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qt: Switch to QWebEngineView / QWebEnginePage.
The capabilities of QWebEngine* are significantly different than those of the previous QWebPage/QWebView, so the QWebView class was substantially refactored to reflect the new API's. Properties and signals exposed in sclang now follow their Qt counterparts more closely, to make maintainence and upgrades more straightforward in the future. Some calls, such as toHTML and toPlainText, have become asynchronous - these are implemented on the sclang side by passing a callback function as the first argument, which is converted to a QcCallback object and used to signal the language with the results. Though this is only used in webview's currently, it should be easily portable to other async callback cases in sclang if needed.
- Loading branch information
Showing
13 changed files
with
793 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,8 +31,6 @@ | |
|
||
namespace QtCollider { | ||
|
||
template <typename T> struct TypeCodec; | ||
|
||
struct MetaType | ||
{ | ||
public: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.