Update the look of the chatbar to be floating with the rich text controls on top and send buttons inline

This commit is contained in:
James Graham
2026-01-17 15:46:00 +00:00
parent 79de8a792c
commit 6b318ec754
25 changed files with 945 additions and 806 deletions

View File

@@ -342,6 +342,14 @@ std::optional<int> ChatTextItemHelper::cursorPosition() const
return m_textItem->property("cursorPosition").toInt();
}
QRect ChatTextItemHelper::cursorRectangle() const
{
if (!m_textItem) {
return {};
}
return m_textItem->property("cursorRectangle").toRect();
}
int ChatTextItemHelper::selectionStart() const
{
if (!m_textItem) {