Page Contents

Topics

Classes

QLUpdateDialog Class

#include <QLayers/qlupdatedialog.h>

Inherits: QLDialog

Public Functions

QLUpdateDialog(const QString& version, const QString& latest_version, QWidget* parent = nullptr)

Detailed Description

QLUpdateDialog Example

A QLUpdateDialog is a QLDialog that provides the user with the option to update the application.

If the user chooses to update the application by clicking on the QLButton labeled Update, then the dialog will wrap-up execution and return the QDialog::Accepted DialogCode.

Member Function Documentation

QLUpdateDialog(const QString& version, const QString& latest_version, QWidget* parent = nullptr)

Constructs an update dialog.

The version and latest_version are displayed within the dialog to inform the user.