lyx_mirror/src/frontends/qt4/GuiBranch.h
Abdelrazak Younes 4db2685cbe Migrate Branch dialog to InsetParamsWidget
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33521 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-19 20:57:25 +00:00

44 lines
876 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;
//@}
};
} // namespace frontend
} // namespace lyx
#endif // GUIBRANCH_H