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

#include <profileform.h>

Inheritance diagram for ProfileForm:
Inheritance graph
Collaboration diagram for ProfileForm:
Collaboration graph

Public Slots

void onSelfAvatarLoaded (const QPixmap &pic)
 
void onLogoutClicked ()
 

Public Member Functions

 ProfileForm (IProfileInfo *profileInfo, QWidget *parent=nullptr)
 
 ~ProfileForm ()
 
void show (ContentLayout *contentLayout)
 
bool isShown () const
 

Private Slots

void setPasswordButtonsText ()
 
void setToxId (const ToxId &id)
 
void copyIdClicked ()
 
void onUserNameEdited ()
 
void onStatusMessageEdited ()
 
void onRenameClicked ()
 
void onExportClicked ()
 
void onDeleteClicked ()
 
void onCopyQrClicked ()
 
void onSaveQrClicked ()
 
void onDeletePassClicked ()
 
void onChangePassClicked ()
 
void onAvatarClicked ()
 
void showProfilePictureContextMenu (const QPoint &point)
 

Private Member Functions

void retranslateUi ()
 
void prFileLabelUpdate ()
 
bool eventFilter (QObject *object, QEvent *event)
 
void refreshProfiles ()
 

Static Private Member Functions

static QString getSupportedImageFilter ()
 

Private Attributes

Ui::IdentitySettings * bodyUI
 
MaskablePixmapWidgetprofilePicture
 
QTimer timer
 
bool hasCheck = false
 
QRWidgetqr
 
ClickableTEtoxId
 
IProfileInfoprofileInfo
 

Detailed Description

Definition at line 51 of file profileform.h.

Constructor & Destructor Documentation

◆ ProfileForm()

ProfileForm::ProfileForm ( IProfileInfo profileInfo,
QWidget *  parent = nullptr 
)

Definition at line 100 of file profileform.cpp.

◆ ~ProfileForm()

ProfileForm::~ProfileForm ( )

Definition at line 191 of file profileform.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ copyIdClicked

void ProfileForm::copyIdClicked ( )
privateslot

Definition at line 253 of file profileform.cpp.

Here is the call graph for this function:

◆ eventFilter()

bool ProfileForm::eventFilter ( QObject *  object,
QEvent *  event 
)
private

Definition at line 229 of file profileform.cpp.

◆ getSupportedImageFilter()

QString ProfileForm::getSupportedImageFilter ( )
staticprivate

Definition at line 296 of file profileform.cpp.

Here is the caller graph for this function:

◆ isShown()

bool ProfileForm::isShown ( ) const

Definition at line 198 of file profileform.cpp.

Here is the caller graph for this function:

◆ onAvatarClicked

void ProfileForm::onAvatarClicked ( )
privateslot

Definition at line 306 of file profileform.cpp.

Here is the call graph for this function:

◆ onChangePassClicked

void ProfileForm::onChangePassClicked ( )
privateslot

Definition at line 447 of file profileform.cpp.

Here is the call graph for this function:

◆ onCopyQrClicked

void ProfileForm::onCopyQrClicked ( )
privateslot

Definition at line 404 of file profileform.cpp.

Here is the call graph for this function:

◆ onDeleteClicked

void ProfileForm::onDeleteClicked ( )
privateslot

Definition at line 362 of file profileform.cpp.

Here is the call graph for this function:

◆ onDeletePassClicked

void ProfileForm::onDeletePassClicked ( )
privateslot

Definition at line 428 of file profileform.cpp.

Here is the call graph for this function:

◆ onExportClicked

void ProfileForm::onExportClicked ( )
privateslot

Definition at line 342 of file profileform.cpp.

Here is the call graph for this function:

◆ onLogoutClicked

void ProfileForm::onLogoutClicked ( )
slot

Definition at line 388 of file profileform.cpp.

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

◆ onRenameClicked

void ProfileForm::onRenameClicked ( )
privateslot

Definition at line 323 of file profileform.cpp.

Here is the call graph for this function:

◆ onSaveQrClicked

void ProfileForm::onSaveQrClicked ( )
privateslot

Definition at line 409 of file profileform.cpp.

Here is the call graph for this function:

◆ onSelfAvatarLoaded

void ProfileForm::onSelfAvatarLoaded ( const QPixmap &  pic)
slot

Definition at line 274 of file profileform.cpp.

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

◆ onStatusMessageEdited

void ProfileForm::onStatusMessageEdited ( )
privateslot

Definition at line 269 of file profileform.cpp.

Here is the call graph for this function:

◆ onUserNameEdited

void ProfileForm::onUserNameEdited ( )
privateslot

Definition at line 264 of file profileform.cpp.

Here is the call graph for this function:

◆ prFileLabelUpdate()

void ProfileForm::prFileLabelUpdate ( )
private

Definition at line 185 of file profileform.cpp.

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

◆ refreshProfiles()

void ProfileForm::refreshProfiles ( )
private

◆ retranslateUi()

void ProfileForm::retranslateUi ( )
private

Definition at line 461 of file profileform.cpp.

Here is the call graph for this function:

◆ setPasswordButtonsText

void ProfileForm::setPasswordButtonsText ( )
privateslot

Definition at line 393 of file profileform.cpp.

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

◆ setToxId

void ProfileForm::setToxId ( const ToxId id)
privateslot

Definition at line 279 of file profileform.cpp.

Here is the call graph for this function:

◆ show()

void ProfileForm::show ( ContentLayout contentLayout)

Definition at line 208 of file profileform.cpp.

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

◆ showProfilePictureContextMenu

void ProfileForm::showProfilePictureContextMenu ( const QPoint &  point)
privateslot

Definition at line 239 of file profileform.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ bodyUI

Ui::IdentitySettings* ProfileForm::bodyUI
private

Definition at line 88 of file profileform.h.

◆ hasCheck

bool ProfileForm::hasCheck = false
private

Definition at line 91 of file profileform.h.

◆ profileInfo

IProfileInfo* ProfileForm::profileInfo
private

Definition at line 94 of file profileform.h.

◆ profilePicture

MaskablePixmapWidget* ProfileForm::profilePicture
private

Definition at line 89 of file profileform.h.

◆ qr

QRWidget* ProfileForm::qr
private

Definition at line 92 of file profileform.h.

◆ timer

QTimer ProfileForm::timer
private

Definition at line 90 of file profileform.h.

◆ toxId

ClickableTE* ProfileForm::toxId
private

Definition at line 93 of file profileform.h.


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