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

helpwindow.h

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 #ifndef TGO4HELPWINDOW_H
00017 #define TGO4HELPWINDOW_H
00018 
00019 #include "qmainwindow.h"
00020 #include "qstringlist.h"
00021 #include "qmap.h"
00022 
00023 class QComboBox;
00024 class QPopupMenu;
00025 class QTextBrowser;
00026 
00027 class TGo4HelpWindow : public QMainWindow {
00028   Q_OBJECT
00029 
00030   public:
00031     TGo4HelpWindow( const QString& home_, QWidget* parent, const QString& subdir="");
00032     virtual ~TGo4HelpWindow();
00033 
00034   private slots:
00035 
00036     void setBackwardAvailable( bool );
00037     void setForwardAvailable( bool );
00038 
00039     void textChanged();
00040     void about();
00041     void aboutQt();
00042     void print();
00043 
00044     void pathSelected( const QString & );
00045     void histChosen( int );
00046     void bookmChosen( int );
00047     void addBookmark();
00048 
00049   private:
00050     void readBookmarks();
00051     void readHistory();
00052 
00053     QTextBrowser* browser;
00054     QComboBox *pathCombo;
00055     int backwardId, forwardId;
00056     QString selectedURL;
00057     QStringList history, bookmarks;
00058     QMap<int, QString> mHistory, mBookmarks;
00059     QPopupMenu *hist, *bookm;
00060     QString _path;
00061 };
00062 
00063 #endif
00064 
00065 
00066 
00067 
00068 
00069 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:20 2008 for Go4-v3.04-1 by  doxygen 1.4.2