chatgui: add scroll-to-bottom floating button, incremental message refresh via getMessagesSince

This commit is contained in:
Evgeny committed 2026-07-24 04:07:51 +03:00
1 parent b6d44bd947
commit ce9e58a925
6 files changed
+114 -16

No files matched your search

+3
View File
@@ -3,6 +3,7 @@
#include <QListView>
#include <QPersistentModelIndex>
#include <QPoint>
#include <QPushButton>
struct ChatTextSelection {
QPersistentModelIndex index;
@@ -43,6 +44,7 @@ protected:
private:
void copySelection();
void updateScrollDownBtn();
QPixmap m_background;
QPersistentModelIndex m_selStart;
@@ -52,4 +54,5 @@ private:
QPersistentModelIndex m_pressIndex;
QPoint m_pressPos;
bool m_selecting = false;
QPushButton *m_scrollDownBtn = nullptr;
};