|
ORE Studio 0.0.4
|
Compact widget for entering and editing cron expressions. More...
#include <CronExpressionWidget.hpp>
Inherits QWidget.

Signals | |
| void | cronChanged (const QString &expression) |
Public Member Functions | |
| CronExpressionWidget (QWidget *parent=nullptr) | |
| QString | cronExpression () const |
| void | setCronExpression (const QString &expr) |
| bool | isValid () const |
| void | setReadOnly (bool readOnly) |
Compact widget for entering and editing cron expressions.
Shows an editable cron string (red border when invalid) and a "..." button that opens the CronEditorDialog for a tab-based visual builder. The public API is identical to the old widget so all dialogs that embed it as a custom widget require no changes.
| QString cronExpression | ( | ) | const |
Returns the current cron expression string (5-field).
| void setCronExpression | ( | const QString & | expr | ) |
Sets the cron expression, updating the line edit.
| bool isValid | ( | ) | const |
Returns true if the current expression parses successfully.
| void setReadOnly | ( | bool | readOnly | ) |
Enables or disables editing and the builder button.