File: UmlUseCase.cpp

package info (click to toggle)
bouml 4.21-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 73,336 kB
  • ctags: 55,459
  • sloc: cpp: 290,644; makefile: 228; sh: 13
file content (28 lines) | stat: -rw-r--r-- 453 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

#include <qapplication.h>

#include "UmlCom.h"
#include "TabDialog.h"
#include "UmlUseCase.h"

void UmlUseCase::wizard() {
  char ** argv = 0;
  
  int argc = 0;
  
  QApplication a(argc, argv);

  TabDialog tabdialog(this);
  
  tabdialog.resize(600, 300);
  a.setMainWidget( &tabdialog );
  tabdialog.show();
  
  a.exec();
  
  UmlCom::bye();	// application must not be deleted
  UmlCom::close();	// application must not be deleted
  
  throw 0;
}