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

#include <settingswidget.h>

Inheritance diagram for SettingsWidget:
Inheritance graph
Collaboration diagram for SettingsWidget:
Collaboration graph

Public Slots

void onUpdateAvailable (void)
 

Public Member Functions

 SettingsWidget (UpdateCheck *updateCheck, IAudioControl &audio, Core *core, Widget *parent=nullptr)
 
 ~SettingsWidget ()
 
bool isShown () const
 
void show (ContentLayout *contentLayout)
 
void setBodyHeadStyle (QString style)
 
void showAbout ()
 

Private Slots

void onTabChanged (int)
 

Private Member Functions

void retranslateUi ()
 

Private Attributes

std::unique_ptr< QVBoxLayout > bodyLayout
 
std::unique_ptr< QTabWidget > settingsWidgets
 
std::array< std::unique_ptr< GenericForm >, 6 > cfgForms
 
int currentIndex
 

Detailed Description

Definition at line 42 of file settingswidget.h.

Constructor & Destructor Documentation

◆ SettingsWidget()

SettingsWidget::SettingsWidget ( UpdateCheck updateCheck,
IAudioControl &  audio,
Core core,
Widget parent = nullptr 
)

Definition at line 44 of file settingswidget.cpp.

Here is the call graph for this function:

◆ ~SettingsWidget()

SettingsWidget::~SettingsWidget ( )

Definition at line 90 of file settingswidget.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ isShown()

bool SettingsWidget::isShown ( ) const

Definition at line 105 of file settingswidget.cpp.

◆ onTabChanged

void SettingsWidget::onTabChanged ( int  index)
privateslot

Definition at line 122 of file settingswidget.cpp.

Here is the caller graph for this function:

◆ onUpdateAvailable

void SettingsWidget::onUpdateAvailable ( void  )
slot

Definition at line 127 of file settingswidget.cpp.

Here is the caller graph for this function:

◆ retranslateUi()

void SettingsWidget::retranslateUi ( )
private

Definition at line 134 of file settingswidget.cpp.

Here is the caller graph for this function:

◆ setBodyHeadStyle()

void SettingsWidget::setBodyHeadStyle ( QString  style)

Definition at line 95 of file settingswidget.cpp.

Here is the caller graph for this function:

◆ show()

void SettingsWidget::show ( ContentLayout contentLayout)

Definition at line 115 of file settingswidget.cpp.

Here is the call graph for this function:

◆ showAbout()

void SettingsWidget::showAbout ( )

Definition at line 100 of file settingswidget.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ bodyLayout

std::unique_ptr<QVBoxLayout> SettingsWidget::bodyLayout
private

Definition at line 65 of file settingswidget.h.

◆ cfgForms

std::array<std::unique_ptr<GenericForm>, 6> SettingsWidget::cfgForms
private

Definition at line 67 of file settingswidget.h.

◆ currentIndex

int SettingsWidget::currentIndex
private

Definition at line 68 of file settingswidget.h.

◆ settingsWidgets

std::unique_ptr<QTabWidget> SettingsWidget::settingsWidgets
private

Definition at line 66 of file settingswidget.h.


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