Home | History | Annotate | Download | only in QtTestBrowser

Lines Matching refs:enable

265     QAction* toggleLocalStorage = toolsMenu->addAction("Enable Local Storage", this, SLOT(toggleLocalStorage(bool)));
269 QAction* toggleOfflineStorageDatabase = toolsMenu->addAction("Enable Offline Storage Database", this, SLOT(toggleOfflineStorageDatabase(bool)));
273 QAction* toggleOfflineWebApplicationCache = toolsMenu->addAction("Enable Offline Web Application Cache", this, SLOT(toggleOfflineWebApplicationCache(bool)));
401 QAction* toggleInterruptingJavaScripteEnabled = settingsMenu->addAction("Enable interrupting js scripts", this, SLOT(toggleInterruptingJavaScriptEnabled(bool)));
405 QAction* toggleJavascriptCanOpenWindows = settingsMenu->addAction("Enable js popup windows", this, SLOT(toggleJavascriptCanOpenWindows(bool)));
774 void LauncherWindow::toggleFullScreenMode(bool enable)
777 if (enable ^ alreadyEnabled)
787 void LauncherWindow::toggleInterruptingJavaScriptEnabled(bool enable)
789 page()->setInterruptingJavaScriptEnabled(enable);
792 void LauncherWindow::toggleJavascriptCanOpenWindows(bool enable)
794 page()->settings()->setAttribute(QWebSettings::JavascriptCanOpenWindows, enable);
797 void LauncherWindow::toggleAutoLoadImages(bool enable)
799 page()->settings()->setAttribute(QWebSettings::AutoLoadImages, !enable);
802 void LauncherWindow::togglePlugins(bool enable)
804 page()->settings()->setAttribute(QWebSettings::PluginsEnabled, !enable);
808 void LauncherWindow::toggleQGLWidgetViewport(bool enable)
813 m_windowOptions.useQGLWidgetViewport = enable;
816 view->setViewport(enable ? new QGLWidget() : 0);
831 void LauncherWindow::showFPS(bool enable)
836 m_windowOptions.showFrameRate = enable;
838 view->setFrameRateMeasurementEnabled(enable);
840 if (!enable) {