21#ifndef __qSlicerApplicationHelper_h
22#define __qSlicerApplicationHelper_h
25#include <QElapsedTimer>
26#include <QScopedPointer>
28#include <QSplashScreen>
33#include "qSlicerBaseQTAppExport.h"
63 template <
typename SlicerMainWindowType>
66 QScopedPointer<QSplashScreen>& splashScreen,
67 QScopedPointer<SlicerMainWindowType>& window);
82 Q_INVOKABLE
static int runAsAdmin(QString executable, QString parameters = QString(), QString workingDir = QString());
93 static double TimeElapsedBeforeProcessEntryPointMs;
102 static QElapsedTimer TimeElapsedAfterProcessEntryPointTimer;
105#include "qSlicerApplicationHelper.hxx"
qSlicerApplicationHelper Self
static Q_INVOKABLE bool checkRenderingCapabilities()
static void preInitializeApplication(const char *argv0, ctkProxyStyle *style)
static void recordProcessEntryPointTime()
~qSlicerApplicationHelper() override
static void setupModuleFactoryManager(qSlicerModuleFactoryManager *moduleFactoryManager)
static void showMRMLEventLoggerWidget()
static Q_INVOKABLE int runAsAdmin(QString executable, QString parameters=QString(), QString workingDir=QString())
static int postInitializeApplication(qSlicerApplication &app, QScopedPointer< QSplashScreen > &splashScreen, QScopedPointer< SlicerMainWindowType > &window)
qSlicerApplicationHelper(QObject *parent=nullptr)