mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-19 12:20:27 +00:00
40d9c6ec48
Fixes: #10329
46 lines
981 B
C++
46 lines
981 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; }
|
|
QString dialogTitle() const { return qt_("Branch Settings"); }
|
|
void paramsToDialog(Inset const *);
|
|
docstring dialogToParams() const;
|
|
bool checkWidgets(bool readonly) const;
|
|
//@}
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // GUIBRANCH_H
|