29 #include "ui_LoadsEditor.h"
30 #include <Component.h>
void reset()
when the user clic on reset, reset the loads (using load manager loads)
void applyToClicked()
when user clicked on the applyTo button
void deleteLoad()
when user click to delete current load
void apply()
when the user clic on apply
void zChanged()
when user changed the direction z
void unitChanged()
when user changed the current unit
~LoadsEditor()
Destructor.
void editLoad()
let user play with a current load
void updateND()
update the null displacement display
void loadTableItemClicked(QTableWidgetItem *)
when the user click on the load list
void applyToReturnPressed()
when user pressed return in the applyTo line edit
void newValueEvent()
when user wants to add a new value event
void init()
initialize everything
This class makes it possible to manage a list of "Load".
Definition: Loads.h:70
This class manages the applied all loads (see LML), deformation add-on, atom data monitoring and atom...
Definition: LoadsManager.h:69
Load * editedLoad
the currently edited load
Definition: LoadsEditor.h:143
void newLoad()
when user click to add a new load
void nullDisplacementClicked()
when user toggle null displacement
void createDCLoads(std::vector< camitk::Component * > *)
create a new load using this DC as targets
Ui::LoadsEditor ui
the ui dialog designed in qtdesigner
Definition: LoadsEditor.h:149
void reject()
when the user clic on cancel
LoadsManager * myLM
my load manager
Definition: LoadsEditor.h:137
Load * createNewLoad()
create a new load by asking the user for the load type.
void updateLoadsTable()
refresh load list display
virtual void show()
overloaded so that it can update the load list
void updateLoads()
copy the loads from the manager to a local list
Class that describes a load to be used in the simulation.
Definition: Load.h:53
Loads * loads
local copy of the loads
Definition: LoadsEditor.h:140
void applyToTextChanged(const QString &)
when user has typed some text in the applyTo line edit
void valueEventTableItemClicked(QTableWidgetItem *)
when user double clic on a value event
void yChanged()
when user changed the direction y
QColor bgColor
the initial bg color
Definition: LoadsEditor.h:146
A clean dialog to edit (add, modify, delete), loads and their parameters, directly from Core...
Definition: LoadsEditor.h:40
LoadsEditor(LoadsManager *myLoadsManager, QWidget *parent=0)
default constructor
void xChanged()
when user changed the direction x
void updateValueEventTable()
refresh the value event display
void deleteValueEvent()
when user wants to delete current value event