mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
db7cd3524d
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
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
|