-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmain.cpp
More file actions
24 lines (23 loc) · 680 Bytes
/
main.cpp
File metadata and controls
24 lines (23 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <QApplication>
#include <QBarCategoryAxis>
#include <QBarSet>
#include <QLineSeries>
#include <QPixmap>
#include <QSplashScreen>
#include <QtCharts>
#include "mainwindow.h"
int main(int argc, char *argv[]) {
QApplication a(argc, argv);
QSplashScreen splashScreen;
splashScreen.setPixmap(QPixmap(":/ico/splashScreen.jpg"));
splashScreen.show();
splashScreen.showMessage("Updating From Server......", Qt::AlignBottom | Qt::AlignLeft, Qt::white);
// a.processEvents();
MainWindow w;
w.setWindowTitle("Cryptocurrency Visualization");
// w.resize(1366, 768);
// w.show();
splashScreen.finish(&w);
//![5]
return a.exec();
}