// calls to QChatScene::sceneRect() are very expensive. As we manage the scenerect ourselves
// we store the size in a member variable.
QRectF _sceneRect;
+ void updateSceneRect();
+ void updateSceneRect(qreal width);
void updateSceneRect(const QRectF &rect);
qreal _viewportHeight;