0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-10-02 19:56:58 +03:00

Completer refactored

This commit is contained in:
Alexander Arin
2021-11-03 00:40:16 +03:00
parent 8efb6792a3
commit 37b929459b
4 changed files with 35 additions and 31 deletions

View File

@@ -20,7 +20,7 @@ class CodeEditor :public QPlainTextEdit
public:
CodeEditor(QWidget* parent=0);
void setCompleter(QCompleter* value);
QCompleter* compleater() const{ return m_compleater;}
QCompleter* compleater() const{ return m_completer;}
void lineNumberAreaPaintEvent(QPaintEvent *event);
int lineNumberAreaWidth();
protected:
@@ -41,7 +41,7 @@ private slots:
void updateLineNumberArea(const QRect &rect, int dy);
void matchParentheses();
private:
QCompleter* m_compleater;
QCompleter* m_completer;
QWidget *lineNumberArea;
};