projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
current highlighted search result is no longer reset when the search string changes...
[quassel.git]
/
src
/
qtui
/
bufferwidget.h
diff --git
a/src/qtui/bufferwidget.h
b/src/qtui/bufferwidget.h
index
6f48f09
..
1d70c27
100644
(file)
--- a/
src/qtui/bufferwidget.h
+++ b/
src/qtui/bufferwidget.h
@@
-25,28
+25,37
@@
#include "abstractbuffercontainer.h"
#include "abstractbuffercontainer.h"
+class QGraphicsItem;
class ChatViewSearchBar;
class ChatViewSearchController;
class BufferWidget : public AbstractBufferContainer {
Q_OBJECT
class ChatViewSearchBar;
class ChatViewSearchController;
class BufferWidget : public AbstractBufferContainer {
Q_OBJECT
- public:
- BufferWidget(QWidget *parent);
- ~BufferWidget();
+public:
+ BufferWidget(QWidget *parent);
+ ~BufferWidget();
+
+ virtual bool eventFilter(QObject *watched, QEvent *event);
inline ChatViewSearchBar *searchBar() const { return ui.searchBar; }
inline ChatViewSearchBar *searchBar() const { return ui.searchBar; }
- protected:
- virtual AbstractChatView *createChatView(BufferId);
- virtual void removeChatView(BufferId);
+protected:
+ virtual AbstractChatView *createChatView(BufferId);
+ virtual void removeChatView(BufferId);
+
+protected slots:
+ virtual void showChatView(BufferId);
- protected slots:
- virtual void showChatView(BufferId);
+private slots:
+ void scrollToHighlight(QGraphicsItem *highlightItem);
+ void zoomIn();
+ void zoomOut();
+ void zoomNormal();
-
private:
-
Ui::BufferWidget ui;
-
QHash<BufferId, QWidget *> _chatViews;
+private:
+ Ui::BufferWidget ui;
+ QHash<BufferId, QWidget *> _chatViews;
ChatViewSearchController *_chatViewSearchController;
};
ChatViewSearchController *_chatViewSearchController;
};