projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
you can now disable the web previews and user state icons (settings -> appearance...
[quassel.git]
/
src
/
qtui
/
chatscene.h
diff --git
a/src/qtui/chatscene.h
b/src/qtui/chatscene.h
index
a60b842
..
85328df
100644
(file)
--- a/
src/qtui/chatscene.h
+++ b/
src/qtui/chatscene.h
@@
-72,6
+72,8
@@
public:
inline CutoffMode senderCutoffMode() const { return _cutoffMode; }
inline void setSenderCutoffMode(CutoffMode mode) { _cutoffMode = mode; }
inline CutoffMode senderCutoffMode() const { return _cutoffMode; }
inline void setSenderCutoffMode(CutoffMode mode) { _cutoffMode = mode; }
+ bool isScrollingAllowed() const;
+
virtual bool event(QEvent *e);
public slots:
virtual bool event(QEvent *e);
public slots:
@@
-92,6
+94,7
@@
public:
signals:
void lastLineChanged(QGraphicsItem *item, qreal offset);
void layoutChanged(); // indicates changes to the scenerect due to resizing of the contentsitems
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);
protected:
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *mouseEvent);
@@
-107,6
+110,7
@@
private slots:
void secondHandlePositionChanged(qreal xpos);
void showWebPreviewEvent();
void deleteWebPreviewEvent();
void secondHandlePositionChanged(qreal xpos);
void showWebPreviewEvent();
void deleteWebPreviewEvent();
+ void showWebPreviewChanged();
private:
void setHandleXLimits();
private:
void setHandleXLimits();
@@
-138,6
+142,8
@@
private:
int _firstSelectionRow;
bool _isSelecting;
int _firstSelectionRow;
bool _isSelecting;
+ bool _showWebPreview;
+
struct WebPreview {
ChatItem *parentItem;
QGraphicsItem *previewItem;
struct WebPreview {
ChatItem *parentItem;
QGraphicsItem *previewItem;