qse  0.5.4
qseprocessormain.cpp
Go to the documentation of this file.
1 #include "qcepmacros.h"
2 #include "qseprocessormain.h"
3 #include <QMessageBox>
4 #include "qsedatasetmodel.h"
5 
7  : QMainWindow(parent)
8 {
9  setupUi(this);
10 
11  setWindowTitle(windowTitle()+" "+QString(STR(QSE_VERSION)));
12 
13  connect(m_ActionAboutQSE, SIGNAL(triggered()), this, SLOT(doAbout()));
14 }
15 
17 {
18  QString about = "QSE Spec Exafs Data Display and Normnalisation\nAuthor: Guy Jennings\n";
19 
20  about += "QSE Version " STR(QSE_VERSION) "\n";
21  about += "QWT Version " STR(QCEPLIB_QWT_VERSION) "\n";
22  about += "QCEPLIB Version " STR(QCEPLIB_VERSION) "\n";
23 
24 
25  if (sizeof(void*) == 4) {
26  about += "32 Bit";
27  } else {
28  about += "64 Bit";
29  }
30 
31 #ifdef Q_CC_MSVC
32  about += " MSVC";
33 #endif
34 
35 #ifdef Q_CC_GNU
36 #ifdef Q_CC_CLANG
37  about += " clang";
38 #else
39  about += " gcc";
40 #endif
41 #endif
42 
43 #ifdef QT_NO_DEBUG
44  about += " Release\n";
45 #else
46  about += " Debug\n";
47 #endif
48 
49  QMessageBox::about(NULL, "QSE", about);
50 }
QseProcessorMain(QMainWindow *parent=0)