File indexing completed on 2024-05-12 16:07:25

0001 /* This file is part of the TikZKit project
0002  *
0003  * Copyright (C) 2013 Dominik Haumann <dhaumann@kde.org>
0004  *
0005  * This program is free software; you can redistribute it and/or modify
0006  * it under the terms of the GNU General Public License as published by
0007  * the Free Software Foundation, either version 2 or the License, or
0008  * (at your option) any later version.
0009  *
0010  * This program is distributed in the hope that it will be useful,
0011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0013  * Library General Public License for more details.
0014  *
0015  * You should have received a copy of the GNU General Public License
0016  * along with this program; If not, see <http://www.gnu.org/licenses/>.
0017  */
0018 #include <QApplication>
0019 #include "TikzKit.h"
0020 #include "MainWindow.h"
0021 
0022 int main(int argc, char* argv[])
0023 {
0024     QApplication app(argc, argv);
0025 
0026     /**
0027      * enable high dpi support
0028      */
0029     app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
0030 
0031     // create TikzKit singleton
0032     TikzKit tikzkit;
0033 
0034     return app.exec();
0035 }
0036 
0037 // kate: indent-width 4; replace-tabs on;