#ifndef __HELPWINDOW_H__ #define __HELPWINDOW_H__ #include #include #include #include #include class QComboBox; class QPopupMenu; class HelpWindow : public QMainWindow { Q_OBJECT public: HelpWindow( const QString& home_, const QString& path, QWidget* parent = 0, const char *name=0 ); ~HelpWindow(); private slots: void setBackwardAvailable( bool ); void setForwardAvailable( bool ); void sourceChanged( const QString& ); void print(); void pathSelected( const QString & ); void histChosen( int ); private: QTextBrowser* browser; QComboBox *pathCombo; int backwardId, forwardId; QStringList history; QMap mHistory; QPopupMenu *hist; }; #endif