#include <ecvApplicationBase.h>
Definition at line 35 of file ecvApplicationBase.h.
◆ ecvApplicationBase()
| ecvApplicationBase::ecvApplicationBase |
( |
int & |
argc, |
|
|
char ** |
argv, |
|
|
bool |
isCommandLine, |
|
|
const QString & |
version |
|
) |
| |
◆ InitOpenGL()
| static void ecvApplicationBase::InitOpenGL |
( |
| ) |
|
|
static |
This must be called before instantiating the application class so it can setup OpenGL first.
Referenced by main().
◆ isCommandLine()
| bool ecvApplicationBase::isCommandLine |
( |
| ) |
const |
|
inline |
◆ setAppStyle()
| bool ecvApplicationBase::setAppStyle |
( |
const QString & |
styleKey | ) |
|
Set the application style.
- Parameters
-
| styleKey | Style name (from QStyleFactory::keys() or custom like "QDarkStyleSheet::Dark") |
- Returns
- true if successful, false otherwise
Supported style keys:
- Any Qt native style (e.g., "Fusion", "Windows", "macOS", "macintosh")
- "QDarkStyleSheet::Dark" - Dark theme (if available)
- "QDarkStyleSheet::Light" - Light theme (if available)
On macOS, the native "macintosh" or "macOS" style is used by default if available, providing native macOS appearance.
◆ translationPath()
| const QString& ecvApplicationBase::translationPath |
( |
| ) |
const |
◆ versionLongStr()
| QString ecvApplicationBase::versionLongStr |
( |
bool |
includeOS | ) |
const |
◆ versionStr()
| QString ecvApplicationBase::versionStr |
( |
| ) |
const |
The documentation for this class was generated from the following file: