FACT++  1.0
void do3DView ( int  argc,
char **  argv 
)

Definition at line 42 of file TempViewer.cc.

References TemperatureSub::setViewer(), and TemperatureSub::view.

Referenced by main().

43 {
44  QApplication a(argc, argv);
45 
46  Q3DCameraWidget* view = new Q3DCameraWidget();
47  TemperatureSub sub;
48 
49  QWidget window;
50  QHBoxLayout* layout = new QHBoxLayout(&window);
51  layout->setContentsMargins(0,0,0,0);
52  layout->addWidget(view);
53 // layout->setMouseTracking(true);
54 // window.setMouseTracking(true);
55 // view->setMouseTracking(true);
56  window.resize(600,600);
57  window.show();
58 
59  sub.setViewer(view);
60 
61  a.exec();
62 
63 }
void setViewer(Q3DCameraWidget *v)
Definition: TempViewer.cc:22

+ Here is the call graph for this function:

+ Here is the caller graph for this function: