qse  0.5.4
Public Slots | Public Member Functions | List of all members
QseProcessorMain Class Reference

#include <qseprocessormain.h>

Inheritance diagram for QseProcessorMain:
Inheritance graph

Public Slots

void doAbout ()
 

Public Member Functions

 QseProcessorMain (QMainWindow *parent=0)
 

Detailed Description

Definition at line 7 of file qseprocessormain.h.

Constructor & Destructor Documentation

QseProcessorMain::QseProcessorMain ( QMainWindow *  parent = 0)

Definition at line 6 of file qseprocessormain.cpp.

References doAbout().

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 }

Member Function Documentation

void QseProcessorMain::doAbout ( )
slot

Definition at line 16 of file qseprocessormain.cpp.

Referenced by QseProcessorMain().

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 }

The documentation for this class was generated from the following files: