A clean dialog to edit (add, modify, delete), loads and their parameters, directly from Core.
More...
#include <LoadsEditor.h>
A clean dialog to edit (add, modify, delete), loads and their parameters, directly from Core.
LoadsEditor::LoadsEditor |
( |
LoadsManager * |
myLoadsManager, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
another constructor allowing for creating a new load for a particular atom dc
LoadsEditor::~LoadsEditor |
( |
| ) |
|
void LoadsEditor::apply |
( |
| ) |
|
|
slot |
when the user clic on apply
void LoadsEditor::applyToClicked |
( |
| ) |
|
|
slot |
when user clicked on the applyTo button
void LoadsEditor::applyToReturnPressed |
( |
| ) |
|
|
slot |
when user pressed return in the applyTo line edit
void LoadsEditor::applyToTextChanged |
( |
const QString & |
| ) |
|
|
slot |
when user has typed some text in the applyTo line edit
create a new load using this DC as targets
Load* LoadsEditor::createNewLoad |
( |
| ) |
|
|
private |
create a new load by asking the user for the load type.
- Returns
- a new load of type choose by the user or NULL if user cancelled
void LoadsEditor::deleteLoad |
( |
| ) |
|
|
slot |
when user click to delete current load
void LoadsEditor::deleteValueEvent |
( |
| ) |
|
|
slot |
when user wants to delete current value event
void LoadsEditor::editLoad |
( |
| ) |
|
|
private |
let user play with a current load
void LoadsEditor::init |
( |
| ) |
|
|
private |
void LoadsEditor::loadTableItemClicked |
( |
QTableWidgetItem * |
| ) |
|
|
slot |
when the user click on the load list
void LoadsEditor::newLoad |
( |
| ) |
|
|
slot |
when user click to add a new load
void LoadsEditor::newValueEvent |
( |
| ) |
|
|
slot |
when user wants to add a new value event
void LoadsEditor::nullDisplacementClicked |
( |
| ) |
|
|
slot |
when user toggle null displacement
void LoadsEditor::reject |
( |
| ) |
|
|
slot |
when the user clic on cancel
void LoadsEditor::reset |
( |
| ) |
|
|
slot |
when the user clic on reset, reset the loads (using load manager loads)
virtual void LoadsEditor::show |
( |
| ) |
|
|
virtual |
overloaded so that it can update the load list
void LoadsEditor::unitChanged |
( |
| ) |
|
|
slot |
when user changed the current unit
void LoadsEditor::updateLoads |
( |
| ) |
|
copy the loads from the manager to a local list
void LoadsEditor::updateLoadsTable |
( |
| ) |
|
|
private |
refresh load list display
void LoadsEditor::updateND |
( |
| ) |
|
|
private |
update the null displacement display
void LoadsEditor::updateValueEventTable |
( |
| ) |
|
|
private |
refresh the value event display
void LoadsEditor::valueEventTableItemClicked |
( |
QTableWidgetItem * |
| ) |
|
|
slot |
when user double clic on a value event
void LoadsEditor::xChanged |
( |
| ) |
|
|
slot |
when user changed the direction x
void LoadsEditor::yChanged |
( |
| ) |
|
|
slot |
when user changed the direction y
void LoadsEditor::zChanged |
( |
| ) |
|
|
slot |
when user changed the direction z
QColor LoadsEditor::bgColor |
|
private |
Load* LoadsEditor::editedLoad |
|
private |
the currently edited load
Loads* LoadsEditor::loads |
|
private |
Ui::LoadsEditor LoadsEditor::ui |
|
private |
the ui dialog designed in qtdesigner
The documentation for this class was generated from the following file: