Changeset View
Changeset View
Standalone View
Standalone View
core/form.h
Show First 20 Lines • Show All 112 Lines • ▼ Show 20 Line(s) | 43 | public: | |||
---|---|---|---|---|---|
113 | * @since 1.1 | 113 | * @since 1.1 | ||
114 | */ | 114 | */ | ||
115 | enum AdditionalActionType | 115 | enum AdditionalActionType | ||
116 | { | 116 | { | ||
117 | FieldModified, ///< An action to be performed when the user modifies the field | 117 | FieldModified, ///< An action to be performed when the user modifies the field | ||
118 | FormatField, ///< An action to be performed before the field is formatted to display its value | 118 | FormatField, ///< An action to be performed before the field is formatted to display its value | ||
119 | ValidateField, ///< An action to be performed when the field value changes | 119 | ValidateField, ///< An action to be performed when the field value changes | ||
120 | CalculateField, ///< An action to be performed when the field needs to be recalculated | 120 | CalculateField, ///< An action to be performed when the field needs to be recalculated | ||
121 | CursorEntering, ///< Performed when the cursor enters the annotation's active area @since 1.5 | ||||
122 | CursorLeaving, ///< Performed when the cursor exists the annotation's active area @since 1.5 | ||||
123 | MousePressed, ///< Performed when the mouse button is pressed inside the annotation's active area @since 1.5 | ||||
124 | MouseReleased, ///< Performed when the mouse button is released inside the annotation's active area @since 1.5 | ||||
125 | FocusIn, ///< Performed when the annotation receives the input focus @since 1.5 | ||||
126 | FocusOut, ///< Performed when the annotation loses the input focus @since 1.5 | ||||
121 | }; | 127 | }; | ||
122 | 128 | | |||
123 | /** | 129 | /** | ||
124 | * Returns the additional action of the given @p type or @c nullptr if no action has been defined. | 130 | * Returns the additional action of the given @p type or @c nullptr if no action has been defined. | ||
125 | * | 131 | * | ||
126 | * @since 1.1 | 132 | * @since 1.1 | ||
127 | */ | 133 | */ | ||
128 | Action* additionalAction( AdditionalActionType type ) const; | 134 | Action* additionalAction( AdditionalActionType type ) const; | ||
▲ Show 20 Lines • Show All 254 Lines • Show Last 20 Lines |