oILAB
Loading...
Searching...
No Matches
oiViewerMainWindow.h
Go to the documentation of this file.
1/* This file is part of MODEL, the Mechanics Of Defect Evolution Library.
2 *
3 * Copyright (C) 2011 by Giacomo Po <gpo@ucla.edu>.
4 *
5 * model is distributed without any warranty under the
6 * GNU General Public License (GPL) v2 <http://www.gnu.org/licenses/>.
7 */
8
9#ifndef model_oiViewerMainWindow_H_
10#define model_oiViewerMainWindow_H_
11
12#include <QtWidgets/QMainWindow>
13#include <QtWidgets/QWidget>
14#include <QGridLayout>
15#include <QPushButton>
16#include <QTabWidget>
17#include <QAction>
18
19
20#include <oiViewerVTKwidget.h>
21
22namespace gbLAB
23{
24
25struct oiViewerMainWindow : public QMainWindow
26{
27 // https://kitware.github.io/vtk-examples/site/Cxx/Qt/RenderWindowNoUiFile/
28 // https://kitware.github.io/vtk-examples/site/Cxx/Qt/SideBySideRenderWindowsQt/
29 //https://vtk.org/doc/nightly/html/classQVTKOpenGLNativeWidget.html
30
31 Q_OBJECT
32
33 private slots:
34
35 void newViewerTab();
36
37
38 private:
39
41 QTabWidget* tabWidget;
43
44 public:
45
47
48};
49
50} // namespace model
51#endif
52
53
54
55
56
57
58