NDEVR
API Documentation
CheckForUpdatesDialog

A dialog designed to show whether or not the application needs to be updated or the state of the update. More...

Public Member Functions

 CheckForUpdatesDialog (const TranslatedString &message, String update_url, QWidget *parent=nullptr)
 Constructs a CheckForUpdatesDialog with the specified message and update URL.
void hideRequestedSignal ()
 Emitted when the user requests to hide the update dialog.
QSize sizeHint () const override
 Returns the recommended size for the dialog.

Detailed Description

A dialog designed to show whether or not the application needs to be updated or the state of the update.


Definition at line 16 of file CheckForUpdatesDialog.h.

Constructor & Destructor Documentation

◆ CheckForUpdatesDialog()

CheckForUpdatesDialog::CheckForUpdatesDialog ( const TranslatedString & message,
String update_url,
QWidget * parent = nullptr )

Constructs a CheckForUpdatesDialog with the specified message and update URL.

Parameters
[in]messageThe translated message describing the update status.
[in]update_urlThe URL to navigate to for downloading updates.
[in]parentThe parent widget.

Member Function Documentation

◆ sizeHint()

QSize CheckForUpdatesDialog::sizeHint ( ) const
override

Returns the recommended size for the dialog.

Returns
The preferred size hint.

The documentation for this class was generated from the following file: