#include "window.h" #include <QtGui> Window::Window() { m_WebView = new QWebView(); QVBoxLayout *layout = new QVBoxLayout; layout->addWidget(m_WebView); m_WebView->setUrl(QUrl("about:blank")); setLayout(layout); } void Window::setWindowFlags(Qt::WindowFlags flags) { QWidget::setWindowFlags(flags); }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 8115 | David George |
a bunch of changes to the GuiApi - probably bound to change, though, so use at your own risk! beginnings of migrating to an "all windows are created equal" model. (as opposed to a MainWindow) removing the unreliable Qt execution of the .js methods - please include in your HTML (<script type="text/javascript" src="qrc:/js/ClientKitMethods.js"></script>) |