-
Notifications
You must be signed in to change notification settings - Fork 11
/
main.cpp
executable file
·45 lines (31 loc) · 972 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
//#include <QtCore>
//#include <QtGui>
//#include <QApplication>
//#include <QMainWindow>
//#include "lib/qtermwidget.h"
//int main(int argc, char *argv[])
//{
// QApplication app(argc, argv);
// QMainWindow *mainWindow = new QMainWindow();
// QTermWidget *console = new QTermWidget();
// QFont font = QApplication::font();
// font.setFamily("Terminus");
// font.setPointSize(12);
// console->setTerminalFont(font);
// //console->setColorScheme(COLOR_SCHEME_BLACK_ON_LIGHT_YELLOW);
// console->setScrollBarPosition(QTermWidget::ScrollBarRight);
// mainWindow->setCentralWidget(console);
// mainWindow->resize(802, 610);
// QObject::connect(console, SIGNAL(finished()), mainWindow, SLOT(close()));
// mainWindow->show();
// return app.exec();
//}