lyx_mirror/src/frontends/qt4/GuiPrintindex.h
Jürgen Spitzmüller d12426a340 New inset dialog for InsetPrintIndex (only used with multiple indices)..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29290 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 14:29:32 +00:00

59 lines
1.1 KiB
C++

// -*- C++ -*-
/**
* \file GuiPrintindex.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 GUIPRINTINDEX_H
#define GUIPRINTINDEX_H
#include "GuiDialog.h"
#include "ui_PrintindexUi.h"
#include "insets/InsetCommandParams.h"
namespace lyx {
namespace frontend {
class GuiPrintindex : public GuiDialog, public Ui::PrintindexUi
{
Q_OBJECT
public:
GuiPrintindex(GuiView & lv);
private Q_SLOTS:
void change_adaptor();
private:
/// Apply changes
void applyView();
/// Update dialog before showing it
void updateContents();
///
void paramsToDialog(InsetCommandParams const & icp);
///
bool initialiseParams(std::string const & data);
/// clean-up on hide.
void clearParams() { params_.clear(); }
///
void dispatchParams();
///
bool isBufferDependent() const { return true; }
///
InsetCommandParams params_;
};
} // namespace frontend
} // namespace lyx
#endif // GUIPRINTINDEX_H