void ChatbarTextEdit::doResize() { updateGeometry(); QTimer::singleShot(0, this, SLOT(doScrollbar())); }
void ChatbarTextEdit::doResize() { updateGeometry(); doScrollbar(); }
void ChatbarTextEdit::resizeEvent(QResizeEvent *e) { QTextEdit::resizeEvent(e); QTimer::singleShot(0, this, SLOT(doScrollbar())); }
void ChatbarTextEdit::resizeEvent(QResizeEvent *e) { QTextEdit::resizeEvent(e); doScrollbar(); }