inline CutoffMode senderCutoffMode() const { return _cutoffMode; }
inline void setSenderCutoffMode(CutoffMode mode) { _cutoffMode = mode; }
+ bool isScrollingAllowed() const;
+
virtual bool event(QEvent *e);
public slots:
signals:
void lastLineChanged(QGraphicsItem *item, qreal offset);
void layoutChanged(); // indicates changes to the scenerect due to resizing of the contentsitems
+ void mouseMoveWhileSelecting(const QPointF &scenePos);
protected:
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *mouseEvent);
void secondHandlePositionChanged(qreal xpos);
void showWebPreviewEvent();
void deleteWebPreviewEvent();
+ void showWebPreviewChanged();
private:
void setHandleXLimits();
int _firstSelectionRow;
bool _isSelecting;
+ bool _showWebPreview;
+
struct WebPreview {
ChatItem *parentItem;
QGraphicsItem *previewItem;