00001 #ifndef HELPBROWSERDIALOG_H 00002 #define HELPBROWSERDIALOG_H 00003 00004 #include <QMainWindow> 00005 #include "ui_HelpBrowserDialog.h" 00006 00007 class QHelpContentModel; 00008 class QModelIndex; 00009 class HelpSortFilterProxyModel; 00010 class Help; 00011 class AboutData; 00012 00013 class HelpBrowserDialog : public QMainWindow, private Ui::HelpBrowserDialog 00014 { 00015 Q_OBJECT 00016 00017 public: 00018 HelpBrowserDialog(AboutData *data, QWidget *parent = 0); 00019 ~HelpBrowserDialog(); 00020 00021 private slots: 00022 void displayedFileChanged(QModelIndex index); 00023 void about(); 00024 void showOverview(); 00025 00026 private: 00027 Help *help; 00028 QHelpContentModel *helpContentModel; 00029 HelpSortFilterProxyModel *proxyModel; 00030 AboutData *data; 00031 00032 void intialize(); 00033 void createActions(); 00034 }; 00035 00036 #endif // MAINWINDOW_H