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
|
2002-11-27 18:47:09 +00:00
|
|
|
* \author Juergen Spitzmueller
|
|
|
|
* \author Herbert Voss
|
2002-11-15 03:56:52 +00:00
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QTABULAR_H
|
|
|
|
#define QTABULAR_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "Qt2Base.h"
|
|
|
|
|
|
|
|
class ControlTabular;
|
|
|
|
class QTabularDialog;
|
|
|
|
|
|
|
|
|
|
|
|
class QTabular :
|
|
|
|
public Qt2CB<ControlTabular, Qt2DB<QTabularDialog> >
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
friend class QTabularDialog;
|
|
|
|
|
|
|
|
QTabular();
|
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
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QTABULAR_H
|