NDEVR
API Documentation
CheckForUpdatesDialog.h
1#pragma once
2#include <NDEVR/UpdateButton.h>
3#include <NDEVR/InterfaceOrientationController.h>
4#include <NDEVR/Translator.h>
5#include <NDEVR/ApplicationResource.h>
6#include <QWidget>
7#include <QLabel>
8#include <QHBoxLayout>
9#ifndef Q_OS_WASM
10namespace NDEVR
11{
16 class CheckForUpdatesDialog : public QWidget
17 {
18 Q_OBJECT
19 public:
26 CheckForUpdatesDialog(const TranslatedString& message, String update_url, QWidget* parent = nullptr);
31 QSize sizeHint() const override;
32 signals:
37 };
38}
39#endif
void hideRequestedSignal()
Emitted when the user requests to hide the update dialog.
QSize sizeHint() const override
Returns the recommended size for the dialog.
CheckForUpdatesDialog(const TranslatedString &message, String update_url, QWidget *parent=nullptr)
Constructs a CheckForUpdatesDialog with the specified message and update URL.
The core String class for the NDEVR API.
Definition String.h:95
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
The primary namespace for the NDEVR SDK.