Logo Search packages:      
Sourcecode: qsource-highlight version File versions  Download package

customhelpform.h

/*
 * Copyright (C) 2009  Lorenzo Bettini <http://www.lorenzobettini.it>
 * See COPYING file that comes with this distribution
 */


#ifndef CUSTOMHELPFORM_H
#define CUSTOMHELPFORM_H

#include <QWidget>

namespace Ui {
    class CustomHelpForm;
}

/**
  * A very basic help viewer to be used when qt assistant
  * executable cannot be found.
  */
00020 class CustomHelpForm : public QWidget {
    Q_OBJECT
public:
    CustomHelpForm(QWidget *parent = 0, Qt::WindowFlags f = 0);
    ~CustomHelpForm();

    /**
      * @path the path of the index.html help file
      * @return whether the help file can be open (already
      * shows a warning message).
      */
    bool setHtmlHelpFileDir(const QString &path);

protected:
    void changeEvent(QEvent *e);

private:
    Ui::CustomHelpForm *ui;
};

#endif // CUSTOMHELPFORM_H

Generated by  Doxygen 1.6.0   Back to index