New xdxf dialog, one which provides methods to add new or change setting of existing...
[mdictionary] / src / mdictionary / gui / MenuWidget.cpp
index f2d894a..146b765 100644 (file)
@@ -64,9 +64,17 @@ QWidget* MenuWidget::createWidget(QWidget *) {
     its parent to NULL and prevent it from delete, so we can still use this
     widget*/
     return tabWidget;
+}
 
+QWidget* MenuWidget::applicationMenu() {
+    return tabWidget->parentWidget();
 }
 
 void MenuWidget::hideMenu() {
     tabWidget->parentWidget()->hide();
 }
+
+
+void MenuWidget::showMenu() {
+    tabWidget->parentWidget()->show();
+}