5#include <QtGui/QDialog>
7#include <qwt_plot_curve.h>
9#include <qwt_plot_grid.h>
10#include <qwt_plot_panner.h>
36 std::ostringstream strs;
38 double displaytmp1 = FHSimData.display[0]*100;
39 int displaytmp2 = displaytmp1;
40 double display = displaytmp2/100.0;
43 strs.setf(std::ios::fixed,std::ios::floatfield);
46 std::string str = strs.str();
48 int des = str.size() - str.find(
".");
51 qstr = QString::fromStdString(str+
"0");
53 qstr = QString::fromStdString(str);
62 std::ostringstream strs;
64 double displaytmp1 = FHSimData.display[2]*100;
65 int displaytmp2 = displaytmp1;
66 double display = displaytmp2/100.0;
69 strs.setf(std::ios::fixed,std::ios::floatfield);
72 std::string str = strs.str();
74 int des = str.size() - str.find(
".");
77 qstr = QString::fromStdString(str+
"0");
79 qstr = QString::fromStdString(str);
87 std::ostringstream strs;
89 double displaytmp1 = FHSimData.display[1]*100;
90 int displaytmp2 = displaytmp1;
91 double display = displaytmp2/100.0;
94 strs.setf(std::ios::fixed,std::ios::floatfield);
97 std::string str = strs.str();
99 int des = str.size() - str.find(
".");
102 qstr = QString::fromStdString(str+
"0");
104 qstr = QString::fromStdString(str);
Definition: setlabel.h:26
Definition: myOutputStruct.h:5