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.
52 lines
1.1 KiB
C++
52 lines
1.1 KiB
C++
// -*- C++ -*-
|
|
/**
|
|
* \file GuiHSpace.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Jürgen Spitzmüller
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef GUIHSPACE_H
|
|
#define GUIHSPACE_H
|
|
|
|
#include "InsetParamsWidget.h"
|
|
#include "ui_HSpaceUi.h"
|
|
|
|
namespace lyx {
|
|
namespace frontend {
|
|
|
|
class GuiHSpace : public InsetParamsWidget, public Ui::HSpaceUi
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
GuiHSpace(bool math_mode, QWidget * parent = 0);
|
|
|
|
private Q_SLOTS:
|
|
///
|
|
void changedSlot();
|
|
///
|
|
void enableWidgets() const;
|
|
|
|
private:
|
|
/// \name InsetParamsWidget inherited methods
|
|
//@{
|
|
InsetCode insetCode() const { return math_mode_ ? MATH_SPACE_CODE : SPACE_CODE; }
|
|
FuncCode creationCode() const { return LFUN_INSET_INSERT; }
|
|
QString dialogTitle() const { return qt_("Horizontal Space Settings"); }
|
|
void paramsToDialog(Inset const *);
|
|
docstring dialogToParams() const;
|
|
bool checkWidgets(bool readonly) const;
|
|
//@}
|
|
///
|
|
bool const math_mode_;
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // GUIHSPACE_H
|