diff options
| author | Jonathan Bauer | 2011-03-09 20:04:43 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2011-03-09 20:04:43 +0100 |
| commit | 67670d83dc73cbc0db4e95dcfc7ff6e9d9a5983f (patch) | |
| tree | 58f39305a86d0d2d17adba5f7fd6dd57f96a8bdf /src/fbgui.cpp | |
| parent | misc (diff) | |
| download | fbgui-67670d83dc73cbc0db4e95dcfc7ff6e9d9a5983f.tar.gz fbgui-67670d83dc73cbc0db4e95dcfc7ff6e9d9a5983f.tar.xz fbgui-67670d83dc73cbc0db4e95dcfc7ff6e9d9a5983f.zip | |
javascriptInterface can be accessed by "fbgui" now (jsObject also for now..)
Diffstat (limited to 'src/fbgui.cpp')
| -rw-r--r-- | src/fbgui.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/fbgui.cpp b/src/fbgui.cpp index dbee71f..5209ad1 100644 --- a/src/fbgui.cpp +++ b/src/fbgui.cpp @@ -37,16 +37,21 @@ fbgui::fbgui() QObject::connect(jsi, SIGNAL(requestFile(QString&)), dm, SLOT(downloadFile(QString&))); QObject::connect(dm, SIGNAL(updateProgress(int)), jsi, SLOT(updateProgressBar(int))); - setWindowFlags(Qt::SplashScreen); + //setWindowFlags(Qt::Window); showFullScreen(); + qDebug() << "Width: " << width() << " // Height: " << height(); + QSize size(800, 600); + resize(size); setCentralWidget(webView); show(); + } //------------------------------------------------------------------------------------------- void fbgui::checkHost() const { QHostInfo hostInfo = QHostInfo::fromName(baseURL.host()); if (hostInfo.error() != QHostInfo::NoError){ - if (debug) qDebug() << "Lookup of " << baseURL.host() << "failed." << "Exiting..."; + qDebug() << "Lookup of " << baseURL.host() << "failed." << "Exiting..."; exit(EXIT_FAILURE); } } +void fbgui::anim() {} |
