2010-09-07 00:41:00 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file GuiLine.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
2010-09-17 01:32:23 +00:00
|
|
|
* \author Abdelrazak Younes
|
2010-09-07 00:41:00 +00:00
|
|
|
* \author Uwe Stöhr
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GUILINE_H
|
|
|
|
#define GUILINE_H
|
|
|
|
|
2010-09-07 14:13:28 +00:00
|
|
|
#include "InsetParamsWidget.h"
|
2010-09-07 00:41:00 +00:00
|
|
|
#include "ui_LineUi.h"
|
|
|
|
|
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
|
|
|
|
2010-09-07 14:13:28 +00:00
|
|
|
class GuiLine : public InsetParamsWidget, public Ui::LineUi
|
2010-09-07 00:41:00 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2010-09-07 14:13:28 +00:00
|
|
|
GuiLine(QWidget * parent = 0);
|
2010-09-07 00:41:00 +00:00
|
|
|
|
|
|
|
private:
|
2010-09-07 14:13:28 +00:00
|
|
|
/// \name InsetParamsWidget inherited methods
|
|
|
|
//@{
|
|
|
|
InsetCode insetCode() const { return LINE_CODE; }
|
|
|
|
FuncCode creationCode() const { return LFUN_INSET_INSERT; }
|
2016-08-26 09:35:12 +00:00
|
|
|
QString dialogTitle() const { return qt_("Line Settings"); }
|
2010-09-07 14:13:28 +00:00
|
|
|
void paramsToDialog(Inset const *);
|
|
|
|
docstring dialogToParams() const;
|
2015-04-02 14:32:04 +00:00
|
|
|
bool checkWidgets(bool readonly) const;
|
2010-09-07 14:13:28 +00:00
|
|
|
//@}
|
2010-09-07 00:41:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
|
|
#endif // GUILINE_H
|