welcomeview.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 WELCOMEVIEW_H
00022 #define WELCOMEVIEW_H
00023 
00024 #include <QGridLayout>
00025 #include <QLabel>
00026 #include "src/gui/view/abstractcontentview.h"
00027 
00028 
00037 class WelcomeView : public AbstractContentView
00038 {
00039     Q_OBJECT
00040 
00041     public:
00046         WelcomeView();
00047 
00052         ~WelcomeView();
00053 
00054         bool hasChanged();
00055         AbstractContentChange* getChange();
00056 
00061         void setVisible(bool visible);
00062 
00063     private slots:
00064         void selectNode(const QString &link);
00065 
00066     private:
00067         QGridLayout *layout;
00068         QLabel  *icon,
00069                 *welcome,
00070                 *header,
00071                 *modifiedCap,
00072                 *modifiedVal;
00073 
00074         void createRecentModifiedList();
00075 };
00076 
00077 #endif // WELCOMEVIEW_H
00078 
Generated on Fri May 14 19:12:50 2010 for Silence by  doxygen 1.6.3