#include <preferencesconfigurationpage.h>
Public Member Functions | |
PreferencesConfigurationPage (QWidget *parent=nullptr) | |
virtual | ~PreferencesConfigurationPage () |
void | Apply () |
Protected Member Functions | |
virtual void | changeEvent (QEvent *event) Q_DECL_OVERRIDE |
Private Member Functions | |
void | SetLabelComboBox (const QStringList &list) |
void | InitUnits () |
void | RetranslateUi () |
Private Attributes | |
Ui::PreferencesConfigurationPage * | ui |
bool | m_langChanged |
bool | m_systemChanged |
bool | m_unitChanged |
bool | m_labelLangChanged |
bool | m_selectionSoundChanged |
bool | m_moveSuffixChanged |
bool | m_rotateSuffixChanged |
bool | m_mirrorByAxisSuffixChanged |
bool | m_mirrorByLineSuffixChanged |
bool | m_defaultExportFormatChanged |
Definition at line 62 of file preferencesconfigurationpage.h.
|
explicit |
Definition at line 65 of file preferencesconfigurationpage.cpp.
References InitLanguages(), InitPMSystems(), InitUnits(), VApplication::LabelLanguages(), qApp, SetLabelComboBox(), and ui.
|
virtual |
Definition at line 231 of file preferencesconfigurationpage.cpp.
References ui.
void PreferencesConfigurationPage::Apply | ( | ) |
Definition at line 237 of file preferencesconfigurationpage.cpp.
References m_defaultExportFormatChanged, m_labelLangChanged, m_langChanged, m_mirrorByAxisSuffixChanged, m_mirrorByLineSuffixChanged, m_moveSuffixChanged, m_rotateSuffixChanged, m_selectionSoundChanged, m_systemChanged, m_unitChanged, qApp, SCASSERT, VCommonSettings::setAutosaveInterval(), VCommonSettings::SetAutosaveState(), VCommonSettings::setConfirmFormatRewriting(), VCommonSettings::setConfirmItemDelete(), VCommonSettings::setExportFormat(), VSettings::SetLabelLanguage(), VCommonSettings::SetLocale(), VCommonSettings::setMirrorByAxisSuffix(), VCommonSettings::setMirrorByLineSuffix(), VCommonSettings::setMoveSuffix(), VCommonSettings::SetOsSeparator(), VCommonSettings::SetPMSystemCode(), VCommonSettings::setRotateSuffix(), VCommonSettings::setSelectionSound(), VCommonSettings::SetUndoCount(), VCommonSettings::SetUnit(), VCommonSettings::setUseLastExportFormat(), VCommonSettings::setUseModeType(), and ui.
Referenced by DialogPreferences::Apply().
|
protectedvirtual |
Definition at line 327 of file preferencesconfigurationpage.cpp.
References RetranslateUi().
|
private |
Definition at line 351 of file preferencesconfigurationpage.cpp.
References qApp, ui, unitCM, unitINCH, and unitMM.
Referenced by PreferencesConfigurationPage().
|
private |
Definition at line 366 of file preferencesconfigurationpage.cpp.
References ui.
Referenced by changeEvent().
|
private |
Definition at line 339 of file preferencesconfigurationpage.cpp.
References ui.
Referenced by PreferencesConfigurationPage().
|
private |
Definition at line 87 of file preferencesconfigurationpage.h.
Referenced by Apply().
|
private |
Definition at line 81 of file preferencesconfigurationpage.h.
Referenced by Apply().
|
private |
Definition at line 78 of file preferencesconfigurationpage.h.
Referenced by Apply().
|
private |
Definition at line 85 of file preferencesconfigurationpage.h.
Referenced by Apply().
|
private |
Definition at line 86 of file preferencesconfigurationpage.h.
Referenced by Apply().
|
private |
Definition at line 83 of file preferencesconfigurationpage.h.
Referenced by Apply().
|
private |
Definition at line 84 of file preferencesconfigurationpage.h.
Referenced by Apply().
|
private |
Definition at line 82 of file preferencesconfigurationpage.h.
Referenced by Apply().
|
private |
Definition at line 79 of file preferencesconfigurationpage.h.
Referenced by Apply().
|
private |
Definition at line 80 of file preferencesconfigurationpage.h.
Referenced by Apply().
|
private |
Definition at line 77 of file preferencesconfigurationpage.h.
Referenced by Apply(), InitUnits(), PreferencesConfigurationPage(), RetranslateUi(), SetLabelComboBox(), and ~PreferencesConfigurationPage().