Fix perf issues and some visual bugs

This commit is contained in:
Joey Yakimowich-Payne 2026-02-06 07:31:20 -07:00
commit d389161f4a
5 changed files with 300 additions and 11 deletions

View file

@ -14,9 +14,10 @@
namespace QtNodes {
using NodeId = unsigned int;
class BasicGraphicsScene;
class GraphicsView;
} // namespace QtNodes
class ZoomGraphicsView;
class AudioLevelMeter;
class WarpGraphModel;
class NodeVolumeWidget;
@ -24,6 +25,7 @@ class QLabel;
class QScrollArea;
class QSplitter;
class QTabWidget;
class QSlider;
class QTimer;
class DeleteVirtualNodeCommand;
@ -96,7 +98,7 @@ private:
warppipe::Client *m_client = nullptr;
WarpGraphModel *m_model = nullptr;
QtNodes::BasicGraphicsScene *m_scene = nullptr;
QtNodes::GraphicsView *m_view = nullptr;
ZoomGraphicsView *m_view = nullptr;
QSplitter *m_splitter = nullptr;
QTabWidget *m_sidebar = nullptr;
QTimer *m_refreshTimer = nullptr;
@ -129,4 +131,11 @@ private:
QScrollArea *m_rulesScroll = nullptr;
ConnectionStyleType m_connectionStyle = ConnectionStyleType::kBezier;
QSlider *m_zoomSensSlider = nullptr;
QLabel *m_zoomSensValue = nullptr;
QSlider *m_zoomMinSlider = nullptr;
QLabel *m_zoomMinValue = nullptr;
QSlider *m_zoomMaxSlider = nullptr;
QLabel *m_zoomMaxValue = nullptr;
};