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 oILAB {
23
24struct oiViewerMainWindow : public QMainWindow
25{
26 // https://kitware.github.io/vtk-examples/site/Cxx/Qt/RenderWindowNoUiFile/
27 // https://kitware.github.io/vtk-examples/site/Cxx/Qt/SideBySideRenderWindowsQt/
28 //https://vtk.org/doc/nightly/html/classQVTKOpenGLNativeWidget.html
29
30 Q_OBJECT
31
32 private slots:
33
34 void newViewerTab();
35
36
37 private:
38
40 QTabWidget* tabWidget;
42
43 public:
44
46
47};
48
49} // namespace oILAB
50#endif
51
52
53
54
55
56
57