| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 | .TH "SettingsWidget" 3 "Tue Aug 9 2022" "openPilotLog" \" -*- nroff -*-.ad l.nh.SH NAMESettingsWidget \- The \fBSettingsWidget\fP is used to to display and alter \fBSettings\fP\&.  .SH SYNOPSIS.br.PP.PP\fC#include <settingswidget\&.h>\fP.PPInherits QWidget\&..SS "Public Types".in +1c.ti -1c.RI "enum \fBSettingSignal\fP { \fBLogbookWidget\fP, \fBHomeWidget\fP, \fBAircraftWidget\fP, \fBPilotsWidget\fP, \fBMainWindow\fP }".br.RI "enumerates Widgets that need to receive a signal when a setting is updated\&. ".in -1c.SS "Signals".in +1c.ti -1c.RI "void \fBsettingChanged\fP (\fBSettingsWidget::SettingSignal\fP widget)".br.RI "settingChanged is emitted when a setting change occurs that needs to trigger an update (repaint) to another widget\&. ".in -1c.SS "Public Member Functions".in +1c.ti -1c.RI "\fBSettingsWidget\fP (QWidget *parent=nullptr)".br.in -1c.SS "Protected Member Functions".in +1c.ti -1c.RI "void \fBchangeEvent\fP (QEvent *event) override".br.RI "Handles change events, like updating the UI to new localisation\&. ".in -1c.SH "Detailed Description".PP The \fBSettingsWidget\fP is used to to display and alter \fBSettings\fP\&. Most Inputs are collected and processed in various slots and written to the settings file via the \fBSettings\fP class\&. In the \fCPersonal\fP \fBSettings\fP tab, the user can edit his personal details, which are then written to the Database (The Logbook owner is registered in the Pilots Database with \fCpilot_id = 1\fP)\&. .SH "Author".PP Generated automatically by Doxygen for openPilotLog from the source code\&.
 |