lyx_mirror/src/frontends/qt4/GuiTabularCreate.h
André Pönitz a1cec91afa move our stuff off the Q* namespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19935 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 05:53:55 +00:00

60 lines
1.1 KiB
C++

// -*- C++ -*-
/**
* \file GuiTabularCreate.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Levon
*
* Full author contact details are available in file CREDITS.
*/
#ifndef QTABULARCREATE_H
#define QTABULARCREATE_H
#include "GuiDialogView.h"
#include "ui_TabularCreateUi.h"
#include <QDialog>
namespace lyx {
namespace frontend {
class GuiTabularCreate;
class GuiTabularCreateDialog : public QDialog, public Ui::TabularCreateUi {
Q_OBJECT
public:
GuiTabularCreateDialog(GuiTabularCreate * form);
protected Q_SLOTS:
virtual void columnsChanged(int);
virtual void rowsChanged(int);
private:
GuiTabularCreate * form_;
};
class ControlTabularCreate;
class GuiTabularCreate
: public QController<ControlTabularCreate, GuiView<GuiTabularCreateDialog> >
{
public:
///
friend class GuiTabularCreateDialog;
///
GuiTabularCreate(Dialog &);
private:
/// Apply changes
virtual void apply();
/// update
virtual void update_contents() {}
/// build the dialog
virtual void build_dialog();
};
} // namespace frontend
} // namespace lyx
#endif // QTABULARCREATE_H