mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 21:49:51 +00:00
44 lines
769 B
C
44 lines
769 B
C
|
// -*- C++ -*-
|
||
|
/**
|
||
|
* \file QIndexDialog.h
|
||
|
* This file is part of LyX, the document processor.
|
||
|
* Licence details can be found in the file COPYING.
|
||
|
*
|
||
|
* \author John Levon
|
||
|
*
|
||
|
* Full author contact details are available in file CREDITS.
|
||
|
*/
|
||
|
|
||
|
#ifndef QINDEXDIALOG_H
|
||
|
#define QINDEXDIALOG_H
|
||
|
|
||
|
#include "ui/QIndexUi.h"
|
||
|
|
||
|
#include <QDialog>
|
||
|
#include <QCloseEvent>
|
||
|
|
||
|
namespace lyx {
|
||
|
namespace frontend {
|
||
|
|
||
|
class QIndex;
|
||
|
|
||
|
class QIndexDialog : public QDialog, public Ui::QIndexUi {
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
QIndexDialog(QIndex * form);
|
||
|
|
||
|
virtual void show();
|
||
|
protected slots:
|
||
|
virtual void change_adaptor();
|
||
|
virtual void reject();
|
||
|
protected:
|
||
|
virtual void closeEvent(QCloseEvent * e);
|
||
|
private:
|
||
|
QIndex * form_;
|
||
|
};
|
||
|
|
||
|
} // namespace frontend
|
||
|
} // namespace lyx
|
||
|
|
||
|
#endif // QINDEXDIALOG_H
|