21 #ifndef __qSlicerApplicationHelper_h 22 #define __qSlicerApplicationHelper_h 25 #include <QScopedPointer> 27 #include <QSplashScreen> 32 #include "qSlicerBaseQTAppExport.h" 47 static void preInitializeApplication(
const char* argv0, ctkProxyStyle* style);
52 template<
typename SlicerMainWindowType>
53 static int postInitializeApplication(
55 QScopedPointer<QSplashScreen>& splashScreen,
56 QScopedPointer<SlicerMainWindowType>& window);
60 static void showMRMLEventLoggerWidget();
66 Q_INVOKABLE
static bool checkRenderingCapabilities();
71 Q_INVOKABLE
static int runAsAdmin(QString executable, QString parameters = QString(), QString workingDir = QString());
77 #include "qSlicerApplicationHelper.txx"
qSlicerApplicationHelper Self