1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
/***************************************************************************
mathenvdialog.h
----------------------------------------------------------------------------
date : Dec 06 2005
version : 0.21
copyright : (C) 2005 by Holger Danielsson
email : holger.danielsson@t-online.de
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef MATHENVDIALOG_H
#define MATHENVDIALOG_H
#include "kileinfo.h"
#include "kilewizard.h"
#include "latexcmd.h"
#include <klineedit.h>
#include <tqlabel.h>
#include <tqcheckbox.h>
#include <tqcombobox.h>
#include <tqspinbox.h>
#include <tqbuttongroup.h>
#include <tqmap.h>
#include <tqvaluelist.h>
namespace KileDialog
{
class MathEnvironmentDialog : public Wizard
{
Q_OBJECT
TQ_OBJECT
public:
MathEnvironmentDialog(TQWidget *tqparent, KConfig *config, KileInfo *ki, KileDocument::LatexCommands *commands);
~MathEnvironmentDialog() {}
public slots:
void slotOk();
private slots:
void slotEnvironmentChanged(int index);
void slotSpinboxValueChanged(int index);
private:
KileInfo *m_ki;
KileDocument::LatexCommands *m_latexCommands;
TQComboBox *m_coEnvironment, *m_coTabulator, *m_coDisplaymath;
TQCheckBox *m_cbStarred, *m_cbBullets;
TQSpinBox *m_spRows, *m_spCols;
TQLabel *m_lbRows, *m_lbCols, *m_lbSpace ;
TQLabel *m_lbTabulator, *m_lbDisplaymath, *m_lbStarred;
TQLabel *m_lbEnvironment, *m_lbBullets;
KLineEdit *m_edSpace;
TQString m_envname;
bool m_starred;
bool m_groups;
bool m_columns;
bool m_fixedcolumns;
bool m_mathmode;
TQString m_tabulator;
TQString m_parameter;
void initEnvironments();
bool isParameterEnv();
bool isGroupsParameterEnv();
};
}
#endif
|