mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 21:49:51 +00:00
51 lines
878 B
C
51 lines
878 B
C
|
// -*- C++ -*-
|
||
|
/**
|
||
|
* \file QRefDialog.h
|
||
|
* This file is part of LyX, the document processor.
|
||
|
* Licence details can be found in the file COPYING.
|
||
|
*
|
||
|
* \author Kalle Dalheimer
|
||
|
* \author John Levon
|
||
|
*
|
||
|
* Full author contact details are available in file CREDITS.
|
||
|
*/
|
||
|
|
||
|
#ifndef QREFDIALOG_H
|
||
|
#define QREFDIALOG_H
|
||
|
|
||
|
#include "ui/QRefUi.h"
|
||
|
|
||
|
#include <QDialog>
|
||
|
#include <QCloseEvent>
|
||
|
|
||
|
namespace lyx {
|
||
|
namespace frontend {
|
||
|
|
||
|
class QRef;
|
||
|
|
||
|
class QRefDialog : public QDialog, public Ui::QRefUi {
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
QRefDialog(QRef * form);
|
||
|
|
||
|
virtual void show();
|
||
|
|
||
|
public slots:
|
||
|
void changed_adaptor();
|
||
|
void gotoClicked();
|
||
|
void refHighlighted(const QString &);
|
||
|
void refSelected(const QString &);
|
||
|
void sortToggled(bool);
|
||
|
void updateClicked();
|
||
|
|
||
|
protected:
|
||
|
void closeEvent(QCloseEvent * e);
|
||
|
private:
|
||
|
QRef * form_;
|
||
|
};
|
||
|
|
||
|
} // namespace frontend
|
||
|
} // namespace lyx
|
||
|
|
||
|
#endif // QREFDIALOG_H
|