Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
geometrize::dialog::CreditsDialog Class Reference

The CreditsDialog class models the UI for the developer, artwork, localization etc credits pages. More...

#include <creditsdialog.h>

Inheritance diagram for geometrize::dialog::CreditsDialog:
Inheritance graph
[legend]
Collaboration diagram for geometrize::dialog::CreditsDialog:
Collaboration graph
[legend]

Public Member Functions

 CreditsDialog (QWidget *parent=nullptr)
 
virtual ~CreditsDialog ()
 

Protected Member Functions

void changeEvent (QEvent *) override
 

Private Member Functions

void populateUi ()
 

Private Attributes

Ui::CreditsDialog * ui
 

Detailed Description

The CreditsDialog class models the UI for the developer, artwork, localization etc credits pages.

Constructor & Destructor Documentation

geometrize::dialog::CreditsDialog::CreditsDialog ( QWidget *  parent = nullptr)
explicit
10  :
11  QDialog(parent),
12  ui(new Ui::CreditsDialog)
13 {
14  setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); // Remove question mark from title bar
15  ui->setupUi(this);
16 
17  populateUi();
18 }
void populateUi()
Definition: creditsdialog.cpp:34
Ui::CreditsDialog * ui
Definition: creditsdialog.h:35

Here is the call graph for this function:

geometrize::dialog::CreditsDialog::~CreditsDialog ( )
virtual
21 {
22  delete ui;
23 }
Ui::CreditsDialog * ui
Definition: creditsdialog.h:35

Member Function Documentation

void geometrize::dialog::CreditsDialog::changeEvent ( QEvent *  event)
overrideprotected
26 {
27  if (event->type() == QEvent::LanguageChange) {
28  populateUi();
29  ui->retranslateUi(this);
30  }
31  QDialog::changeEvent(event);
32 }
void populateUi()
Definition: creditsdialog.cpp:34
Ui::CreditsDialog * ui
Definition: creditsdialog.h:35

Here is the call graph for this function:

void geometrize::dialog::CreditsDialog::populateUi ( )
private
35 {
36  ui->developerText->setText("Sam Twidale");
37  ui->artistText->setText("");
38  ui->translatorText->setText("");
39 
40  const QString acknowledgementText{tr("Special thanks to: %1", "Message that thanks contributors to the project. A list of names of people who contributed to the project follows this.")
41  .arg("\n Michael Fogleman \n Harish Persad")};
42  ui->acknowledgementText->setText(acknowledgementText);
43 }
Ui::CreditsDialog * ui
Definition: creditsdialog.h:35

Here is the caller graph for this function:

Member Data Documentation

Ui::CreditsDialog* geometrize::dialog::CreditsDialog::ui
private

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