PeriDyno
1.0.0
Loading...
Searching...
No Matches
D:
Peridyno
peridyno
src
Rendering
GUI
QtGUI
PropertyItem
QmSpinBox.cpp
Go to the documentation of this file.
1
#include "
QmSpinBox.h
"
2
3
#include "
Module.h
"
4
#include "
Node.h
"
5
#include "
Field.h
"
6
#include "
SceneGraphFactory.h
"
7
8
#include <QVBoxLayout>
9
10
#include <memory>
11
#include "
QmValueDialog.h
"
12
13
namespace
dyno
14
{
15
mSpinBox::mSpinBox
(QWidget* parent)
16
: QSpinBox(parent)
17
{
18
this->setKeyboardTracking(
false
);
19
ValueModify
=
new
ValueDialog
(
this
);
20
}
21
22
void
mSpinBox::wheelEvent
(QWheelEvent* event)
23
{
24
25
}
26
27
void
mSpinBox::contextMenuEvent
(QContextMenuEvent* event)
28
{
29
if
(
ValueModify
==
nullptr
)
30
ValueModify
=
new
ValueDialog
(
this
);
31
ValueModify
->updateDialogPosition();
32
ValueModify
->show();
33
}
34
35
36
37
}
38
Field.h
Module.h
Node.h
QmSpinBox.h
QmValueDialog.h
SceneGraphFactory.h
dyno::ValueDialog
Definition
QmValueDialog.h:52
dyno::mSpinBox::contextMenuEvent
void contextMenuEvent(QContextMenuEvent *event) override
Definition
QmSpinBox.cpp:27
dyno::mSpinBox::mSpinBox
mSpinBox(QWidget *parent=nullptr)
Definition
QmSpinBox.cpp:15
dyno::mSpinBox::ValueModify
ValueDialog * ValueModify
Definition
QmSpinBox.h:59
dyno::mSpinBox::wheelEvent
void wheelEvent(QWheelEvent *event)
Definition
QmSpinBox.cpp:22
dyno
This is an implementation of AdditiveCCD based on peridyno.
Definition
Array.h:25
Generated by
1.13.2