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[] 
)
124 {
125  setApplicationSettingsFields();
126  incrementAppLaunchCount();
127 
128  QApplication app(argc, argv);
130 
131 #if defined(Q_OS_LINUX) || defined(Q_OS_MAC)
132  // Some Linux/Macs taskbars/DEs use the application window icon to set the taskbar icon
133  // So we explicitly set the window icon here
134  app.setWindowIcon(QIcon(":/logos/logo_small.png"));
135 #endif
136 
137  const QStringList arguments{app.arguments()};
138  setLocale(arguments);
139 
140 #if defined DATASLINGER_INCLUDED
141  geometrize::setupImageSlinger();
142  geometrize::setupImageReceiver();
143  geometrize::setupSvgShapeSlinger();
144 #endif
145 
146  const auto run = resolveLaunchFunction(arguments);
147  return run(app);
148 }
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: