
- Allow saving of calibration only if a calibration is active (no more calibration files that "don't do anything" when they are opened) - Delete old measurements when loading a new calibration file - Update calibration when a measurement is updated (no need to disable and enable again) - Disable calibration when a required measurement is deleted
19 lines
459 B
C++
19 lines
459 B
C++
#ifndef INFORMATIONBOX_H
|
|
#define INFORMATIONBOX_H
|
|
|
|
#include <QMessageBox>
|
|
|
|
class InformationBox : public QMessageBox
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
static void ShowMessage(QString title, QString message, QWidget *parent = nullptr);
|
|
private:
|
|
InformationBox(QString title, QString message, unsigned int hash, QWidget *parent);
|
|
~InformationBox();
|
|
static QString hashToSettingsKey(unsigned int hash);
|
|
unsigned int hash;
|
|
};
|
|
|
|
#endif // INFORMATIONBOX_H
|