Zwrotomat/codedisplay.cpp
/**
 * @brief CodeDisplay::resizeEvent Overring resize Event to modify LineNumberArea
 * @param e resizeEvent
 */
@brief CodeDisplay::resizeEvent Overring resize Event to modify LineNumberArea
@param e resizeEvent
@brief CodeDisplay :: resizeEvent Overring resize Event to modify LineNumberArea @param e resizeEvent
void CodeDisplay::resizeEvent(QResizeEvent *e)
{
    QPlainTextEdit::resizeEvent(e);
    QRect cr = contentsRect();
    lineNumberArea->setGeometry(QRect(cr.left(), cr.top(), lineNumberAreaWidth(), cr.height()));
}
void CodeDisplay :: resizeEvent ( QResizeEvent * e ) { QPlainTextEdit :: resizeEvent ( e ) ; QRect cr = contentsRect ( ) ; lineNumberArea -> setGeometry ( QRect ( cr . left ( ) , cr . top ( ) , lineNumberAreaWidth ( ) , cr . height ( ) ) ) ; }
@brief CodeDisplay::resizeEvent Overring resize Event to modify LineNumberArea
 @param e resizeEvent
@brief CodeDisplay :: resizeEvent Overring resize Event to modify LineNumberArea @param e resizeEvent