-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This time we update the GUI of PAGANI toolkit and provide the corresp…
…onding source code. Believe that the user experience will be better.
- Loading branch information
1 parent
786f5ee
commit 204d589
Showing
43 changed files
with
6,401 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#------------------------------------------------- | ||
# | ||
# Project created by QtCreator 2014-02-25T21:40:26 | ||
# | ||
#------------------------------------------------- | ||
|
||
QT += core gui | ||
|
||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | ||
|
||
TARGET = BNAtest10 | ||
TEMPLATE = app | ||
|
||
|
||
SOURCES += main.cpp\ | ||
mainwindow.cpp \ | ||
smainwindow.cpp | ||
|
||
|
||
HEADERS += mainwindow.h \ | ||
smainwindow.h | ||
|
||
|
||
FORMS += mainwindow.ui \ | ||
smainwindow.ui | ||
|
||
RESOURCES += \ | ||
z-transformation.qrc \ | ||
smallworldproperty.qrc |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#include "mainwindow.h" | ||
#include <QApplication> | ||
|
||
|
||
|
||
//注意主函数没有改变! | ||
OperatingSystem operating_system; | ||
|
||
int main(int argc, char *argv[]) | ||
{ | ||
#ifdef Q_OS_WIN32 | ||
operating_system = os_win32; | ||
#endif | ||
#ifdef Q_OS_LINUX | ||
operating_system = linux; | ||
#endif | ||
|
||
QApplication a(argc, argv); | ||
|
||
// QFont font; | ||
// font.setFamily(("Sans Serif")); //注意这里不完全是TTF文件名字 | ||
// font.setBold(false); | ||
// a.setFont(font); | ||
|
||
MainWindow w; | ||
w.show(); | ||
|
||
return a.exec(); | ||
} |
Oops, something went wrong.