Juergen Spitzmueller 0570d16a3b Start using QDialogButtonGroup rather than manual OK etc. buttons
This assures the OK/Apply/Cancel/Restore buttons use the layout/style
of the OS (button order, icons).

The goal is to move all dialogs to this for 2.4.

See #11003
2018-07-08 16:35:38 +02:00

47 lines
744 B
C++

// -*- C++ -*-
/**
* \file GuiAbout.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Kalle Dalheimer
*
* Full author contact details are available in file CREDITS.
*/
#ifndef GUIABOUT_H
#define GUIABOUT_H
#include "DialogView.h"
namespace lyx {
namespace frontend {
class GuiAbout : public DialogView
{
Q_OBJECT
public:
// Constructor
GuiAbout(GuiView & lv);
private Q_SLOTS:
void on_buttonBox_rejected();
private:
/// Controller stuff
///@{
void updateView() {}
void dispatchParams() {}
bool isBufferDependent() const { return false; }
///@}
struct Private;
Private * const d;
};
} // namespace frontend
} // namespace lyx
#endif // GUIABOUT_H