/** * @RDE_HEADER@ * Settings Editor -> creating and editing existing default settings * $Id$ * $HeadURL$ * $Author$ */ #include "main_window.h" #include #include #include #include #include int main(int argc, char *argv[]) { NGLApplication app(argc, argv); app.createLogger("SettingsEditor", "log4cxx_settingsEditor.props"); NGL::INGLLogger &logger = app.baseLogger(); QCoreApplication::setApplicationName(QLatin1String("Settings Editor")); QCoreApplication::setOrganizationName(QLatin1String("RME")); LtsPluginManager::LtsPluginLoader::getInstance()->loadPlugins(LtsPluginManager::PluginType::STYLE, nullptr, {QStringLiteral("rde.light")}); // load style plugin int retval = 0; STARTUP_LOG(logger); { QScopedPointer mw(new SettingsEditor::MainWindow); mw->setWindowTitle(QLatin1String("ProjectSettingsEditor")); mw->show(); app.setQuitOnLastWindowClosed(true); retval = app.exec(); SHUTDOWN_LOG(logger); } return retval; }