29#ifndef OPENSWMMVIS_UI_UTIL_FIGURECAPTURE_H
30#define OPENSWMMVIS_UI_UTIL_FIGURECAPTURE_H
32#include <QElapsedTimer>
118 bool loadManifest(QString *error);
119 void applyDefaults();
128 void grabInto(QWidget *target,
const FigureSpec &spec);
131 QWidget *activeDialog()
const;
133 bool selectPage(QWidget *target,
const QString &page)
const;
135 bool selectItem(QWidget *target,
const QString &which)
const;
137 void dismissDialogs();
141 QMainWindow *mHost =
nullptr;
142 QString mManifestPath;
144 QJsonObject mDefaults;
145 QList<FigureSpec> mQueue;
146 QList<FigureResult> mResults;
149 bool mCurrentDone =
false;
150 bool mStarted =
false;
151 QElapsedTimer mSpecTimer;
152 QTimer *mWatchdog =
nullptr;
154 int mDefaultSettleMs = 600;
155 int mStartupMs = 2500;
156 int mWatchdogMs = 20000;
157 int mMaxWidth = 1400;
158 qreal mRenderScale = 2.0;
Definition openswmmvislayer.h:43
FigureLane
Which platform a figure can be captured on.
Definition figurecapture.h:46
@ Offscreen
widget-only; no display needed (the default)
@ Live
needs real scene-graph pixels — cocoa on a real display
@ Human
native menus / file pickers / Finder — engine skips it
QVector< int > parent
union-find
Definition pslgminsize.cpp:176