Initial commit

This commit is contained in:
2017-05-06 18:21:45 +02:00
commit 7befc37f3f
9 changed files with 943 additions and 0 deletions

20
main.cpp Normal file
View File

@@ -0,0 +1,20 @@
#include "mainwindow.hpp"
#include <QApplication>
int main(int argc, char *argv[])
{
int entriesNumber = UIEntry::MIN_ENTRIES_NUMBER, temp;
bool ok;
if (argc == 2)
{
temp = QString(argv[1]).toInt(&ok);
if (ok)
entriesNumber = temp;
}
QApplication a(argc, argv);
MainWindow w(0, entriesNumber);
w.show();
return a.exec();
}