1.00.0
C++ Simulated Travel Demand Generation Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Pages
trademgen.cpp
Go to the documentation of this file.
1
#include "trademgen.h"
2
3
#include <QtGui/QLabel>
4
#include <QtGui/QMenu>
5
#include <QtGui/QMenuBar>
6
#include <QtGui/QAction>
7
8
trademgen::trademgen()
9
{
10
QLabel* l =
new
QLabel(
this
);
11
l->setText(
"Hello World!"
);
12
setCentralWidget( l );
13
QAction* a =
new
QAction(
this
);
14
a->setText(
"Quit"
);
15
connect(a, SIGNAL(triggered()), SLOT(close()) );
16
menuBar()->addMenu(
"File"
)->addAction( a );
17
}
18
19
trademgen::~trademgen()
20
{}
21
22
#include "trademgen.moc"
Generated on Sun Dec 23 2012 17:58:29 for TraDemGen by
1.8.1.1