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

#include <userinterfaceform.h>

Inheritance diagram for UserInterfaceForm:
Inheritance graph
Collaboration diagram for UserInterfaceForm:
Collaboration graph

Public Member Functions

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

Private Slots

void on_smileyPackBrowser_currentIndexChanged (int index)
 
void on_emoticonSize_editingFinished ()
 
void on_styleBrowser_currentIndexChanged (QString style)
 
void on_timestamp_editTextChanged (const QString &format)
 
void on_dateFormats_editTextChanged (const QString &format)
 
void on_textStyleComboBox_currentTextChanged ()
 
void on_useEmoticons_stateChanged ()
 
void on_notify_stateChanged ()
 
void on_desktopNotify_stateChanged ()
 
void on_notifySound_stateChanged ()
 
void on_notifyHide_stateChanged (int)
 
void on_busySound_stateChanged ()
 
void on_showWindow_stateChanged ()
 
void on_groupOnlyNotfiyWhenMentioned_stateChanged ()
 
void on_cbCompactLayout_stateChanged ()
 
void on_cbSeparateWindow_stateChanged ()
 
void on_cbDontGroupWindows_stateChanged ()
 
void on_cbGroupchatPosition_stateChanged ()
 
void on_themeColorCBox_currentIndexChanged (int)
 
void on_cbShowIdenticons_stateChanged ()
 
void on_txtChatFont_currentFontChanged (const QFont &f)
 
void on_txtChatFontSize_valueChanged (int arg1)
 
void on_useNameColors_stateChanged (int value)
 

Private Member Functions

void retranslateUi ()
 Retranslate all elements in the form. More...
 
void reloadSmileys ()
 Reload smileys and size information. More...
 

Private Attributes

QList< QLabel * > smileLabels
 
QList< std::shared_ptr< QIcon > > emoticonsIcons
 
SettingsWidgetparent
 
Ui::UserInterfaceSettings * bodyUI
 
const int MAX_FORMAT_LENGTH = 128
 

Additional Inherited Members

- Public Slots inherited from GenericForm
virtual void reloadTheme ()
 
- 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 all settings which change the UI appearance or behaviour. It also contains the smiley configuration.

Definition at line 31 of file userinterfaceform.h.

Constructor & Destructor Documentation

◆ UserInterfaceForm()

UserInterfaceForm::UserInterfaceForm ( SettingsWidget myParent)
explicit

Constructor of UserInterfaceForm.

Parameters
myParentSetting widget which will contain this form as tab.

Restores all controls from the settings.

Definition at line 57 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ ~UserInterfaceForm()

UserInterfaceForm::~UserInterfaceForm ( )

Definition at line 173 of file userinterfaceform.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ getFormName()

QString UserInterfaceForm::getFormName ( )
inlinefinalvirtual

Implements GenericForm.

Definition at line 37 of file userinterfaceform.h.

◆ on_busySound_stateChanged

void UserInterfaceForm::on_busySound_stateChanged ( )
privateslot

Definition at line 295 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_cbCompactLayout_stateChanged

void UserInterfaceForm::on_cbCompactLayout_stateChanged ( )
privateslot

Definition at line 311 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_cbDontGroupWindows_stateChanged

void UserInterfaceForm::on_cbDontGroupWindows_stateChanged ( )
privateslot

Definition at line 323 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_cbGroupchatPosition_stateChanged

void UserInterfaceForm::on_cbGroupchatPosition_stateChanged ( )
privateslot

Definition at line 328 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_cbSeparateWindow_stateChanged

void UserInterfaceForm::on_cbSeparateWindow_stateChanged ( )
privateslot

Definition at line 316 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_cbShowIdenticons_stateChanged

void UserInterfaceForm::on_cbShowIdenticons_stateChanged ( )
privateslot

Definition at line 333 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_dateFormats_editTextChanged

void UserInterfaceForm::on_dateFormats_editTextChanged ( const QString &  format)
privateslot

