Format all files
This commit is contained in:
@@ -43,16 +43,17 @@
|
||||
|
||||
#include "selectmetrics.h"
|
||||
|
||||
#include <QWidget>
|
||||
#include <QStandardItem>
|
||||
#include <QStandardItemModel>
|
||||
#include <QList>
|
||||
#include <QString>
|
||||
#include <vector>
|
||||
#include "businessObjects/pythoncaller.h"
|
||||
#include "businessObjects/tracecalculatedmetrics.h"
|
||||
#include <QList>
|
||||
#include <QStandardItem>
|
||||
#include <QStandardItemModel>
|
||||
#include <QString>
|
||||
#include <QWidget>
|
||||
#include <vector>
|
||||
|
||||
namespace Ui {
|
||||
namespace Ui
|
||||
{
|
||||
class EvaluationTool;
|
||||
}
|
||||
|
||||
@@ -61,7 +62,7 @@ class EvaluationTool : public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit EvaluationTool(PythonCaller &pythonCaller, QWidget *parent = nullptr);
|
||||
explicit EvaluationTool(PythonCaller& pythonCaller, QWidget* parent = nullptr);
|
||||
~EvaluationTool();
|
||||
|
||||
void showForFiles(QList<QString> paths);
|
||||
@@ -80,27 +81,22 @@ private:
|
||||
void calculateMetrics(std::vector<long> selectedMetrics);
|
||||
std::vector<std::string> getMetrics();
|
||||
|
||||
|
||||
Ui::EvaluationTool *ui;
|
||||
QStandardItemModel *traceFilesModel;
|
||||
Ui::EvaluationTool* ui;
|
||||
QStandardItemModel* traceFilesModel;
|
||||
std::vector<TraceCalculatedMetrics> calculatedMetrics;
|
||||
SelectMetrics *selectMetrics;
|
||||
SelectMetrics* selectMetrics;
|
||||
|
||||
PythonCaller &pythonCaller;
|
||||
PythonCaller& pythonCaller;
|
||||
|
||||
class TraceFileItem : public QStandardItem
|
||||
{
|
||||
public:
|
||||
TraceFileItem(const QString &path);
|
||||
QString getPath()
|
||||
{
|
||||
return path;
|
||||
}
|
||||
TraceFileItem(const QString& path);
|
||||
QString getPath() { return path; }
|
||||
|
||||
private:
|
||||
QString path;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
#endif // EVALUATIONTOOL_H
|
||||
|
||||
Reference in New Issue
Block a user