qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
#include <genericsettings.h>
Public Slots | |
virtual void | reloadTheme () |
Public Member Functions | |
GenericForm (const QPixmap &icon) | |
virtual | ~GenericForm () |
virtual QString | getFormName ()=0 |
QPixmap | getFormIcon () |
Protected Member Functions | |
bool | eventFilter (QObject *o, QEvent *e) final |
Ignore scroll on different controls. More... | |
void | eventsInit () |
Prevent stealing mouse wheel scroll. More... | |
Protected Attributes | |
QPixmap | formIcon |
This is abstract class used as superclass for all settings forms. It provides correct behaviour of controls for settings forms.
Definition at line 24 of file genericsettings.h.
|
explicit |
|
inlinevirtual |
Definition at line 29 of file genericsettings.h.
|
finalprotected |
Ignore scroll on different controls.
o | Object which has been installed for the watched object. |
e | Event object. |
Definition at line 76 of file genericsettings.cpp.
|
protected |
Prevent stealing mouse wheel scroll.
Scrolling event won't be transmitted to comboboxes or spinboxes. You can scroll through general settings without accidentially changing theme / skin / icons etc.
Definition at line 54 of file genericsettings.cpp.
QPixmap GenericForm::getFormIcon | ( | ) |
Definition at line 41 of file genericsettings.cpp.
|
pure virtual |
Implemented in AVForm, AboutForm, UserInterfaceForm, AdvancedForm, GeneralForm, and PrivacyForm.
|
inlinevirtualslot |
|
protected |
Definition at line 44 of file genericsettings.h.