Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

helpbrowser.hpp

Go to the documentation of this file.
00001 /*
00002  Modular Psi - A graph tracker of the Parapsychologcal scientific development
00003  Copyright (C) 2005 Leonardo Stern
00004 
00005  This program is free software; you can redistribute it and/or modify it under
00006  the terms of the Common Public License Version 1.0 or (at your option) any later version.
00007 
00008  This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
00009  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00010  See the Common Public License for more details.
00011 
00012  You should have received a copy of the Common Public License along with this program;
00013 */
00014 
00015 #ifndef _HELPBROWSER_HPP_
00016 #define _HELPBROWSER_HPP_
00017 
00018 #include <qwidget.h>
00019 class QPushButton;
00020 class QTextBrowser;
00021 class HelpBrowser : public QWidget
00022 {
00023         Q_OBJECT
00024 public:
00025         HelpBrowser(const QString &path, const QString &page,
00026         QWidget *parent = 0, const char *name = 0);
00027         static void showPage(const QString &page);
00028 
00029 private slots:
00030         void updateCaption();
00031 
00032 private:
00033         QTextBrowser *textBrowser;
00034         QPushButton *homeButton;
00035         QPushButton *backButton;
00036         QPushButton *closeButton;
00037 };
00038 
00039 #endif //_HELPBROWSER_HPP_
Untitled Document Pesquisa Psi SourceForge.net Logo