lib

MatrixDialog.h
1/* This file is part of the KDE libraries
2 Copyright (C) 1999 Ilya Baran (ibaran@mit.edu)
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18*/
19
20#ifndef MATRIXDIALOG_H_INCLUDED
21#define MATRIXDIALOG_H_INCLUDED
22
23#include <tqwidget.h>
24#include <kdialogbase.h>
25#include <tqvalidator.h>
26
27#include "kformuladefs.h"
28
29KFORMULA_NAMESPACE_BEGIN
30
34class MatrixDialog : public KDialogBase
35{
36 TQ_OBJECT
37
38
39public:
40
41 int w;
42 int h;
43
44 MatrixDialog( TQWidget *parent, int width = 3, int height = 3 );
45 ~MatrixDialog() {}
46
47protected slots:
48
49 void setWidth(int value);
50 void setHeight(int value);
51};
52
53KFORMULA_NAMESPACE_END
54
55#endif // MATRIXDIALOG_H_INCLUDED
KDialogBase(TQWidget *parent=0, const char *name=0, bool modal=true, const TQString &caption=TQString::null, int buttonMask=Ok|Apply|Cancel, ButtonCode defaultButton=Ok, bool separator=false, const KGuiItem &user1=KGuiItem(), const KGuiItem &user2=KGuiItem(), const KGuiItem &user3=KGuiItem())