mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-16 07:55:41 +00:00
45 lines
917 B
C++
45 lines
917 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file GuiBranch.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Angus Leeming
|
|
* \author Martin Vermeer
|
|
* \author Jürgen Spitzmüller
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef GUIBRANCH_H
|
|
#define GUIBRANCH_H
|
|
|
|
#include "InsetParamsWidget.h"
|
|
#include "ui_BranchUi.h"
|
|
|
|
namespace lyx {
|
|
namespace frontend {
|
|
|
|
class GuiBranch : public InsetParamsWidget, public Ui::BranchUi
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
GuiBranch(QWidget * parent = 0);
|
|
|
|
private:
|
|
/// \name DialogView inherited methods
|
|
//@{
|
|
InsetCode insetCode() const { return BRANCH_CODE; }
|
|
FuncCode creationCode() const { return LFUN_BRANCH_INSERT; }
|
|
void paramsToDialog(Inset const *);
|
|
docstring dialogToParams() const;
|
|
bool checkWidgets(bool readonly) const;
|
|
//@}
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // GUIBRANCH_H
|