qTox  Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
Public Slots | Public Member Functions | Private Member Functions | Private Attributes | List of all members
AboutForm Class Reference

#include <aboutform.h>

Inheritance diagram for AboutForm:
Inheritance graph
Collaboration diagram for AboutForm:
Collaboration graph

Public Slots

void onUpdateAvailable (QString latestVersion, QUrl link)
 
void onUpToDate ()
 
void onUpdateCheckFailed ()
 
void reloadTheme () override
 
void onUnstableVersion ()
 
- Public Slots inherited from GenericForm
virtual void reloadTheme ()
 

Public Member Functions

 AboutForm (UpdateCheck *updateCheck)
 Constructor of AboutForm. More...
 
 ~AboutForm ()
 
QString getFormName () final
 
- Public Member Functions inherited from GenericForm
 GenericForm (const QPixmap &icon)
 
virtual ~GenericForm ()
 
QPixmap getFormIcon ()
 

Private Member Functions

void retranslateUi ()
 Retranslate all elements in the form. More...
 
void replaceVersions ()
 Update versions and links. More...
 
QString createLink (QString path, QString text) const
 Creates hyperlink with specific style. More...
 

Private Attributes

Ui::AboutSettings * bodyUI
 
QTimer * progressTimer
 
UpdateCheckupdateCheck
 
QMetaObject::Connection linkConnection
 

Additional Inherited Members

- Protected Member Functions inherited from GenericForm
bool eventFilter (QObject *o, QEvent *e) final
 Ignore scroll on different controls. More...
 
void eventsInit ()
 Prevent stealing mouse wheel scroll. More...
 
- Protected Attributes inherited from GenericForm
QPixmap formIcon
 

Detailed Description

This form contains information about qTox and libraries versions, external links and licence text. Shows progress during an update.

Definition at line 35 of file aboutform.h.

Constructor & Destructor Documentation

◆ AboutForm()

AboutForm::AboutForm ( UpdateCheck updateCheck)

Constructor of AboutForm.

Definition at line 57 of file aboutform.cpp.

Here is the call graph for this function:

◆ ~AboutForm()

AboutForm::~AboutForm ( )

Definition at line 217 of file aboutform.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ createLink()

QString AboutForm::createLink ( QString  path,
QString  text 
) const
inlineprivate

Creates hyperlink with specific style.

Parameters
pathThe URL of the page the link goes to.
textText, which will be clickable.
Returns
Hyperlink to paste.

Definition at line 210 of file aboutform.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFormName()

QString AboutForm::getFormName ( )
inlinefinalvirtual

Implements GenericForm.

Definition at line 41 of file aboutform.h.

◆ onUnstableVersion

void AboutForm::onUnstableVersion ( )
slot

Definition at line 198 of file aboutform.cpp.

Here is the caller graph for this function:

◆ onUpdateAvailable

void AboutForm::onUpdateAvailable ( QString  latestVersion,
QUrl  link 
)
slot

Definition at line 175 of file aboutform.cpp.

Here is the caller graph for this function:

◆ onUpdateCheckFailed

void AboutForm::onUpdateCheckFailed ( )
slot

Definition at line 188 of file aboutform.cpp.

Here is the caller graph for this function:

◆ onUpToDate

void AboutForm::onUpToDate ( )
slot

Definition at line 183 of file aboutform.cpp.

Here is the caller graph for this function:

◆ reloadTheme

void AboutForm::reloadTheme ( )
overrideslot

Definition at line 193 of file aboutform.cpp.

Here is the call graph for this function:

◆ replaceVersions()

void AboutForm::replaceVersions ( )
private

Update versions and links.

Update commit hash if built with git, show author and known issues info It also updates qTox, toxcore and Qt versions.

Definition at line 91 of file aboutform.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ retranslateUi()

void AboutForm::retranslateUi ( )
private

Retranslate all elements in the form.

Definition at line 226 of file aboutform.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ bodyUI

Ui::AboutSettings* AboutForm::bodyUI
private

Definition at line 59 of file aboutform.h.

◆ linkConnection

QMetaObject::Connection AboutForm::linkConnection
private

Definition at line 62 of file aboutform.h.

◆ progressTimer

QTimer* AboutForm::progressTimer
private

Definition at line 60 of file aboutform.h.

◆ updateCheck

UpdateCheck* AboutForm::updateCheck
private

Definition at line 61 of file aboutform.h.


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