OpenCores
URL https://opencores.org/ocsvn/ezidebug/ezidebug/trunk

Subversion Repositories ezidebug

[/] [ezidebug/] [trunk/] [EziDebug_src/] [main.cpp] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 EziDebug
/****************************************************************************
2
**
3
** Copyright (C) 2012.
4
** All rights reserved.
5
**
6
****************************************************************************/
7
 
8
#include <QApplication>
9
#include <QtGui>
10
 
11
 
12
#include "toolwindow.h"
13
//#include "miniwindow.h"
14
//#include "projectsetwizard.h"
15
//#include "listwindow.h"
16
 
17
 
18
int main(int argc, char *argv[])
19
{
20
    QApplication app(argc, argv);
21
 
22
    QString sPath = app.applicationDirPath();
23
    sPath += QString("/plugins");
24
    app.addLibraryPath(sPath);
25
 
26
    QString translatorFileName = QLatin1String("qt_");
27
    translatorFileName += QLocale::system().name();
28
    QTranslator *translator = new QTranslator(&app);
29
    if (translator->load(translatorFileName, QLibraryInfo::location(QLibraryInfo::TranslationsPath)))
30
        app.installTranslator(translator);
31
 
32
    ToolWindow dialog ;
33
    dialog.show();
34
    dialog.listwindowInfoInit();
35
 
36
 
37
//    TitleBar * aa = new TitleBar ;
38
//    aa->show();
39
 
40
//    ProjectSetWizard wizard;
41
//    wizard.show();
42
 
43
//    MiniWindow miniw;
44
//    miniw.show();
45
 
46
//    ListWindow listw/*(QApplication app)*/;
47
//    listw.show();
48
 
49
//    TitleBar t;
50
//    t.show();
51
 
52
//    QDockWidget aa();
53
//    aa.topLevelChanged(true);
54
//    aa.show();
55
 
56
 
57
 
58
    return app.exec();
59
}
60
 
61
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.