lyx_mirror/src/frontends/qt2/QGraphics.h
John Levon db7cd3524d add graphics dialog - not quite working
the controllers really do make this piss easy to do :))


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2602 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-28 03:35:17 +00:00

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