viewertexteditor: paint to pixmap then copy to screen

This commit is contained in:
itsmattkc
2022-08-21 15:00:32 -07:00
parent b361ba8c51
commit e55da211b1
4 changed files with 236 additions and 130 deletions
+2
View File
@@ -145,6 +145,8 @@ public:
void SetListenToFocusEvents(bool e) { listen_to_focus_events_ = e; }
void Paint(QPainter *p, const QRect &clip = QRect());
protected:
virtual void paintEvent(QPaintEvent *event) override;