Changeset View
Changeset View
Standalone View
Standalone View
kmplot/equationedit.h
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | |||||
44 | /** | 44 | /** | ||
45 | * A line edit for equations that also does syntax highlighting, error checking, | 45 | * A line edit for equations that also does syntax highlighting, error checking, | ||
46 | * etc, and provides a button for invoking an advanced equation editor. | 46 | * etc, and provides a button for invoking an advanced equation editor. | ||
47 | * \author David Saxton | 47 | * \author David Saxton | ||
48 | */ | 48 | */ | ||
49 | class EquationEdit : public QWidget | 49 | class EquationEdit : public QWidget | ||
50 | { | 50 | { | ||
51 | Q_OBJECT | 51 | Q_OBJECT | ||
52 | Q_PROPERTY( QString text READ text WRITE setText USER true ) | 52 | Q_PROPERTY( QString text READ text WRITE setText NOTIFY textEdited USER true ) | ||
53 | 53 | | |||
54 | public: | 54 | public: | ||
55 | enum InputType | 55 | enum InputType | ||
56 | { | 56 | { | ||
57 | Function, | 57 | Function, | ||
58 | Expression | 58 | Expression | ||
59 | }; | 59 | }; | ||
60 | 60 | | |||
▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines |