diff options
Diffstat (limited to 'utils/themeeditor/codeeditor.h')
| -rw-r--r-- | utils/themeeditor/codeeditor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/themeeditor/codeeditor.h b/utils/themeeditor/codeeditor.h index ec36d50..5df5b42 100644 --- a/utils/themeeditor/codeeditor.h +++ b/utils/themeeditor/codeeditor.h @@ -61,6 +61,7 @@ public: int lineNumberAreaWidth(); void addError(int line){ errors.append(line); } void clearErrors(){ errors.clear(); } + void setErrorColor(QColor color){ errorColor = color; } protected: void resizeEvent(QResizeEvent *event); @@ -72,6 +73,7 @@ private slots: private: QWidget *lineNumberArea; QList<int> errors; + QColor errorColor; }; //![codeeditordefinition] |