bookView = view;
bookView->setParent(this);
-#ifndef Q_OS_SYMBIAN
centralWidget()->layout()->addWidget(bookView);
-#endif
// bookView->show();
progress = prog;
}
// bookView->hide();
-#ifndef Q_OS_SYMBIAN
centralWidget()->layout()->removeWidget(bookView);
-#endif
bookView = 0;
progress = 0;
nextButton = 0;
// Re-parent children
fullScreenWindow->leaveBookView();
takeBookView(view, prog, prev, next);
- fullScreenWindow->hide();
-#ifdef Q_OS_SYMBIAN
- view->setFixedSize(Platform::availableSize().width(),
- Platform::availableSize().height() - Platform::softKeyHeight());
-#endif
+ fullScreenWindow->hide();
show();
}
// Re-parent children
leaveBookView();
fullScreenWindow->takeBookView(view, prog, prev, next);
- hide();
-#ifdef Q_OS_SYMBIAN
- view->setFixedSize(Platform::size());
-#endif
+ hide();
fullScreenWindow->showFullScreen();
}
toolBar = new QToolBar("", this);\r
toolBar->setFixedHeight(Platform::softKeyHeight());\r
toolBar->show();\r
- // QMainWindow::addToolBar(Qt::NoToolBarArea, toolBar);\r
+ QMainWindow::addToolBar(Qt::BottomToolBarArea, toolBar);\r
#else\r
toolBar = QMainWindow::addToolBar("");\r
#endif\r
#endif\r
}\r
\r
-#ifdef Q_OS_SYMBIAN\r
+#if 0 // ifdef Q_OS_SYMBIAN\r
\r
void MainBase::resizeEvent(QResizeEvent *e)\r
{\r
/** Return the height of the tool bar (or 0 if there is no tool bar). */\r
int toolBarHeight();\r
\r
-#ifdef Q_OS_SYMBIAN\r
+#if 0 // ifdef Q_OS_SYMBIAN\r
/** Handle resize. */\r
void resizeEvent(QResizeEvent *e);\r
#endif\r
\r
private:\r
- QToolBar *toolBar; /**< Tool bar. */\r
+ QToolBar *toolBar;\r
};\r
\r
#endif // MAINBASE_H\r