2006-03-05 17:24:44 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
2007-08-31 05:53:55 +00:00
|
|
|
* \file GuiBibitem.h
|
2006-03-05 17:24:44 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
2007-10-07 10:31:37 +00:00
|
|
|
* \author Angus Leeming
|
2006-03-05 17:24:44 +00:00
|
|
|
* \author John Levon
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
2007-08-31 22:16:11 +00:00
|
|
|
#ifndef GUIBIBITEM_H
|
|
|
|
#define GUIBIBITEM_H
|
2006-03-05 17:24:44 +00:00
|
|
|
|
2010-02-23 21:24:24 +00:00
|
|
|
#include "InsetParamsWidget.h"
|
2007-08-11 15:48:15 +00:00
|
|
|
#include "ui_BibitemUi.h"
|
2007-04-25 08:42:22 +00:00
|
|
|
|
2007-10-07 10:31:37 +00:00
|
|
|
|
2006-03-05 17:24:44 +00:00
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
|
|
|
|
2010-02-23 21:24:24 +00:00
|
|
|
class GuiBibitem : public InsetParamsWidget, public Ui::BibitemUi
|
2007-09-05 20:33:29 +00:00
|
|
|
{
|
2007-04-25 08:42:22 +00:00
|
|
|
Q_OBJECT
|
|
|
|
|
2007-09-05 20:33:29 +00:00
|
|
|
public:
|
2008-04-20 08:19:26 +00:00
|
|
|
/// Constructor
|
2010-02-23 21:24:24 +00:00
|
|
|
GuiBibitem(QWidget * parent = 0);
|
2008-04-20 08:19:26 +00:00
|
|
|
|
|
|
|
private:
|
2010-02-23 21:24:24 +00:00
|
|
|
/// \name DialogView inherited methods
|
|
|
|
//@{
|
|
|
|
InsetCode insetCode() const { return BIBITEM_CODE; }
|
|
|
|
FuncCode creationCode() const { return LFUN_INSET_INSERT; }
|
|
|
|
void paramsToDialog(Inset const *);
|
|
|
|
docstring dialogToParams() const;
|
|
|
|
bool checkWidgets() const;
|
|
|
|
//@}
|
2006-03-05 17:24:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|
|
|
|
|
2007-08-31 22:16:11 +00:00
|
|
|
#endif // GUIBIBITEM_H
|