2002-11-15 03:56:52 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
/**
|
|
|
|
|
* \file QTabular.h
|
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
|
*
|
|
|
|
|
* \author John Levon
|
|
|
|
|
* \author Kalle Dalheimer
|
2003-09-07 01:45:40 +00:00
|
|
|
|
* \author J<EFBFBD>rgen Spitzm<EFBFBD>ller
|
|
|
|
|
* \author Herbert Vo<EFBFBD>
|
2002-11-15 03:56:52 +00:00
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
|
* Full author contact details are available in file CREDITS.
|
2002-11-15 03:56:52 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef QTABULAR_H
|
|
|
|
|
#define QTABULAR_H
|
|
|
|
|
|
2003-03-09 18:11:57 +00:00
|
|
|
|
#include "QDialogView.h"
|
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
|
namespace lyx {
|
|
|
|
|
namespace frontend {
|
2002-11-15 03:56:52 +00:00
|
|
|
|
|
|
|
|
|
class ControlTabular;
|
|
|
|
|
class QTabularDialog;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QTabular :
|
2003-03-09 18:11:57 +00:00
|
|
|
|
public QController<ControlTabular, QView<QTabularDialog> >
|
2002-11-15 03:56:52 +00:00
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
friend class QTabularDialog;
|
|
|
|
|
|
2003-03-09 18:11:57 +00:00
|
|
|
|
QTabular(Dialog &);
|
2002-12-01 22:59:25 +00:00
|
|
|
|
|
2002-11-15 03:56:52 +00:00
|
|
|
|
protected:
|
|
|
|
|
virtual bool isValid();
|
2002-12-01 22:59:25 +00:00
|
|
|
|
|
2002-11-15 03:56:52 +00:00
|
|
|
|
private:
|
|
|
|
|
/// We can't use this ...
|
|
|
|
|
virtual void apply() {}
|
2002-11-27 18:47:09 +00:00
|
|
|
|
/// update borders
|
|
|
|
|
virtual void update_borders();
|
2002-11-15 03:56:52 +00:00
|
|
|
|
/// update
|
|
|
|
|
virtual void update_contents();
|
|
|
|
|
/// build the dialog
|
|
|
|
|
virtual void build_dialog();
|
2002-11-27 18:47:09 +00:00
|
|
|
|
/// save some values before closing the gui
|
|
|
|
|
virtual void closeGUI();
|
2002-11-15 03:56:52 +00:00
|
|
|
|
};
|
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
|
} // namespace frontend
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
2002-11-15 03:56:52 +00:00
|
|
|
|
#endif // QTABULAR_H
|