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
gbLAB
23
{
24
25
struct
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
40
size_t
viewerCount
;
41
QTabWidget*
tabWidget
;
42
QAction*
newViewerAction
;
43
44
public
:
45
46
oiViewerMainWindow
();
47
48
};
49
50
}
// namespace model
51
#endif
52
53
54
55
56
57
58
gbLAB
Definition
BiCrystal.cpp:13
oiViewerVTKwidget.h
gbLAB::oiViewerMainWindow
Definition
oiViewerMainWindow.h:26
gbLAB::oiViewerMainWindow::newViewerAction
QAction * newViewerAction
Definition
oiViewerMainWindow.h:42
gbLAB::oiViewerMainWindow::viewerCount
size_t viewerCount
Definition
oiViewerMainWindow.h:40
gbLAB::oiViewerMainWindow::newViewerTab
void newViewerTab()
Definition
oiViewerMainWindow.cpp:36
gbLAB::oiViewerMainWindow::tabWidget
QTabWidget * tabWidget
Definition
oiViewerMainWindow.h:41
gbLAB::oiViewerMainWindow::oiViewerMainWindow
oiViewerMainWindow()
Definition
oiViewerMainWindow.cpp:22
include
Visualization
oiViewerMainWindow.h
Generated on Wed Aug 6 2025 23:06:44 for oILAB by
1.9.8