2002-09-24 13:57:09 +00:00
|
|
|
// -*- C++ -*-
|
2001-08-28 03:35:17 +00:00
|
|
|
/**
|
|
|
|
* \file QGraphicsDialog.h
|
2002-09-24 13:57:09 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-08-28 03:35:17 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author John Levon
|
2002-11-07 00:21:28 +00:00
|
|
|
* \author Herbert Voss
|
2002-09-24 13:57:09 +00:00
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2001-08-28 03:35:17 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QGRAPHICSDIALOG_H
|
|
|
|
#define QGRAPHICSDIALOG_H
|
2002-03-21 21:21:28 +00:00
|
|
|
|
|
|
|
|
2001-08-28 03:35:17 +00:00
|
|
|
#include "ui/QGraphicsDialogBase.h"
|
|
|
|
|
|
|
|
class QGraphics;
|
|
|
|
|
2002-10-20 01:48:28 +00:00
|
|
|
class QGraphicsDialog : public QGraphicsDialogBase {
|
|
|
|
Q_OBJECT
|
2001-08-28 03:35:17 +00:00
|
|
|
public:
|
|
|
|
QGraphicsDialog(QGraphics * form);
|
|
|
|
|
2002-09-11 17:42:45 +00:00
|
|
|
virtual void show();
|
2001-08-28 03:35:17 +00:00
|
|
|
protected slots:
|
|
|
|
virtual void change_adaptor();
|
2002-10-31 20:05:55 +00:00
|
|
|
virtual void change_bb();
|
2002-11-07 00:21:28 +00:00
|
|
|
virtual void change_WUnit();
|
2002-01-31 13:15:33 +00:00
|
|
|
virtual void browse_clicked();
|
2002-11-07 00:21:28 +00:00
|
|
|
virtual void getBB_clicked();
|
2001-08-28 03:35:17 +00:00
|
|
|
protected:
|
|
|
|
virtual void closeEvent(QCloseEvent * e);
|
|
|
|
private:
|
|
|
|
QGraphics * form_;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QGRAPHICSDIALOG_H
|