Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95101971
pendcouplepanel.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
Thu, Dec 12, 21:14
Size
1 KB
Mime Type
text/x-c++
Expires
Sat, Dec 14, 21:14 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22930206
Attached To
rSYMKIT symkit
pendcouplepanel.h
View Options
#ifndef PENDCOUPLEPANEL_H
#define PENDCOUPLEPANEL_H
#include "panels/systempanel.h"
class
PendSphere
;
class
Valuedit
;
class
QGridLayout
;
class
PenduleDesc
;
class
PenduleSpherePanel
:
public
ActorPanel
{
Q_OBJECT
PenduleDesc
*
descriptor
;
int
index
;
Valuedit
*
angle
;
Valuedit
*
speed
;
Valuedit
*
length
;
Valuedit
*
mass
;
QGridLayout
*
layout
;
private
slots
:
void
angleChanged
(
double
);
void
speedChanged
(
double
);
void
lengthChanged
(
double
);
void
massChanged
(
double
);
public:
PenduleSpherePanel
(
PendSphere
*
,
PenduleDesc
*
descriptor
,
int
index
,
QWidget
*
parent
=
0
);
~
PenduleSpherePanel
();
virtual
void
updatePanel
()
override
;
};
class
PenduleCouple
;
class
Valuevisual
;
class
QHBoxLayout
;
class
PhaseSpace
;
class
PenduleCouplePanel
:
public
SystemPanel
{
Q_OBJECT
PenduleCouple
*
pendule
;
PenduleDesc
*
desc
;
QHBoxLayout
*
layout
;
Valuedit
*
gravity
;
Valuevisual
*
energy
;
PenduleSpherePanel
*
spheres
[
2
];
PhaseSpace
*
plot
;
virtual
void
updatePlugin
()
override
;
private
slots
:
void
gravityChange
(
double
);
public:
PenduleCouplePanel
(
PenduleCouple
*
,
QWidget
*
parent
=
0
);
~
PenduleCouplePanel
();
PhaseSpace
*
getPhaseSpace
();
};
#endif
// PENDCOUPLEPANEL_H
Event Timeline
Log In to Comment