FlightGear next
QtLauncher.cxx File Reference
#include "config.h"
#include "QtLauncher.hxx"
#include <locale.h>
#include <QApplication>
#include <QDebug>
#include <QDir>
#include <QFileInfo>
#include <QMessageBox>
#include <QOffscreenSurface>
#include <QOpenGLContext>
#include <QPointer>
#include <QProcess>
#include <QProgressDialog>
#include <QSettings>
#include <QString>
#include <QThread>
#include <QTimer>
#include <QTranslator>
#include <QUrl>
#include <QtGlobal>
#include <simgear/timing/timestamp.hxx>
#include <simgear/props/props_io.hxx>
#include <simgear/structure/exception.hxx>
#include <simgear/structure/subsystem_mgr.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/misc/strutils.hxx>
#include <simgear/package/Root.hxx>
#include <simgear/package/Catalog.hxx>
#include <simgear/package/Package.hxx>
#include <simgear/package/Install.hxx>
#include <simgear/debug/logstream.hxx>
#include <Add-ons/AddonManager.hxx>
#include <Airports/airport.hxx>
#include <Main/fg_props.hxx>
#include <Main/globals.hxx>
#include <Main/sentryIntegration.hxx>
#include <Navaids/NavDataCache.hxx>
#include <Navaids/SHPParser.hxx>
#include <Navaids/navrecord.hxx>
#include <Main/fg_init.hxx>
#include <Main/locale.hxx>
#include <Main/options.hxx>
#include <Network/HTTPClient.hxx>
#include "LaunchConfig.hxx"
#include "LauncherMainWindow.hxx"
#include "LocalAircraftCache.hxx"
#include "PathListModel.hxx"
#include "SetupRootDialog.hxx"
#include "UnitsModel.hxx"
#include "QtLauncher.moc"

Go to the source code of this file.

Namespaces

namespace  flightgear
 FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information and waypoints.
 

Functions

void fgqt_setPoseAsStandaloneApp (bool b)
 
static void initQtResources ()
 
static void simgearMessageOutput (QtMsgType type, const QMessageLogContext &context, const QString &msg)
 
void flightgear::selectUITranslation ()
 
void flightgear::initApp (int &argc, char **argv, bool doInitQSettings)
 
void flightgear::shutdownQtApp ()
 
void flightgear::initQSettings ()
 
bool flightgear::checkKeyboardModifiersForSettingFGRoot ()
 
void flightgear::restartTheApp ()
 restartTheApp quit the application and relaunch it, passing the –launcher flag explicitly.
 
void flightgear::startLaunchOnExit (const std::vector< std::string > &originalCommandLine)
 @ brief helper to re-open the launcher once FLightGear exits cleanly
 
void flightgear::launcherSetSceneryPaths ()
 
bool flightgear::runLauncherDialog ()
 
bool flightgear::runInAppLauncherDialog ()
 
LockFileDialogResult flightgear::showLockFileDialog ()
 
bool flightgear::showSetupRootDialog (bool usingDefaultRoot)
 
SetupRootResult flightgear::restoreUserSelectedRoot (SGPath &path)
 
void flightgear::warnAboutGLVersion ()
 

Variables

static std::unique_ptr< QApplication > flightgear::static_qApp
 
static const char * flightgear::static_lockFileDialog_Title
 
static const char * flightgear::static_lockFileDialog_Text
 
static const char * flightgear::static_lockFileDialog_Info
 

Function Documentation

◆ fgqt_setPoseAsStandaloneApp()

void fgqt_setPoseAsStandaloneApp ( bool b)
extern

Definition at line 34 of file WindowBuilder.cxx.

◆ initQtResources()

static void initQtResources ( )
static

Definition at line 289 of file QtLauncher.cxx.

◆ simgearMessageOutput()

static void simgearMessageOutput ( QtMsgType type,
const QMessageLogContext & context,
const QString & msg )
static

Definition at line 297 of file QtLauncher.cxx.