Introduction - If you have any usage issues, please Google them yourself
#include <QtGui/QApplication>
#include <QtCore/QTextCodec>
#include "PanGraphRun.h"
int main(int argc, char*argv[])
{
QApplication a(argc, argv)
QTextCodec::setCodecForTr(QTextCodec::codecForName("GBK"))
PanGraphRun w
if(argc > 1)
{
w.loadFile(QObject::tr(argv[1]))
}
w.showMaximized()
a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()))
return a.exec()
}
Packet : 21840264pangraphrun.rar filelist
PanGraphRun.h
TEventItem.h
main.cpp
MyConnItem.cpp
MyConnItem.h
MyGraphics.cpp
MyGraphics.h
MyLineItem.cpp
MyLineItem.h
MyQsaI.cpp
MyQsaI.h
MyRectItem.cpp
MyRectItem.h
PanGraphRun.cpp