#include "tachometer.h" #include "ui_tachometer.h" Tachometer::Tachometer(QWidget *parent) : QDialog(parent) , ui(new Ui::Tachometer) { ui->setupUi(this); ui->widget_body->setProperty("flag", "body"); } Tachometer::~Tachometer() { delete ui; }