viewmenu.h

00001 /*
00002  * Silence
00003  *
00004  * Copyright (C) 2009 Manuel Unglaub
00005  *
00006  * This file is part of Silence.
00007  *
00008  * Silence is free software: you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation, version GPLv2 only of the License.
00011  *
00012  * Silence is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016 
00017  * You should have received a copy of the GNU General Public License
00018  * along with Silence.  If not, see <http://www.gnu.org/licenses/>.
00019  */
00020 
00021 #ifndef VIEWMENU_H
00022 #define VIEWMENU_H
00023 
00024 #include <QMenu>
00025 
00034 class ViewMenu : public QMenu
00035 {
00036     Q_OBJECT
00037 
00038     public:
00044         ViewMenu(QWidget *parent = 0);
00045 
00050         ~ViewMenu();
00051 
00052     private slots:
00053         void showWelcomeView();
00054         void showLabelManagementDialog();
00055         void showNodeTree(bool visible);
00056         void showInfo(bool visible);
00057         void showNavigation(bool visible);
00058         void showProperties(bool visible);
00059         void showNodeSearch(bool visible);
00060 
00061     private:
00062         QAction *welcomeViewAction,
00063                 *showNodeTreeAction,
00064                 *showNavigationAction,
00065                 *showInfoAction,
00066                 *showPropertiesAction,
00067                 *showNodeSearchAction,
00068                 *showLabelManagementAction;
00069 };
00070 
00071 #endif // VIEWMENU_H
00072 
00073 
00074 
Generated on Fri May 14 19:12:50 2010 for Silence by  doxygen 1.6.3