Main Page   Class Hierarchy   Compound List   File List   Compound Members  

helpwindow.h

00001 #ifndef _HELPWINDOW_H
00002 #define _HELPWINDOW_H
00003 
00004 #include <qmainwindow.h>
00005 #include <qtextbrowser.h>
00006 #include <qmap.h>
00007 
00008 class QComboBox;
00009 class QPopupMenu;
00010 
00011 class HelpWindow : public QMainWindow
00012 {
00013     Q_OBJECT
00014 public:
00015     HelpWindow(const QString& home_,const QString& path,QWidget* parent=0,const char *name=0);
00016     ~HelpWindow();
00017 
00018 private slots:
00019     void setBackwardAvailable(bool);
00020     void setForwardAvailable(bool);
00021 
00022     void textChanged();
00023     void openFile();
00024     void print();
00025 
00026     void pathSelected(const QString &);
00027     void histChosen(int);
00028     void bookmChosen(int);
00029     void addBookmark();
00030     
00031 private:
00032     void readHistory();
00033     void readBookmarks();
00034     
00035     QTextBrowser* browser;
00036     QComboBox *pathCombo;
00037     int backwardId, forwardId;
00038     QString selectedURL;
00039     QStringList history, bookmarks;
00040     QMap<int, QString> mHistory, mBookmarks;
00041     QPopupMenu *hist, *bookm;
00042     
00043 };
00044 
00045 #endif

Generated at Tue Mar 18 13:49:45 2003 for MIDO by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000