mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-16 21:10:26 +00:00
c293be56bd
In particular, the directory frontends/qt4 is renamed to frontends/qt. Many configurations file have to be updated. All mentions of qt4 in the source have been audited, and changed to qt if necessary. The only part that has not been updated is the CMake build system.
68 lines
1.1 KiB
C++
68 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 GUITABULARCREATE_H
|
|
#define GUITABULARCREATE_H
|
|
|
|
#include "GuiDialog.h"
|
|
#include "ui_TabularCreateUi.h"
|
|
|
|
#include <utility>
|
|
|
|
namespace lyx {
|
|
namespace frontend {
|
|
|
|
|
|
class GuiTabularCreate : public GuiDialog, public Ui::TabularCreateUi
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
GuiTabularCreate(GuiView & lv);
|
|
|
|
private Q_SLOTS:
|
|
void columnsChanged(int);
|
|
void rowsChanged(int);
|
|
void on_styleCO_activated(int);
|
|
|
|
private:
|
|
/// Apply changes
|
|
void applyView();
|
|
///
|
|
bool initialiseParams(std::string const & data);
|
|
/// clean-up on hide.
|
|
void clearParams();
|
|
///
|
|
void dispatchParams();
|
|
///
|
|
bool isBufferDependent() const { return true; }
|
|
///
|
|
FuncCode getLfun() const;
|
|
|
|
///
|
|
typedef std::pair<size_t, size_t> rowsCols;
|
|
///
|
|
rowsCols & params() { return params_; }
|
|
///
|
|
void getFiles();
|
|
|
|
private:
|
|
/// rows, cols params
|
|
rowsCols params_;
|
|
///
|
|
QString style_;
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // GUITABULARCREATE_H
|