2002-01-29 10:05:09 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file QShowFile.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.
|
2002-01-29 10:05:09 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author John Levon
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2002-01-29 10:05:09 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QSHOWFILE_H
|
|
|
|
#define QSHOWFILE_H
|
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
|
2003-03-25 18:13:46 +00:00
|
|
|
#include "QDialogView.h"
|
|
|
|
|
2002-01-29 10:05:09 +00:00
|
|
|
|
|
|
|
class ControlShowFile;
|
|
|
|
class QShowFileDialog;
|
2002-08-12 14:28:43 +00:00
|
|
|
|
2002-01-29 10:05:09 +00:00
|
|
|
|
2002-10-20 01:48:28 +00:00
|
|
|
class QShowFile
|
2003-03-25 18:13:46 +00:00
|
|
|
: public QController<ControlShowFile, QView<QShowFileDialog> >
|
2002-01-29 10:05:09 +00:00
|
|
|
{
|
2002-10-20 01:48:28 +00:00
|
|
|
public:
|
2002-01-29 10:05:09 +00:00
|
|
|
friend class QShowFileDialog;
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2003-03-25 18:13:46 +00:00
|
|
|
QShowFile(Dialog &);
|
2002-03-21 21:21:28 +00:00
|
|
|
private:
|
2002-01-29 10:05:09 +00:00
|
|
|
/// Apply changes
|
2002-10-20 01:48:28 +00:00
|
|
|
virtual void apply() {}
|
2002-01-29 10:05:09 +00:00
|
|
|
/// update
|
|
|
|
virtual void update_contents();
|
|
|
|
/// build the dialog
|
|
|
|
virtual void build_dialog();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QSHOWFILE_H
|