* Full author contact details are available in file CREDITS.
*/
-#ifndef FORMABOUT_H
-#define FORMABOUT_H
+#ifndef GUIABOUT_H
+#define GUIABOUT_H
-#include "GuiDialogView.h"
-#include "ui_AboutUi.h"
-#include <QDialog>
+#include "DialogView.h"
namespace lyx {
namespace frontend {
-class ControlAboutlyx;
-
-class GuiAboutDialog : public QDialog, public Ui::AboutUi {
+class GuiAbout : public DialogView
+{
Q_OBJECT
+
public:
- GuiAboutDialog(QWidget * parent = 0)
- : QDialog(parent)
- {
- setupUi(this);
- connect(closePB, SIGNAL(clicked()), this, SLOT(reject()));
- }
-};
+ // Constructor
+ GuiAbout(GuiView & lv);
+private Q_SLOTS:
+ void on_closePB_clicked();
-class GuiAbout
- : public QController<ControlAboutlyx, GuiView<GuiAboutDialog> >
-{
-public:
- GuiAbout(Dialog &);
private:
- /// not needed
- virtual void apply() {}
- /// not needed
- virtual void update_contents() {}
- // build the dialog
- virtual void build_dialog();
+ /// Controller stuff
+ ///@{
+ void updateView() {}
+ void dispatchParams() {}
+ bool isBufferDependent() const { return false; }
+ ///@}
+
+ struct Private;
+ Private * const d;
};
} // namespace frontend
} // namespace lyx
-#endif // FORMABOUT_H
+#endif // GUIABOUT_H