#include "types.h"
class AbstractUiMsg;
-class Buffer;
-class BufferId;
class ChatItem;
class ChatLine;
class ColumnHandleItem;
inline bool isFetchingBacklog() const;
inline bool isBacklogFetchingEnabled() const;
inline BufferId bufferForBacklogFetching() const;
+ int sectionByScenePos(int x);
+ inline int sectionByScenePos(const QPoint &pos) { return sectionByScenePos(pos.x()); }
+ inline bool isSingleBufferScene() const { return _singleBufferScene; }
public slots:
void setWidth(qreal);
qreal _width, _height;
QAbstractItemModel *_model;
QList<ChatLine *> _lines;
+ bool _singleBufferScene;
ColumnHandleItem *firstColHandle, *secondColHandle;
qreal firstColHandlePos, secondColHandlePos;