mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-23 00:11:49 +00:00
f7ba7c8e9f
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3806 a592a061-630c-0410-9148-cb99ea01b6c8
49 lines
899 B
C++
49 lines
899 B
C++
// -*- C++ -*-
|
|
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 2001 The LyX Team.
|
|
*
|
|
*======================================================
|
|
*
|
|
* \file ControlTabularCreate.h
|
|
*/
|
|
|
|
#ifndef CONTROLTABULARCREATE_H
|
|
#define CONTROLTABULARCREATE_H
|
|
|
|
#include <utility>
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "ControlDialog_impl.h"
|
|
|
|
/** A controller for the TabularCreate Dialog.
|
|
*/
|
|
class ControlTabularCreate : public ControlDialogBD {
|
|
public:
|
|
///
|
|
ControlTabularCreate(LyXView &, Dialogs &);
|
|
|
|
typedef std::pair<unsigned int, unsigned int> rowsCols;
|
|
|
|
///
|
|
rowsCols & params();
|
|
|
|
private:
|
|
/// Apply from dialog
|
|
virtual void apply();
|
|
|
|
/// set the params before show or update
|
|
virtual void setParams();
|
|
|
|
/// rows, cols params
|
|
rowsCols params_;
|
|
};
|
|
|
|
#endif // CONTROLTABULARCREATE_H
|