mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-16 21:10:26 +00:00
c293be56bd
In particular, the directory frontends/qt4 is renamed to frontends/qt. Many configurations file have to be updated. All mentions of qt4 in the source have been audited, and changed to qt if necessary. The only part that has not been updated is the CMake build system.
53 lines
1.1 KiB
C++
53 lines
1.1 KiB
C++
// -*- C++ -*-
|
|
/**
|
|
* \file GuiInfo.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Abdelrazak Younes
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef GUI_INFO_H
|
|
#define GUI_INFO_H
|
|
|
|
#include "InsetParamsWidget.h"
|
|
#include "insets/InsetInfo.h"
|
|
#include "ui_InfoUi.h"
|
|
|
|
namespace lyx {
|
|
|
|
class Inset;
|
|
|
|
namespace frontend {
|
|
|
|
class GuiInfo : public InsetParamsWidget, public Ui::InfoUi
|
|
{
|
|
Q_OBJECT
|
|
|
|
protected Q_SLOTS:
|
|
void updateArguments(int i);
|
|
|
|
public:
|
|
GuiInfo(QWidget * parent = 0);
|
|
|
|
private:
|
|
/// \name InsetParamsWidget inherited methods
|
|
//@{
|
|
InsetCode insetCode() const { return INFO_CODE; }
|
|
FuncCode creationCode() const { return LFUN_INFO_INSERT; }
|
|
QString dialogTitle() const { return qt_("Field Settings"); }
|
|
void paramsToDialog(Inset const *);
|
|
docstring dialogToParams() const;
|
|
bool initialiseParams(std::string const &);
|
|
bool checkWidgets(bool readonly) const;
|
|
//@}
|
|
InsetInfoParams params_;
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // GUI_INFO_H
|