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
22
namespace
oILAB
{
23
24
struct
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
39
size_t
viewerCount
;
40
QTabWidget*
tabWidget
;
41
QAction*
newViewerAction
;
42
43
public
:
44
45
oiViewerMainWindow
();
46
47
};
48
49
}
// namespace oILAB
50
#endif
51
52
53
54
55
56
57
oILAB
Definition
BiCrystal.cpp:13
oiViewerVTKwidget.h
oILAB::oiViewerMainWindow
Definition
oiViewerMainWindow.h:25
oILAB::oiViewerMainWindow::viewerCount
size_t viewerCount
Definition
oiViewerMainWindow.h:39
oILAB::oiViewerMainWindow::newViewerTab
void newViewerTab()
Definition
oiViewerMainWindow.cpp:36
oILAB::oiViewerMainWindow::oiViewerMainWindow
oiViewerMainWindow()
Definition
oiViewerMainWindow.cpp:20
oILAB::oiViewerMainWindow::newViewerAction
QAction * newViewerAction
Definition
oiViewerMainWindow.h:41
oILAB::oiViewerMainWindow::tabWidget
QTabWidget * tabWidget
Definition
oiViewerMainWindow.h:40
include
Visualization
oiViewerMainWindow.h
Generated on Sat Mar 28 2026 00:15:04 for oILAB by
1.9.8