3 #include "FASTExport.hpp"
13 class QOffscreenSurface;
22 static void initializeQtApp();
23 static QGLContext* getMainGLContext();
24 static void setMainGLContext(QGLContext* context);
28 virtual void setTimeout(
unsigned int milliseconds);
34 void setWidth(
uint width);
35 void setHeight(
uint height);
36 void setSize(
uint width,
uint height);
37 void enableMaximized();
38 void disableMaximized();
39 void enableFullscreen();
40 void disableFullscreen();
41 void setTitle(std::string);
42 std::vector<View*> getViews()
const;
44 static void cleanup();
49 int getScreenWidth()
const;
54 int getScreenHeight()
const;
59 float getScalingFactor()
const;
60 void saveScreenshotOnClose(std::string filename);
61 void saveScreenshotOfViewsOnClose(std::string filename);
63 void addProcessObject(std::shared_ptr<ProcessObject> po);
65 void startComputationThread();
66 void stopComputationThread();
74 float mGUIScalingFactor = 1.0f;
79 static QGLContext* mMainGLContext;