| 246 | } |
| 247 | |
| 248 | void CodeEditor::resizeEvent(QResizeEvent* e) |
| 249 | { |
| 250 | QPlainTextEdit::resizeEvent(e); |
| 251 | |
| 252 | QRect cr = contentsRect(); |
| 253 | lineNumberArea->setGeometry(QRect(cr.left(), cr.top(), lineNumberAreaWidth(), cr.height())); |
| 254 | } |
| 255 | |
| 256 | bool CodeEditor::event(QEvent* event) |
| 257 | { |
nothing calls this directly
no outgoing calls
no test coverage detected