20 #include "FdCommandsResults.hpp"
21 #include "FdModelResults.hpp"
25 setText(QObject::tr(
"add a new row",
"Undo/Redo add a new row to the results page."));
41 setText(QObject::tr(
"move %n row(s)",
"Move row(s) in a drag and drop action.", rows.size()));
45 for(
int i = 0; i < rows.size(); ++i)
52 for(
int i = 0; i < rows.size(); ++i)
79 mOldValue = mResults->data(mCalculation, mColumn);
83 setText(QObject::tr(
"change id",
"Will appear like this : Undo/Redo change id."));
86 setText(QObject::tr(
"change label",
"Will appear like this : Undo/Redo change label."));
88 case ResultsCalculation:
89 setText(QObject::tr(
"change calculation",
"Will appear like this : Undo/Redo change calculation."));
106 for(
int i = 0; i < rows.size(); ++i)
109 location.
item = model->
item(rows[i]);
110 location.
row = rows[i];
118 mModel(model), mMap(location)
125 setText(QObject::tr(
"remove %n row(s)",
"Undo/redo remove rows from the results page.",
mMap.size()));
130 for(
int i = 0; i <
mMap.size(); ++i)
136 for(
int i = 0; i <
mMap.size(); i++)