feat(cpn): Status dialog when writing models and settings to radio (#3043)
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include <QTime>
|
||||
#include <QElapsedTimer>
|
||||
#include <QStandardItemModel>
|
||||
#include <QDialog>
|
||||
|
||||
extern const QColor colors[CPN_MAX_CURVES];
|
||||
|
||||
@@ -311,3 +312,17 @@ class SemanticVersion
|
||||
inline int preReleaseTypeToInt(QString preRelType) const { return PreReleaseTypesStringList.indexOf(preRelType); }
|
||||
|
||||
};
|
||||
|
||||
class StatusDialog: public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
StatusDialog(QWidget * parent = nullptr, const QString title = "", QString msgtext = "", const int width = 200);
|
||||
virtual ~StatusDialog();
|
||||
|
||||
void update(QString text);
|
||||
|
||||
private:
|
||||
QLabel *msg;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user