refactor: Refactor feature browser, move to top-left, and increase font size

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2026-02-09 17:36:45 -07:00
parent c6f82a04e8
commit 6e335ef724
4 changed files with 87 additions and 53 deletions

19
src/FeatureBrowser.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef FEATUREBROWSER_H
#define FEATUREBROWSER_H
class QPainter;
class Document;
class FeatureBrowser
{
public:
FeatureBrowser();
void setDocument(Document* document);
void paint(QPainter& painter, int viewportWidth, int viewportHeight);
private:
Document* m_document = nullptr;
};
#endif // FEATUREBROWSER_H