27#ifndef __kspread_dlg_formula__
28#define __kspread_dlg_formula__
32#include <kcompletion.h>
33#include <kdialogbase.h>
46class FunctionDescription;
50class FormulaDialog : public KDialogBase
55 FormulaDialog( View* parent, const char* name, const TQString& formulaName=0);
62 TQString createParameter( const TQString& _text, int param );
67 TQString createFormula();
82 void slotSelected( const TQString& function );
88 void slotShowFunction( const TQString& function );
94 void slotDoubleClicked( TQListBoxItem* item );
98 void slotActivated( const TQString& category );
102 void slotChangeText( const TQString& text );
107 void slotSelectionChanged();
112 void slotSelectButton();
116 void slotSearchText( const TQString& text );
120 void slotPressReturn();
126 bool eventFilter( TQObject* obj, TQEvent* ev );
128 virtual void closeEvent ( TQCloseEvent * );
132 TQTabWidget* m_tabwidget;
133 TQTextBrowser* m_browser;
136 TQPushButton *selectFunction;
137 TQComboBox *typeFunction;
138 TQListBox *functions;
141 KLineEdit *searchFunct;
142 TDECompletion listFunct;
149 TQLineEdit *firstElement;
150 TQLineEdit *secondElement;
151 TQLineEdit *thirdElement;
152 TQLineEdit *fourElement;
153 TQLineEdit *fiveElement;
166 TQString m_sheetName;
168 TQString m_rightText;
175 KSpread::FunctionDescription* m_desc;
|