LibreVNA/Software/PC_Application/CustomWidgets/informationbox.h
Jan Käberich 0d6e844def More intuitive handling of calibration measurements
- 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
2020-11-10 19:16:16 +01:00

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