|
|
@ -97,11 +97,11 @@ WBBrowserWindow::WBBrowserWindow(QWidget *parent, Ui::MainWindow* uniboardMainWi |
|
|
|
defaultSettings->setAttribute(QWebSettings::PluginsEnabled, true); |
|
|
|
defaultSettings->setAttribute(QWebSettings::PluginsEnabled, true); |
|
|
|
|
|
|
|
|
|
|
|
setupMenu(); |
|
|
|
setupMenu(); |
|
|
|
// if(!isViewerWebInstance)
|
|
|
|
if(!isViewerWebInstance) |
|
|
|
setupToolBar(); |
|
|
|
setupToolBar(); |
|
|
|
// else{
|
|
|
|
else{ |
|
|
|
// setupToolBarForTutorial();
|
|
|
|
setupToolBarForTutorial(); |
|
|
|
// }
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
QVBoxLayout *layout = new QVBoxLayout; |
|
|
|
QVBoxLayout *layout = new QVBoxLayout; |
|
|
|
layout->setSpacing(0); |
|
|
|
layout->setSpacing(0); |
|
|
@ -205,8 +205,6 @@ void WBBrowserWindow::setupToolBar() |
|
|
|
connect(mSearchToolBar, SIGNAL(search(const QUrl&)), SLOT(loadUrl(const QUrl&))); |
|
|
|
connect(mSearchToolBar, SIGNAL(search(const QUrl&)), SLOT(loadUrl(const QUrl&))); |
|
|
|
|
|
|
|
|
|
|
|
mChaseWidget = new WBChaseWidget(this); |
|
|
|
mChaseWidget = new WBChaseWidget(this); |
|
|
|
mWebToolBar->insertWidget(mUniboardMainWindow->actionWebBigger, mChaseWidget); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mWebToolBar->insertSeparator(mUniboardMainWindow->actionWebBigger); |
|
|
|
mWebToolBar->insertSeparator(mUniboardMainWindow->actionWebBigger); |
|
|
|
|
|
|
|
|
|
|
|
connect(mUniboardMainWindow->actionHome, SIGNAL(triggered()), this , SLOT(slotHome())); |
|
|
|
connect(mUniboardMainWindow->actionHome, SIGNAL(triggered()), this , SLOT(slotHome())); |
|
|
|