Generic 'About $app' dialog box for use in Workspace applications. Caller should call adjustSize() once all customizations to the window are completed to ensure the dialog window looks good.
#include <Workspace/Widgets/aboutappdialog.h>
Inherits QDialog.
◆ AboutAppDialog() [1/2]
◆ AboutAppDialog() [2/2]
AboutAppDialog |
( |
const QPixmap & |
icon, |
|
|
const QString & |
title, |
|
|
const QString & |
version, |
|
|
const QString & |
credits, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
◆ ~AboutAppDialog()
◆ addAboutQtAction()
void addAboutQtAction |
( |
QMenu * |
menu | ) |
|
|
static |
◆ addAboutWorkspaceAction()
void addAboutWorkspaceAction |
( |
QMenu * |
menu | ) |
|
|
static |
◆ addCoreAboutActions()
void addCoreAboutActions |
( |
QMenu * |
menu | ) |
|
|
static |
◆ clearAllLicenses()
void clearAllLicenses |
( |
| ) |
|
◆ deleteAdditionalWidgets()
void deleteAdditionalWidgets |
( |
| ) |
|
◆ getBottomPlaceHolderLayout()
QHBoxLayout * getBottomPlaceHolderLayout |
( |
| ) |
|
◆ getRhsVerticalLayout()
QVBoxLayout * getRhsVerticalLayout |
( |
| ) |
|
◆ getTopHorizontalLayout()
QHBoxLayout * getTopHorizontalLayout |
( |
| ) |
|
◆ hideAppCredits()
◆ hideAppIcon()
◆ hideAppSubtitle()
◆ hideAppTitle()
◆ hideAppVersion()
◆ hideCompilerInfo()
void hideCompilerInfo |
( |
| ) |
|
◆ hideCopyright()
◆ hideCopyrightLogo()
void hideCopyrightLogo |
( |
| ) |
|
◆ hideLicenseSelection()
void hideLicenseSelection |
( |
| ) |
|
◆ hideLicenseTextEdit()
void hideLicenseTextEdit |
( |
| ) |
|
◆ hideLicenseViewingToggle()
void hideLicenseViewingToggle |
( |
| ) |
|
◆ hidePluginLink()
◆ hideWebsiteLink()
◆ hideWorkspacePowered()
void hideWorkspacePowered |
( |
| ) |
|
◆ readLicenseFile()
void readLicenseFile |
( |
const QString & |
path, |
|
|
const QString & |
plugin = QString() |
|
) |
| |
◆ readLicenseFiles()
void readLicenseFiles |
( |
const QString & |
resourcePath, |
|
|
const QString & |
extension = "txt" |
|
) |
| |
- Parameters
-
resourcePath | Resource path where license files can be found. |
extension | File extension of license file. Do not include the dot seperator. |
Read in core Workspace licenses. Licenses files are required to be in on a single resource path and have the same file extension, which by default is '.txt'.
The license file name (without the extension) is displayed to the user in the GUI so it should be named by the library/app that licenses.
◆ removeLicenses()
◆ setAdditionalWidget()
void setAdditionalWidget |
( |
QWidget * |
widget | ) |
|
Set a custom widget south of the application text area.
◆ setAppCredits()
void setAppCredits |
( |
const QString & |
credits | ) |
|
◆ setAppIcon()
void setAppIcon |
( |
const QPixmap & |
icon | ) |
|
◆ setAppIconInTitleLabel()
void setAppIconInTitleLabel |
( |
const QPixmap & |
icon | ) |
|
◆ setAppSubtitle()
void setAppSubtitle |
( |
const QString & |
subtitle | ) |
|
◆ setAppTitle()
void setAppTitle |
( |
const QString & |
title | ) |
|
◆ setAppVersion()
void setAppVersion |
( |
const QString & |
version | ) |
|
◆ setCompilerInfo()
void setCompilerInfo |
( |
const QString & |
compilerText | ) |
|
◆ setCopyright()
void setCopyright |
( |
const QString & |
copyright | ) |
|
◆ setCopyrightLogo()
void setCopyrightLogo |
( |
const QPixmap & |
logo | ) |
|
◆ setCustomerIconLabel1()
void setCustomerIconLabel1 |
( |
const QPixmap & |
icon | ) |
|
Optional - set another icon in the position below and left of the main app icon
◆ setCustomerIconLabel2()
void setCustomerIconLabel2 |
( |
const QPixmap & |
icon | ) |
|
Optional - set another icon in the position below and right of the main app icon
◆ setLicense()
void setLicense |
( |
const QString & |
license | ) |
|
◆ setLicenseSelection()
void setLicenseSelection |
( |
const QString & |
library | ) |
|
◆ setRhsLabelsAlignment()
void setRhsLabelsAlignment |
( |
Qt::Alignment |
alignment | ) |
|
Affects labels on the right hand side of the app icon.
◆ setWebsiteLink()
void setWebsiteLink |
( |
const QString & |
htmlLink | ) |
|
- Parameters
-
htmlLink | The string needs to be formatted with a .... This allows caller to hyperlink a sub-string of the user visible text. |
◆ showAppCredits()
◆ showAppIcon()
◆ showAppSubtitle()
◆ showAppTitle()
◆ showAppVersion()
◆ showCompilerInfo()
void showCompilerInfo |
( |
| ) |
|
◆ showCopyright()
◆ showCopyrightLogo()
void showCopyrightLogo |
( |
| ) |
|
◆ showLicenseSelection()
void showLicenseSelection |
( |
| ) |
|
◆ showLicenseTextEdit()
void showLicenseTextEdit |
( |
| ) |
|
◆ showLicenseViewingToggle()
void showLicenseViewingToggle |
( |
| ) |
|
◆ showPluginLink()
◆ showWebsiteLink()
◆ showWorkspacePowered()
void showWorkspacePowered |
( |
| ) |
|
◆ standardAboutWorkspaceDialog()