Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95163159
ressortpanel.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Dec 13, 08:58
Size
1 KB
Mime Type
text/x-c++
Expires
Sun, Dec 15, 08:58 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22919259
Attached To
rSYMKIT symkit
ressortpanel.h
View Options
#ifndef RESSORTPANEL_H
#define RESSORTPANEL_H
#include "panels/actorpanel.h"
class
Ressort
;
class
Ressor
;
class
QVBoxLayout
;
class
PhaseSpace
;
class
QGridLayout
;
class
Valuedit
;
class
VectorEdit
;
class
RessortPanel
:
public
ActorPanel
{
Q_OBJECT
Ressor
*
ressor
;
Ressort
*
desc
;
QVBoxLayout
*
centering
;
QSplitter
*
splitter
;
PhaseSpace
*
plot
;
QWidget
*
valuepanel
;
QGridLayout
*
valuesLayout
;
Valuedit
*
position
;
Valuedit
*
speed
;
VectorEdit
*
offset
;
Valuedit
*
k
;
Valuedit
*
mass
;
Valuedit
*
friction
;
Valuedit
*
length
;
Valuedit
*
gravity
;
VectorEdit
*
axys
;
private
slots
:
void
positionChanged
(
double
);
void
speedChanged
(
double
);
void
offsetChanged
(
std
::
size_t
,
double
);
void
kChanged
(
double
);
void
massChanged
(
double
);
void
frictionChanged
(
double
);
void
lengthChanged
(
double
);
void
gravityChanged
(
double
);
void
axysChange
(
std
::
size_t
,
double
);
public:
RessortPanel
(
Ressor
*
,
QWidget
*
parent
=
0
);
~
RessortPanel
();
PhaseSpace
*
getPhaseSpace
();
virtual
void
updatePanel
()
override
;
};
#endif
// RESSORTPANEL_H
Event Timeline
Log In to Comment