KOffice – TDE office suite
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

formulastring.h 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* This file is part of the KDE project
  2. Copyright (C) 2002 Ulrich Kuettler <ulrich.kuettler@mailbox.tu-dresden.de>
  3. This library is free software; you can redistribute it and/or
  4. modify it under the terms of the GNU Library General Public
  5. License as published by the Free Software Foundation; either
  6. version 2 of the License, or (at your option) any later version.
  7. This library is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  10. Library General Public License for more details.
  11. You should have received a copy of the GNU Library General Public License
  12. along with this library; see the file COPYING.LIB. If not, write to
  13. the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  14. * Boston, MA 02110-1301, USA.
  15. */
  16. #ifndef FORMULASTRING_H
  17. #define FORMULASTRING_H
  18. #include <tqvariant.h>
  19. #include <tqdialog.h>
  20. class TQGridLayout;
  21. class TQHBoxLayout;
  22. class TQLabel;
  23. class TQPushButton;
  24. class TQTextEdit;
  25. class TQVBoxLayout;
  26. class KFormulaPartView;
  27. class FormulaString : public TQDialog
  28. {
  29. Q_OBJECT
  30. public:
  31. FormulaString( KFormulaPartView* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
  32. ~FormulaString();
  33. TQTextEdit* textWidget;
  34. TQPushButton* buttonHelp;
  35. TQPushButton* buttonOk;
  36. TQPushButton* buttonCancel;
  37. TQLabel* position;
  38. protected slots:
  39. virtual void accept ();
  40. void helpButtonClicked();
  41. void cursorPositionChanged ( int para, int pos );
  42. private:
  43. KFormulaPartView* view;
  44. };
  45. #endif // FORMULASTRING_H