mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
49 lines
752 B
C
49 lines
752 B
C
|
// -*- C++ -*-
|
||
|
/**
|
||
|
* \file QGraphics.h
|
||
|
* Copyright 2001 the LyX Team
|
||
|
* Read the file COPYING
|
||
|
*
|
||
|
* \author John Levon <moz@compsoc.man.ac.uk>
|
||
|
*/
|
||
|
|
||
|
#ifndef QGRAPHICS_H
|
||
|
#define QGRAPHICS_H
|
||
|
|
||
|
#ifdef __GNUG__
|
||
|
#pragma interface
|
||
|
#endif
|
||
|
|
||
|
#include "Qt2Base.h"
|
||
|
#include "insets/insetgraphics.h"
|
||
|
|
||
|
class ControlGraphics;
|
||
|
class QGraphicsDialog;
|
||
|
|
||
|
///
|
||
|
class QGraphics
|
||
|
: public Qt2CB<ControlGraphics, Qt2DB<QGraphicsDialog> >
|
||
|
{
|
||
|
public:
|
||
|
///
|
||
|
friend class QGraphicsDialog;
|
||
|
///
|
||
|
QGraphics(ControlGraphics &);
|
||
|
|
||
|
protected:
|
||
|
virtual bool isValid();
|
||
|
|
||
|
private:
|
||
|
/// Apply changes
|
||
|
virtual void apply();
|
||
|
/// update
|
||
|
virtual void update_contents();
|
||
|
/// build the dialog
|
||
|
virtual void build_dialog();
|
||
|
|
||
|
/// browse for a file
|
||
|
void browse();
|
||
|
};
|
||
|
|
||
|
#endif // QGRAPHICS_H
|