GUI Milestone 6

This commit is contained in:
Joey Yakimowich-Payne 2026-01-30 06:38:58 -07:00
commit 0e67c19902
4 changed files with 211 additions and 26 deletions

View file

@ -24,6 +24,11 @@ public:
int nodeCount() const;
int linkCount() const;
void setDebugScreenshotDir(const QString &dir);
Q_SIGNALS:
void graphReady();
private slots:
void onRefreshTimer();
void onContextMenuRequested(const QPoint &pos);
@ -33,6 +38,7 @@ private:
void showCanvasContextMenu(const QPoint &screenPos, const QPointF &scenePos);
void showNodeContextMenu(const QPoint &screenPos, uint32_t pwNodeId);
void createVirtualNode(bool isSink, const QPointF &scenePos);
void captureDebugScreenshot(const QString &event);
warppipe::Client *m_client = nullptr;
WarpGraphModel *m_model = nullptr;
@ -41,4 +47,6 @@ private:
QTimer *m_refreshTimer = nullptr;
QTimer *m_saveTimer = nullptr;
QString m_layoutPath;
QString m_debugScreenshotDir;
bool m_graphReady = false;
};