mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-21 05:00:59 +00:00
5d235f5251
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33525 a592a061-630c-0410-9148-cb99ea01b6c8
53 lines
1019 B
C++
53 lines
1019 B
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();
|
|
|
|
private:
|
|
/// \name InsetParamsWidget inherited methods
|
|
//@{
|
|
InsetCode insetCode() const { return SPACE_CODE; }
|
|
FuncCode creationCode() const { return LFUN_INSET_INSERT; }
|
|
void paramsToDialog(Inset const *);
|
|
docstring dialogToParams() const;
|
|
bool checkWidgets() const;
|
|
//@}
|
|
///
|
|
docstring dialogToMathParams() const;
|
|
///
|
|
bool const math_mode_;
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // GUIHSPACE_H
|