2006-03-05 17:24:44 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
/**
|
|
|
|
|
* \file QGraphicsDialog.h
|
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
|
*
|
|
|
|
|
* \author John Levon
|
|
|
|
|
* \author Herbert Vo<EFBFBD>
|
|
|
|
|
*
|
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef QGRAPHICSDIALOG_H
|
|
|
|
|
#define QGRAPHICSDIALOG_H
|
|
|
|
|
|
|
|
|
|
#include "ui/QGraphicsUi.h"
|
|
|
|
|
|
|
|
|
|
#include <QCloseEvent>
|
|
|
|
|
#include <QDialog>
|
2006-04-06 21:04:27 +00:00
|
|
|
|
#include <QString>
|
2006-03-05 17:24:44 +00:00
|
|
|
|
|
|
|
|
|
namespace lyx {
|
|
|
|
|
namespace frontend {
|
|
|
|
|
|
|
|
|
|
class QGraphics;
|
|
|
|
|
|
|
|
|
|
class QGraphicsDialog : public QDialog, public Ui::QGraphicsUi {
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
QGraphicsDialog(QGraphics * form);
|
|
|
|
|
|
|
|
|
|
virtual void show();
|
2006-06-30 14:37:33 +00:00
|
|
|
|
protected Q_SLOTS:
|
2006-03-05 17:24:44 +00:00
|
|
|
|
virtual void change_adaptor();
|
|
|
|
|
virtual void change_bb();
|
2006-11-03 11:24:27 +00:00
|
|
|
|
virtual void on_browsePB_clicked();
|
|
|
|
|
virtual void on_getPB_clicked();
|
|
|
|
|
virtual void on_editPB_clicked();
|
|
|
|
|
virtual void on_filename_textChanged(const QString &);
|
|
|
|
|
virtual void on_scaleCB_toggled(bool);
|
2006-03-05 17:24:44 +00:00
|
|
|
|
protected:
|
|
|
|
|
virtual void closeEvent(QCloseEvent * e);
|
|
|
|
|
private:
|
|
|
|
|
QGraphics * form_;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace frontend
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
|
|
|
|
#endif // QGRAPHICSDIALOG_H
|