Definition at line 205 of file userinterfaceform.cpp.

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

◆ on_desktopNotify_stateChanged

void UserInterfaceForm::on_desktopNotify_stateChanged ( )
privateslot

Definition at line 289 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_emoticonSize_editingFinished

void UserInterfaceForm::on_emoticonSize_editingFinished ( )
privateslot

Definition at line 190 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_groupOnlyNotfiyWhenMentioned_stateChanged

void UserInterfaceForm::on_groupOnlyNotfiyWhenMentioned_stateChanged ( )
privateslot

Definition at line 305 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_notify_stateChanged

void UserInterfaceForm::on_notify_stateChanged ( )
privateslot

Definition at line 272 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_notifyHide_stateChanged

void UserInterfaceForm::on_notifyHide_stateChanged ( int  value)
privateslot

Definition at line 396 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_notifySound_stateChanged

void UserInterfaceForm::on_notifySound_stateChanged ( )
privateslot

Definition at line 282 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_showWindow_stateChanged

void UserInterfaceForm::on_showWindow_stateChanged ( )
privateslot

Definition at line 300 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_smileyPackBrowser_currentIndexChanged

void UserInterfaceForm::on_smileyPackBrowser_currentIndexChanged ( int  index)
privateslot

Definition at line 228 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_styleBrowser_currentIndexChanged

void UserInterfaceForm::on_styleBrowser_currentIndexChanged ( QString  style)
privateslot

Definition at line 179 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_textStyleComboBox_currentTextChanged

void UserInterfaceForm::on_textStyleComboBox_currentTextChanged ( )
privateslot

Definition at line 221 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_themeColorCBox_currentIndexChanged

void UserInterfaceForm::on_themeColorCBox_currentIndexChanged ( int  )
privateslot

Definition at line 338 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_timestamp_editTextChanged

void UserInterfaceForm::on_timestamp_editTextChanged ( const QString &  format)
privateslot

Definition at line 195 of file userinterfaceform.cpp.

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

◆ on_txtChatFont_currentFontChanged

void UserInterfaceForm::on_txtChatFont_currentFontChanged ( const QFont &  f)
privateslot

Definition at line 368 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_txtChatFontSize_valueChanged

void UserInterfaceForm::on_txtChatFontSize_valueChanged ( int  arg1)
privateslot

Definition at line 379 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_useEmoticons_stateChanged

void UserInterfaceForm::on_useEmoticons_stateChanged ( )
privateslot

Definition at line 215 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ on_useNameColors_stateChanged

void UserInterfaceForm::on_useNameColors_stateChanged ( int  value)
privateslot

Definition at line 391 of file userinterfaceform.cpp.

Here is the call graph for this function:

◆ reloadSmileys()

void UserInterfaceForm::reloadSmileys ( )
private

Reload smileys and size information.

Definition at line 238 of file userinterfaceform.cpp.

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

◆ retranslateUi()

void UserInterfaceForm::retranslateUi ( )
private

Retranslate all elements in the form.

Definition at line 349 of file userinterfaceform.cpp.

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

Member Data Documentation

◆ bodyUI

Ui::UserInterfaceSettings* UserInterfaceForm::bodyUI
private

Definition at line 75 of file userinterfaceform.h.

◆ emoticonsIcons

QList<std::shared_ptr<QIcon> > UserInterfaceForm::emoticonsIcons
private

Definition at line 73 of file userinterfaceform.h.

◆ MAX_FORMAT_LENGTH

const int UserInterfaceForm::MAX_FORMAT_LENGTH = 128
private

Definition at line 76 of file userinterfaceform.h.

◆ parent

SettingsWidget* UserInterfaceForm::parent
private

Definition at line 74 of file userinterfaceform.h.

◆ smileLabels

QList<QLabel*> UserInterfaceForm::smileLabels
private

Definition at line 72 of file userinterfaceform.h.


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