Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Functions
main.cpp File Reference
#include "dialog/launchwindow.h"
#include <cassert>
#include <functional>
#include <string>
#include <QApplication>
#include <QEvent>
#include <QIcon>
#include <QLocale>
#include <QObject>
#include <QString>
#include <QStringList>
#include <QtGlobal>
#include "tabletproximityeventfilter.h"
#include "cli/commandlineparser.h"
#include "common/uiactions.h"
#include "dialog/appsplashscreen.h"
#include "dialog/welcomewindow.h"
#include "localization/localization.h"
#include "preferences/globalpreferences.h"
#include "test/functionaltestrunner.h"
#include "version/versioninfo.h"

Functions

int main (int argc, char *argv[])
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)
138 {
139  setApplicationSettingsFields();
140  incrementAppLaunchCount();
141 
142  QApplication app(argc, argv);
144 
145 #if defined(Q_OS_LINUX) || defined(Q_OS_MAC)
146  // Some Linux/Macs taskbars/DEs use the application window icon to set the taskbar icon
147  // So we explicitly set the window icon here
148  app.setWindowIcon(QIcon(":/logos/logo_small.png"));
149 #endif
150 
151  const QStringList arguments{app.arguments()};
152  setLocale(arguments);
153 
154 #if defined DATASLINGER_INCLUDED
155  geometrize::setupImageSlinger();
156  geometrize::setupImageReceiver();
157  geometrize::setupSvgShapeSlinger();
158 #endif
159 
160  const auto run = resolveLaunchFunction(arguments);
161  return run(app);
162 }
TabletProximityEventFilter & getSharedTabletProximityEventFilterInstance()
getSharedTabletProximityEventFilterInstance Gets a reference to the shared instance of the tablet pro...
Definition: tabletproximityeventfilter.cpp:32

Here is the call graph for this function: