mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-17 13:26:58 +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.
51 lines
1.0 KiB
C++
51 lines
1.0 KiB
C++
// -*- C++ -*-
|
|
/**
|
|
* \file GuiVSpace.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author André Pönitz
|
|
* \author Angus Leeming
|
|
* \author Jürgen Spitzmüller
|
|
* \author Edwin Leuven
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef GUIVSPACE_H
|
|
#define GUIVSPACE_H
|
|
|
|
#include "InsetParamsWidget.h"
|
|
#include "ui_VSpaceUi.h"
|
|
|
|
namespace lyx {
|
|
namespace frontend {
|
|
|
|
class GuiVSpace : public InsetParamsWidget, public Ui::VSpaceUi
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
GuiVSpace(QWidget * parent = 0);
|
|
|
|
private Q_SLOTS:
|
|
///
|
|
void enableCustom(int);
|
|
|
|
private:
|
|
/// \name InsetParamsWidget inherited methods
|
|
//@{
|
|
InsetCode insetCode() const { return VSPACE_CODE; }
|
|
FuncCode creationCode() const { return LFUN_INSET_INSERT; }
|
|
QString dialogTitle() const { return qt_("Vertical Space Settings"); }
|
|
void paramsToDialog(Inset const *);
|
|
docstring dialogToParams() const;
|
|
bool checkWidgets(bool readonly) const;
|
|
//@}
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // GUIVSPACE_H
|