Qt Utilities  5.7.1
Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models
Public Member Functions | List of all members
Dialogs::AboutDialog Class Reference

The AboutDialog class provides a simple about dialog. More...

#include <aboutdialog.h>

Inheritance diagram for Dialogs::AboutDialog:
[legend]
Collaboration diagram for Dialogs::AboutDialog:
[legend]

Public Member Functions

 AboutDialog (QWidget *parent, const QString &applicationName, const QString &creator, const QString &version, const QString &website=QString(), const QString &description=QString(), const QImage &image=QImage())
 Constructs an about dialog with the provided information. More...
 
 AboutDialog (QWidget *parent, const QString &description=QString(), const QImage &image=QImage())
 Constructs an about dialog with the specified parent, description and image. More...
 
 ~AboutDialog ()
 Destroys the about dialog. More...
 

Detailed Description

The AboutDialog class provides a simple about dialog.

Definition at line 18 of file aboutdialog.h.

Constructor & Destructor Documentation

◆ AboutDialog() [1/2]

Dialogs::AboutDialog::AboutDialog ( QWidget *  parent,
const QString &  applicationName,
const QString &  creator,
const QString &  version,
const QString &  website = QString(),
const QString &  description = QString(),
const QImage &  image = QImage() 
)
explicit

Constructs an about dialog with the provided information.

Parameters
parentSpecifies the parent widget.
applicationNameSpecifies the name of the application. If empty, QApplication::applicationName() will be used.
creatorSpecifies the creator of the application. If empty, QApplication::organizationName() will be used.
versionSpecifies the version of the application. If empty, QApplication::applicationVersion() will be used.
descriptionSpecifies a short description about the application.
websiteSpecifies the URL to the website of the application. If empty, QApplication::organizationDomain() will be used.
imageSpecifies the application icon. If the image is null, the standard information icon will be used.

Definition at line 39 of file aboutdialog.cpp.

◆ AboutDialog() [2/2]

Dialogs::AboutDialog::AboutDialog ( QWidget *  parent,
const QString &  description = QString(),
const QImage &  image = QImage() 
)
explicit

Constructs an about dialog with the specified parent, description and image.

Definition at line 76 of file aboutdialog.cpp.

◆ ~AboutDialog()

Dialogs::AboutDialog::~AboutDialog ( )

Destroys the about dialog.

Definition at line 84 of file aboutdialog.cpp.


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