1 /*
2 For general Scribus (>=1.3.2) copyright and licensing information please refer
3 to the COPYING file provided with the program. Following this notice may exist
4 a copyright and/or license notice that predates the release of Scribus 1.3.2
5 for which a new license (GPL+exception) is in place.
6 */
7 #ifndef INSERTTABLE_H
8 #define INSERTTABLE_H
9 
10 #include <QDialog>
11 #include <QPushButton>
12 #include <QSpinBox>
13 #include <QLabel>
14 #include <QGridLayout>
15 #include <QHBoxLayout>
16 #include <QVBoxLayout>
17 
18 #include "scribusapi.h"
19 
20 class SCRIBUS_API InsertTable : public QDialog
21 {
22 	Q_OBJECT
23 
24 public:
25 	InsertTable( QWidget* parent, int maxRow, int maxCol );
~InsertTable()26 	~InsertTable() {};
27 
28 	QSpinBox* Cols;
29 	QSpinBox* Rows;
30 
31 protected:
32 	QVBoxLayout* InsertTableLayout;
33 	QGridLayout* layout2;
34 	QHBoxLayout* layout1;
35 	QLabel* Text1;
36 	QLabel* Text2;
37 	QPushButton* okButton;
38 	QPushButton* cancelButton;
39 };
40 
41 #endif // INSERTTABLE_H
42