Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F103565566
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
Mon, Mar 3, 01:01
Size
1 KB
Mime Type
text/x-c++
Expires
Wed, Mar 5, 01:01 (2 d)
Engine
blob
Format
Raw Data
Handle
24576230
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