#include <Base/QTApp/qSlicerApplicationHelper.h>
Definition at line 37 of file qSlicerApplicationHelper.h.
◆ Self
◆ Superclass
◆ qSlicerApplicationHelper()
qSlicerApplicationHelper::qSlicerApplicationHelper |
( |
QObject * |
parent = nullptr | ) |
|
◆ ~qSlicerApplicationHelper()
qSlicerApplicationHelper::~qSlicerApplicationHelper |
( |
| ) |
|
|
override |
◆ checkRenderingCapabilities()
static Q_INVOKABLE bool qSlicerApplicationHelper::checkRenderingCapabilities |
( |
| ) |
|
|
static |
Display a warning popup if rendering capabilities do not meet requirements. If user chooses not to continue then this method returns false. Known limitation: currently this method only works reliably on Windows operating system. See more information at https://issues.slicer.org/view.php?id=4252
◆ postInitializeApplication()
template<typename SlicerMainWindowType >
static int qSlicerApplicationHelper::postInitializeApplication |
( |
qSlicerApplication & |
app, |
|
|
QScopedPointer< QSplashScreen > & |
splashScreen, |
|
|
QScopedPointer< SlicerMainWindowType > & |
window |
|
) |
| |
|
static |
Perform initialization steps on the application.
- Returns
- If return value is non-zero then the application will terminate using the returned value as exit code.
◆ preInitializeApplication()
static void qSlicerApplicationHelper::preInitializeApplication |
( |
const char * |
argv0, |
|
|
ctkProxyStyle * |
style |
|
) |
| |
|
static |
◆ runAsAdmin()
static Q_INVOKABLE int qSlicerApplicationHelper::runAsAdmin |
( |
QString |
executable, |
|
|
QString |
parameters = QString() , |
|
|
QString |
workingDir = QString() |
|
) |
| |
|
static |
Run command as administrator (UAC on Windows, sudo on linux) Currently only works on Windows. Returns error code (0=success).
◆ setupModuleFactoryManager()
◆ showMRMLEventLoggerWidget()
static void qSlicerApplicationHelper::showMRMLEventLoggerWidget |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: