PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::PAnimationWidget Class Reference

#include <PAnimationWidget.h>

Inheritance diagram for dyno::PAnimationWidget:
Collaboration diagram for dyno::PAnimationWidget:

Public Slots

void toggleSimulation ()
 
void resetSimulation ()
 
void takeOneStep ()
 
void simulationFinished ()
 
void updateSlider (int frame)
 
void buildIconLabel (QLabel *Label, QPixmap *Icon, QPushButton *btn, int size)
 
void totalFrameChanged (int num)
 
void runForever (int state)
 

Signals

void simulationStarted ()
 
void simulationStopped ()
 

Public Member Functions

 PAnimationWidget (QWidget *parent=nullptr)
 
 ~PAnimationWidget ()
 

Private Attributes

QPushButton * mStartSim
 
QPushButton * mNextStep
 
QPushButton * mResetSim
 
QPixmap * mStartIcon
 
QPixmap * mPauseIcon
 
QPixmap * mResetIcon
 
QPixmap * mNextStepIcon
 
QPixmap * mFinishIcon
 
QLabel * mResetLabel
 
QLabel * mStartLabel
 
QLabel * mNextStepLabel
 
QCheckBox * mPersistent
 
QSpinBox * mTotalFrameSpinbox
 
PAnimationQSlidermFrameSlider
 
int mTotalFrame
 
QLabel * label [labelSize]
 

Static Private Attributes

static const int labelSize = 6
 

Detailed Description

Definition at line 19 of file PAnimationWidget.h.

Constructor & Destructor Documentation

◆ PAnimationWidget()

dyno::PAnimationWidget::PAnimationWidget ( QWidget * parent = nullptr)
explicit

Definition at line 17 of file PAnimationWidget.cpp.

Here is the call graph for this function:

◆ ~PAnimationWidget()

dyno::PAnimationWidget::~PAnimationWidget ( )

Definition at line 117 of file PAnimationWidget.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ buildIconLabel

void dyno::PAnimationWidget::buildIconLabel ( QLabel * Label,
QPixmap * Icon,
QPushButton * btn,
int size )
slot

Definition at line 192 of file PAnimationWidget.cpp.

Here is the caller graph for this function:

◆ resetSimulation

void dyno::PAnimationWidget::resetSimulation ( )
slot

Definition at line 155 of file PAnimationWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ runForever

void dyno::PAnimationWidget::runForever ( int state)
slot

Definition at line 221 of file PAnimationWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ simulationFinished

void dyno::PAnimationWidget::simulationFinished ( )
slot

Definition at line 174 of file PAnimationWidget.cpp.

Here is the caller graph for this function:

◆ simulationStarted

void dyno::PAnimationWidget::simulationStarted ( )
signal
Here is the caller graph for this function:

◆ simulationStopped

void dyno::PAnimationWidget::simulationStopped ( )
signal
Here is the call graph for this function:
Here is the caller graph for this function:

◆ takeOneStep

void dyno::PAnimationWidget::takeOneStep ( )
slot

Definition at line 169 of file PAnimationWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toggleSimulation

void dyno::PAnimationWidget::toggleSimulation ( )
slot

Definition at line 124 of file PAnimationWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ totalFrameChanged

void dyno::PAnimationWidget::totalFrameChanged ( int num)
slot

Definition at line 206 of file PAnimationWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateSlider

void dyno::PAnimationWidget::updateSlider ( int frame)
slot

Definition at line 187 of file PAnimationWidget.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ label

QLabel* dyno::PAnimationWidget::label[labelSize]
private

Definition at line 69 of file PAnimationWidget.h.

◆ labelSize

const int dyno::PAnimationWidget::labelSize = 6
staticprivate

Definition at line 68 of file PAnimationWidget.h.

◆ mFinishIcon

QPixmap* dyno::PAnimationWidget::mFinishIcon
private

Definition at line 55 of file PAnimationWidget.h.

◆ mFrameSlider

PAnimationQSlider* dyno::PAnimationWidget::mFrameSlider
private

Definition at line 64 of file PAnimationWidget.h.

◆ mNextStep

QPushButton* dyno::PAnimationWidget::mNextStep
private

Definition at line 48 of file PAnimationWidget.h.

◆ mNextStepIcon

QPixmap* dyno::PAnimationWidget::mNextStepIcon
private

Definition at line 54 of file PAnimationWidget.h.

◆ mNextStepLabel

QLabel* dyno::PAnimationWidget::mNextStepLabel
private

Definition at line 59 of file PAnimationWidget.h.

◆ mPauseIcon

QPixmap* dyno::PAnimationWidget::mPauseIcon
private

Definition at line 52 of file PAnimationWidget.h.

◆ mPersistent

QCheckBox* dyno::PAnimationWidget::mPersistent
private

Definition at line 61 of file PAnimationWidget.h.

◆ mResetIcon

QPixmap* dyno::PAnimationWidget::mResetIcon
private

Definition at line 53 of file PAnimationWidget.h.

◆ mResetLabel

QLabel* dyno::PAnimationWidget::mResetLabel
private

Definition at line 57 of file PAnimationWidget.h.

◆ mResetSim

QPushButton* dyno::PAnimationWidget::mResetSim
private

Definition at line 49 of file PAnimationWidget.h.

◆ mStartIcon

QPixmap* dyno::PAnimationWidget::mStartIcon
private

Definition at line 51 of file PAnimationWidget.h.

◆ mStartLabel

QLabel* dyno::PAnimationWidget::mStartLabel
private

Definition at line 58 of file PAnimationWidget.h.

◆ mStartSim

QPushButton* dyno::PAnimationWidget::mStartSim
private

Definition at line 47 of file PAnimationWidget.h.

◆ mTotalFrame

int dyno::PAnimationWidget::mTotalFrame
private

Definition at line 67 of file PAnimationWidget.h.

◆ mTotalFrameSpinbox

QSpinBox* dyno::PAnimationWidget::mTotalFrameSpinbox
private

Definition at line 62 of file PAnimationWidget.h.


The documentation for this class was generated from the following files: