-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
calebbuahin
committed
Jul 27, 2019
1 parent
2db97c1
commit 4fd95fe
Showing
3 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -248,3 +248,4 @@ Makefile* | |
CMakeLists.txt.user | ||
Makefile | ||
|
||
.DS_Store |
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
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 |
---|---|---|
|
@@ -16,6 +16,8 @@ | |
#include <QPrintDialog> | ||
#include <QPointF> | ||
|
||
#define BUILD_YEAR (__DATE__ + 7) | ||
|
||
#ifdef USE_MPI | ||
#include <mpi.h> | ||
#endif | ||
|
@@ -3861,17 +3863,21 @@ void HydroCoupleComposer::onShowHydroCoupleVis() | |
|
||
void HydroCoupleComposer::onAbout() | ||
{ | ||
QString buildDateTime = QString("%1T%2").arg(__DATE__).arg(__TIME__); | ||
QString buildYear = QString("%1").arg(BUILD_YEAR); | ||
QString version = QString("%1.%2.%3").arg(VERSION_MAJOR).arg(VERSION_MINOR).arg(VERSION_BUILD); | ||
|
||
QMessageBox::about(this, "HydroCouple Composer", | ||
"<html>" | ||
"<head>" | ||
"<title>Component Information</title>" | ||
"</head>" | ||
"<body>" | ||
"<img alt=\"icon\" src=':/HydroCoupleComposer/hydrocouplecomposer' width=\"100\" align=\"left\" />" | ||
"<h3 align=\"center\">HydroCouple Composer 1.2.3</h3>" | ||
"<h3 align=\"center\">HydroCouple Composer "+version+"</h3>" | ||
"<hr>" | ||
"<p>Build Date: 11/30/2017</p>" | ||
"<p align=\"center\">Copyright 2014-2017. The HydroCouple Organization. All rights reserved.</p>" | ||
"<p>Build Date: " + buildDateTime + "</p>" | ||
"<p align=\"center\">Copyright 2014-"+ buildYear +". The HydroCouple Organization. All rights reserved.</p>" | ||
"<p align=\"center\">This program and its associated libraries is provided AS IS with NO WARRANTY OF ANY KIND, " | ||
"INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.</p>" | ||
"<p align=\"center\"><a href=\"mailto:[email protected]?Subject=HydroCouple Composer\">[email protected]</a></p>" | ||
|