|
|
| Modifier (const QString &name, const QString &description) |
| |
|
| Modifier (const QString &name, const QString &description, const QString &icon) |
| |
|
| Rule (const QString &name) |
| |
|
| Rule (const QString &name, const QString &icon) |
| |
|
QString | description () const |
| |
|
QPixmap | icon (Rule::IconType type=Rule::Action) const |
| |
| bool | isValid () const |
| | Checks the validity of the parse object.
|
| |
|
ParseResults | parse (ParseSettings &settings) |
| |
| QRegularExpression & | regExp () const |
| | TODO: This is probably not needed anymore.
|
| |
| QPushButton * | registerButton (QWidget *parent) |
| | Register a button in the parent object.
|
| |
| QAction * | registerMenu (QMenu *parent) |
| | Register a menu action in the parent object.
|
| |
| virtual void | reset () |
| | Resets the parser to its initial state.
|
| |
| TokenList & | tokens () const |
| |
|
bool | useTokenMenu () const |
| | Returns true if a token menu is used.
|
| |
|
| QString | parseOperation (ParseSettings &settings, const QRegularExpressionMatch &match) override=0 |
| | TODO: describe me.
|
| |
| bool | addToken (const QString &id, const QString &description, const QString &actionName=QString()) |
| | add a token to the parser, every parser should at least assign one token object
|
| |
|
void | setDescription (const QString &desc) |
| |
|
void | setIcon (const QString &pixmap) |
| |
|
void | setRegExp (const QRegularExpression ®Exp) |
| |
| void | setUseTokenMenu (bool value) |
| | If multiple tokens have been assigned to a rule, a menu will be created.
|
| |