#include <Preferences.h>
Inherits PropertyContainer.
Inheritance diagram for Preferences:


Definition at line 23 of file Preferences.h.
Public Types | |
| enum | SpectrogramSmoothing { NoSpectrogramSmoothing, SpectrogramInterpolated, SpectrogramZeroPadded, SpectrogramZeroPaddedAndInterpolated } |
| enum | PropertyBoxLayout { VerticallyStacked, Layered } |
| !! harmonise with PaneStack More... | |
| enum | BackgroundMode { BackgroundFromTheme, DarkBackground, LightBackground } |
| enum | PropertyType { ToggleProperty, RangeProperty, ValueProperty, ColourProperty, UnitsProperty, InvalidProperty } |
| typedef QString | PropertyName |
| typedef std::vector< PropertyName > | PropertyList |
Public Slots | |
| virtual void | setProperty (const PropertyName &, int) |
| void | setSpectrogramSmoothing (SpectrogramSmoothing smoothing) |
| void | setTuningFrequency (float freq) |
| void | setPropertyBoxLayout (PropertyBoxLayout layout) |
| void | setWindowType (WindowType type) |
| void | setResampleQuality (int quality) |
| void | setOmitTempsFromRecentFiles (bool omit) |
| void | setTemporaryDirectoryRoot (QString tempDirRoot) |
| void | setResampleOnLoad (bool) |
| void | setBackgroundMode (BackgroundMode mode) |
| void | setViewFontSize (int size) |
| void | setShowSplash (bool) |
| virtual void | setProperty (const PropertyName &, int value) |
| Set a property. | |
| virtual void | setProperty (QString nameString, QString valueString) |
| Set a property using a fuzzy match. | |
| virtual void | setPropertyWithCommand (const PropertyName &, int value) |
| Set a property using a command, supporting undo and redo. | |
| virtual void | setPropertyWithCommand (QString nameString, QString valueString) |
| As above, but using a command. | |
Signals | |
| void | propertyChanged (PropertyContainer::PropertyName) |
Public Member Functions | |
| virtual PropertyList | getProperties () const |
| Get a list of the names of all the supported properties on this container. | |
| virtual QString | getPropertyLabel (const PropertyName &) const |
| virtual PropertyType | getPropertyType (const PropertyName &) const |
| virtual int | getPropertyRangeAndValue (const PropertyName &, int *, int *, int *) const |
| virtual QString | getPropertyValueLabel (const PropertyName &, int value) const |
| virtual QString | getPropertyContainerName () const |
| virtual QString | getPropertyContainerIconName () const |
| SpectrogramSmoothing | getSpectrogramSmoothing () const |
| float | getTuningFrequency () const |
| WindowType | getWindowType () const |
| int | getResampleQuality () const |
| PropertyBoxLayout | getPropertyBoxLayout () const |
| int | getViewFontSize () const |
| bool | getOmitTempsFromRecentFiles () const |
| QString | getTemporaryDirectoryRoot () const |
| bool | getResampleOnLoad () const |
| BackgroundMode | getBackgroundMode () const |
| bool | getShowSplash () const |
| virtual QString | getPropertyLabel (const PropertyName &) const =0 |
| Return the human-readable (and i18n'ised) name of a property. | |
| virtual PropertyType | getPropertyType (const PropertyName &) const |
| Return the type of the given property, or InvalidProperty if the property is not supported on this container. | |
| virtual QString | getPropertyIconName (const PropertyName &) const |
| Return an icon for the property, if any. | |
| virtual QString | getPropertyGroupName (const PropertyName &) const |
| If this property has something in common with other properties on this container, return a name that can be used to group them (in order to save screen space, for example). | |
| virtual int | getPropertyRangeAndValue (const PropertyName &, int *min, int *max, int *deflt) const |
| Return the minimum and maximum values for the given property and its current value in this container. | |
| virtual QString | getPropertyValueLabel (const PropertyName &, int value) const |
| If the given property is a ValueProperty, return the display label to be used for the given value for that property. | |
| virtual RangeMapper * | getNewPropertyRangeMapper (const PropertyName &) const |
| If the given property is a RangeProperty, return a new RangeMapper object mapping its integer range onto an underlying floating point value range for human-intelligible display, if appropriate. | |
| virtual PlayParameters * | getPlayParameters () |
Static Public Member Functions | |
| static Preferences * | getInstance () |
Protected Member Functions | |
| virtual bool | convertPropertyStrings (QString nameString, QString valueString, PropertyName &name, int &value) |
Private Member Functions | |
| Preferences () | |
| virtual | ~Preferences () |
Private Attributes | |
| SpectrogramSmoothing | m_spectrogramSmoothing |
| float | m_tuningFrequency |
| PropertyBoxLayout | m_propertyBoxLayout |
| WindowType | m_windowType |
| int | m_resampleQuality |
| bool | m_omitRecentTemps |
| QString | m_tempDirRoot |
| bool | m_resampleOnLoad |
| int | m_viewFontSize |
| BackgroundMode | m_backgroundMode |
| bool | m_showSplash |
Static Private Attributes | |
| static Preferences * | m_instance |
typedef QString PropertyContainer::PropertyName [inherited] |
Definition at line 35 of file PropertyContainer.h.
typedef std::vector<PropertyName> PropertyContainer::PropertyList [inherited] |
Definition at line 36 of file PropertyContainer.h.
| NoSpectrogramSmoothing | |
| SpectrogramInterpolated | |
| SpectrogramZeroPadded | |
| SpectrogramZeroPaddedAndInterpolated |
Definition at line 38 of file Preferences.h.
Definition at line 65 of file Preferences.h.
enum PropertyContainer::PropertyType [inherited] |
Definition at line 38 of file PropertyContainer.h.
| Preferences::Preferences | ( | ) | [private] |
Definition at line 39 of file Preferences.cpp.
References BackgroundFromTheme, HanningWindow, m_backgroundMode, m_propertyBoxLayout, m_resampleOnLoad, m_resampleQuality, m_showSplash, m_spectrogramSmoothing, m_tempDirRoot, m_tuningFrequency, m_viewFontSize, m_windowType, and VerticallyStacked.
Referenced by getInstance().
| Preferences::~Preferences | ( | ) | [private, virtual] |
Definition at line 76 of file Preferences.cpp.
| Preferences * Preferences::getInstance | ( | ) | [static] |
Definition at line 33 of file Preferences.cpp.
References m_instance, and Preferences().
Referenced by RecentFiles::addFile(), View::addLayer(), PreferencesDialog::applyClicked(), AudioCallbackPlaySource::AudioCallbackPlaySource(), Pitch::getFrequencyForPitch(), Pitch::getPitchForFrequency(), Pitch::getPitchForFrequencyDifference(), Pitch::getPitchLabelForFrequency(), LADSPAPluginFactory::getPortDefault(), SpectrogramLayer::getZeroPadLevel(), MainWindowBase::MainWindowBase(), MainWindowBase::openAudio(), SpectrogramLayer::paint(), SpectrumLayer::preferenceChanged(), SpectrogramLayer::preferenceChanged(), MainWindowBase::preferenceChanged(), AudioCallbackPlaySource::preferenceChanged(), PreferencesDialog::PreferencesDialog(), View::setPaintFont(), SpectrogramLayer::SpectrogramLayer(), SpectrumLayer::SpectrumLayer(), MainWindowBase::togglePropertyBoxes(), and WindowTypeSelector::WindowTypeSelector().
| Preferences::PropertyList Preferences::getProperties | ( | ) | const [virtual] |
Get a list of the names of all the supported properties on this container.
These should be fixed (i.e. not internationalized).
Reimplemented from PropertyContainer.
Definition at line 81 of file Preferences.cpp.
| QString Preferences::getPropertyLabel | ( | const PropertyName & | ) | const [virtual] |
Definition at line 99 of file Preferences.cpp.
Referenced by PreferencesDialog::PreferencesDialog().
| Preferences::PropertyType Preferences::getPropertyType | ( | const PropertyName & | ) | const [virtual] |
Definition at line 138 of file Preferences.cpp.
References PropertyContainer::InvalidProperty, PropertyContainer::RangeProperty, PropertyContainer::ToggleProperty, and PropertyContainer::ValueProperty.
| int Preferences::getPropertyRangeAndValue | ( | const PropertyName & | , | |
| int * | , | |||
| int * | , | |||
| int * | ||||
| ) | const [virtual] |
Definition at line 178 of file Preferences.cpp.
References BlackmanHarrisWindow, HanningWindow, Layered, m_backgroundMode, m_propertyBoxLayout, m_resampleQuality, m_spectrogramSmoothing, m_viewFontSize, m_windowType, RectangularWindow, and SpectrogramZeroPadded.
Referenced by PreferencesDialog::PreferencesDialog(), and WindowTypeSelector::WindowTypeSelector().
| QString Preferences::getPropertyValueLabel | ( | const PropertyName & | , | |
| int | value | |||
| ) | const [virtual] |
Definition at line 237 of file Preferences.cpp.
References BackgroundFromTheme, BartlettWindow, BlackmanHarrisWindow, BlackmanWindow, DarkBackground, GaussianWindow, HammingWindow, HanningWindow, LightBackground, NoSpectrogramSmoothing, NuttallWindow, ParzenWindow, RectangularWindow, SpectrogramInterpolated, and SpectrogramZeroPadded.
Referenced by PreferencesDialog::PreferencesDialog(), and WindowTypeSelector::WindowTypeSelector().
| QString Preferences::getPropertyContainerName | ( | ) | const [virtual] |
| QString Preferences::getPropertyContainerIconName | ( | ) | const [virtual] |
| SpectrogramSmoothing Preferences::getSpectrogramSmoothing | ( | ) | const [inline] |
Definition at line 45 of file Preferences.h.
References m_spectrogramSmoothing.
Referenced by SpectrogramLayer::getZeroPadLevel(), and SpectrogramLayer::paint().
| float Preferences::getTuningFrequency | ( | ) | const [inline] |
Definition at line 46 of file Preferences.h.
References m_tuningFrequency.
Referenced by Pitch::getFrequencyForPitch(), Pitch::getPitchForFrequency(), Pitch::getPitchForFrequencyDifference(), Pitch::getPitchLabelForFrequency(), LADSPAPluginFactory::getPortDefault(), and PreferencesDialog::PreferencesDialog().
| WindowType Preferences::getWindowType | ( | ) | const [inline] |
Definition at line 47 of file Preferences.h.
References m_windowType.
Referenced by SpectrogramLayer::SpectrogramLayer(), and SpectrumLayer::SpectrumLayer().
| int Preferences::getResampleQuality | ( | ) | const [inline] |
| PropertyBoxLayout Preferences::getPropertyBoxLayout | ( | ) | const [inline] |
| int Preferences::getViewFontSize | ( | ) | const [inline] |
Definition at line 57 of file Preferences.h.
References m_viewFontSize.
Referenced by View::addLayer().
| bool Preferences::getOmitTempsFromRecentFiles | ( | ) | const [inline] |
| QString Preferences::getTemporaryDirectoryRoot | ( | ) | const [inline] |
Definition at line 61 of file Preferences.h.
References m_tempDirRoot.
Referenced by PreferencesDialog::PreferencesDialog().
| bool Preferences::getResampleOnLoad | ( | ) | const [inline] |
Definition at line 63 of file Preferences.h.
References m_resampleOnLoad.
Referenced by PreferencesDialog::PreferencesDialog().
| BackgroundMode Preferences::getBackgroundMode | ( | ) | const [inline] |
Definition at line 70 of file Preferences.h.
References m_backgroundMode.
Referenced by MainWindowBase::MainWindowBase(), and MainWindowBase::preferenceChanged().
| bool Preferences::getShowSplash | ( | ) | const [inline] |
Definition at line 72 of file Preferences.h.
References m_showSplash.
Referenced by PreferencesDialog::PreferencesDialog().
| void Preferences::setProperty | ( | const PropertyName & | , | |
| int | ||||
| ) | [virtual, slot] |
Definition at line 295 of file Preferences.cpp.
References Layered, setBackgroundMode(), setOmitTempsFromRecentFiles(), setPropertyBoxLayout(), setResampleQuality(), setShowSplash(), setSpectrogramSmoothing(), setViewFontSize(), setWindowType(), and VerticallyStacked.
| void Preferences::setSpectrogramSmoothing | ( | SpectrogramSmoothing | smoothing | ) | [slot] |
Definition at line 319 of file Preferences.cpp.
References m_spectrogramSmoothing, and PropertyContainer::propertyChanged().
Referenced by PreferencesDialog::applyClicked(), and setProperty().
| void Preferences::setTuningFrequency | ( | float | freq | ) | [slot] |
Definition at line 336 of file Preferences.cpp.
References m_tuningFrequency, and PropertyContainer::propertyChanged().
Referenced by PreferencesDialog::applyClicked().
| void Preferences::setPropertyBoxLayout | ( | PropertyBoxLayout | layout | ) | [slot] |
Definition at line 349 of file Preferences.cpp.
References m_propertyBoxLayout, and PropertyContainer::propertyChanged().
Referenced by PreferencesDialog::applyClicked(), and setProperty().
| void Preferences::setWindowType | ( | WindowType | type | ) | [slot] |
Definition at line 362 of file Preferences.cpp.
References m_windowType, and PropertyContainer::propertyChanged().
Referenced by PreferencesDialog::applyClicked(), and setProperty().
| void Preferences::setResampleQuality | ( | int | quality | ) | [slot] |
Definition at line 375 of file Preferences.cpp.
References m_resampleQuality, and PropertyContainer::propertyChanged().
Referenced by PreferencesDialog::applyClicked(), and setProperty().
| void Preferences::setOmitTempsFromRecentFiles | ( | bool | omit | ) | [slot] |
Definition at line 388 of file Preferences.cpp.
References m_omitRecentTemps, and PropertyContainer::propertyChanged().
Referenced by setProperty().
| void Preferences::setTemporaryDirectoryRoot | ( | QString | tempDirRoot | ) | [slot] |
Definition at line 401 of file Preferences.cpp.
References m_tempDirRoot, and PropertyContainer::propertyChanged().
Referenced by PreferencesDialog::applyClicked().
| void Preferences::setResampleOnLoad | ( | bool | ) | [slot] |
Definition at line 417 of file Preferences.cpp.
References m_resampleOnLoad, and PropertyContainer::propertyChanged().
Referenced by PreferencesDialog::applyClicked().
| void Preferences::setBackgroundMode | ( | BackgroundMode | mode | ) | [slot] |
Definition at line 430 of file Preferences.cpp.
References m_backgroundMode, and PropertyContainer::propertyChanged().
Referenced by PreferencesDialog::applyClicked(), and setProperty().
| void Preferences::setViewFontSize | ( | int | size | ) | [slot] |
Definition at line 445 of file Preferences.cpp.
References m_viewFontSize, and PropertyContainer::propertyChanged().
Referenced by PreferencesDialog::applyClicked(), and setProperty().
| void Preferences::setShowSplash | ( | bool | ) | [slot] |
Definition at line 460 of file Preferences.cpp.
References m_showSplash, and PropertyContainer::propertyChanged().
Referenced by PreferencesDialog::applyClicked(), and setProperty().
| virtual QString PropertyContainer::getPropertyLabel | ( | const PropertyName & | ) | const [pure virtual, inherited] |
Return the human-readable (and i18n'ised) name of a property.
Referenced by PropertyContainer::convertPropertyStrings(), and PropertyBox::updatePropertyEditor().
| PropertyContainer::PropertyType PropertyContainer::getPropertyType | ( | const PropertyName & | ) | const [virtual, inherited] |
Return the type of the given property, or InvalidProperty if the property is not supported on this container.
Definition at line 33 of file PropertyContainer.cpp.
References PropertyContainer::InvalidProperty.
Referenced by PropertyBox::colourDatabaseChanged(), PropertyContainer::convertPropertyStrings(), ImageLayer::getPropertyType(), PropertyContainer::getPropertyValueLabel(), PropertyBox::propertyControllerChanged(), PropertyBox::unitDatabaseChanged(), and PropertyBox::updatePropertyEditor().
| QString PropertyContainer::getPropertyIconName | ( | const PropertyName & | ) | const [virtual, inherited] |
Return an icon for the property, if any.
Definition at line 39 of file PropertyContainer.cpp.
Referenced by PropertyBox::updatePropertyEditor().
| QString PropertyContainer::getPropertyGroupName | ( | const PropertyName & | ) | const [virtual, inherited] |
If this property has something in common with other properties on this container, return a name that can be used to group them (in order to save screen space, for example).
e.g. "Window Type" and "Window Size" might both have a group name of "Window". If this property is not groupable, return the empty string.
Definition at line 45 of file PropertyContainer.cpp.
Referenced by PropertyBox::updatePropertyEditor().
| int PropertyContainer::getPropertyRangeAndValue | ( | const PropertyName & | , | |
| int * | min, | |||
| int * | max, | |||
| int * | deflt | |||
| ) | const [virtual, inherited] |
Return the minimum and maximum values for the given property and its current value in this container.
Min and/or max may be passed as NULL if their values are not required.
Definition at line 51 of file PropertyContainer.cpp.
Referenced by PropertyContainer::convertPropertyStrings(), PropertyContainer::SetPropertyCommand::execute(), SpectrogramLayer::getPropertyRangeAndValue(), SingleColourLayer::getPropertyRangeAndValue(), ImageLayer::getPropertyRangeAndValue(), Colour3DPlotLayer::getPropertyRangeAndValue(), PropertyContainer::setPropertyWithCommand(), and PropertyBox::updatePropertyEditor().
| QString PropertyContainer::getPropertyValueLabel | ( | const PropertyName & | , | |
| int | value | |||
| ) | const [virtual, inherited] |
If the given property is a ValueProperty, return the display label to be used for the given value for that property.
Definition at line 61 of file PropertyContainer.cpp.
References PropertyContainer::ColourProperty, ColourDatabase::getColourCount(), ColourDatabase::getColourName(), ColourDatabase::getInstance(), and PropertyContainer::getPropertyType().
Referenced by PropertyContainer::convertPropertyStrings(), SingleColourLayer::getPropertyValueLabel(), ImageLayer::getPropertyValueLabel(), and PropertyBox::updatePropertyEditor().
| RangeMapper * PropertyContainer::getNewPropertyRangeMapper | ( | const PropertyName & | ) | const [virtual, inherited] |
If the given property is a RangeProperty, return a new RangeMapper object mapping its integer range onto an underlying floating point value range for human-intelligible display, if appropriate.
The RangeMapper should be allocated with new, and the caller takes responsibility for deleting it. Return NULL (as in the default implementation) if there is no such mapping.
Definition at line 74 of file PropertyContainer.cpp.
Referenced by PropertyContainer::convertPropertyStrings(), and PropertyBox::updatePropertyEditor().
| virtual PlayParameters* PropertyContainer::getPlayParameters | ( | ) | [inline, virtual, inherited] |
Reimplemented in Layer.
Definition at line 106 of file PropertyContainer.h.
Referenced by PropertyBox::editPlugin(), PropertyBox::pluginConfigurationChanged(), and PropertyBox::populateViewPlayFrame().
| void PropertyContainer::propertyChanged | ( | PropertyContainer::PropertyName | ) | [signal, inherited] |
Referenced by setBackgroundMode(), setOmitTempsFromRecentFiles(), setPropertyBoxLayout(), setResampleOnLoad(), setResampleQuality(), setShowSplash(), setSpectrogramSmoothing(), setTemporaryDirectoryRoot(), setTuningFrequency(), setViewFontSize(), setWindowType(), SpectrogramLayer::SpectrogramLayer(), SpectrumLayer::SpectrumLayer(), and ViewPropertyContainer::ViewPropertyContainer().
| void PropertyContainer::setProperty | ( | const PropertyName & | , | |
| int | value | |||
| ) | [virtual, slot, inherited] |
Set a property.
This is used for all property types. For boolean properties, zero is false and non-zero true; for colours, the integer value is an index into the colours in the global ColourDatabase.
Definition at line 80 of file PropertyContainer.cpp.
References PropertyContainer::getPropertyContainerName().
Referenced by PropertyContainer::SetPropertyCommand::execute(), PropertyContainer::setProperty(), ImageLayer::setProperty(), and PropertyContainer::SetPropertyCommand::unexecute().
| void PropertyContainer::setProperty | ( | QString | nameString, | |
| QString | valueString | |||
| ) | [virtual, slot, inherited] |
Set a property using a fuzzy match.
Compare nameString with the property labels and underlying names, and if it matches one (with preference given to labels), try to convert valueString appropriately and set it. The valueString should contain a value label for value properties, a mapped value for range properties, "on" or "off" for toggle properties, a colour or unit name, or the underlying integer value for the property.
Note that as property and value labels may be translatable, the results of this function may vary by locale. It is intended for handling user-originated strings, _not_ persistent storage.
The default implementation should work for most subclasses.
Definition at line 96 of file PropertyContainer.cpp.
References PropertyContainer::convertPropertyStrings(), and PropertyContainer::setProperty().
| void PropertyContainer::setPropertyWithCommand | ( | const PropertyName & | , | |
| int | value | |||
| ) | [virtual, slot, inherited] |
Set a property using a command, supporting undo and redo.
The default implementation should work for most subclasses.
Definition at line 86 of file PropertyContainer.cpp.
References CommandHistory::addCommand(), CommandHistory::getInstance(), and PropertyContainer::getPropertyRangeAndValue().
Referenced by MainWindow::handleOSCMessage(), PropertyBox::propertyControllerChanged(), and PropertyContainer::setPropertyWithCommand().
| void PropertyContainer::setPropertyWithCommand | ( | QString | nameString, | |
| QString | valueString | |||
| ) | [virtual, slot, inherited] |
As above, but using a command.
Definition at line 111 of file PropertyContainer.cpp.
References PropertyContainer::convertPropertyStrings(), and PropertyContainer::setPropertyWithCommand().
| bool PropertyContainer::convertPropertyStrings | ( | QString | nameString, | |
| QString | valueString, | |||
| PropertyName & | name, | |||
| int & | value | |||
| ) | [protected, virtual, inherited] |
Definition at line 126 of file PropertyContainer.cpp.
References PropertyContainer::ColourProperty, ColourDatabase::getColourIndex(), UnitDatabase::getInstance(), ColourDatabase::getInstance(), PropertyContainer::getNewPropertyRangeMapper(), RangeMapper::getPositionForValue(), PropertyContainer::getProperties(), PropertyContainer::getPropertyLabel(), PropertyContainer::getPropertyRangeAndValue(), PropertyContainer::getPropertyType(), PropertyContainer::getPropertyValueLabel(), UnitDatabase::getUnitId(), PropertyContainer::InvalidProperty, PropertyContainer::RangeProperty, PropertyContainer::ToggleProperty, PropertyContainer::UnitsProperty, and PropertyContainer::ValueProperty.
Referenced by PropertyContainer::setProperty(), and PropertyContainer::setPropertyWithCommand().
Preferences * Preferences::m_instance [static, private] |
Definition at line 95 of file Preferences.h.
Referenced by getPropertyRangeAndValue(), getSpectrogramSmoothing(), Preferences(), and setSpectrogramSmoothing().
float Preferences::m_tuningFrequency [private] |
Definition at line 96 of file Preferences.h.
Referenced by getTuningFrequency(), Preferences(), and setTuningFrequency().
Definition at line 97 of file Preferences.h.
Referenced by getPropertyBoxLayout(), getPropertyRangeAndValue(), Preferences(), and setPropertyBoxLayout().
WindowType Preferences::m_windowType [private] |
Definition at line 98 of file Preferences.h.
Referenced by getPropertyRangeAndValue(), getWindowType(), Preferences(), and setWindowType().
int Preferences::m_resampleQuality [private] |
Definition at line 99 of file Preferences.h.
Referenced by getPropertyRangeAndValue(), getResampleQuality(), Preferences(), and setResampleQuality().
bool Preferences::m_omitRecentTemps [private] |
Definition at line 100 of file Preferences.h.
Referenced by getOmitTempsFromRecentFiles(), and setOmitTempsFromRecentFiles().
QString Preferences::m_tempDirRoot [private] |
Definition at line 101 of file Preferences.h.
Referenced by getTemporaryDirectoryRoot(), Preferences(), and setTemporaryDirectoryRoot().
bool Preferences::m_resampleOnLoad [private] |
Definition at line 102 of file Preferences.h.
Referenced by getResampleOnLoad(), Preferences(), and setResampleOnLoad().
int Preferences::m_viewFontSize [private] |
Definition at line 103 of file Preferences.h.
Referenced by getPropertyRangeAndValue(), getViewFontSize(), Preferences(), and setViewFontSize().
BackgroundMode Preferences::m_backgroundMode [private] |
Definition at line 104 of file Preferences.h.
Referenced by getBackgroundMode(), getPropertyRangeAndValue(), Preferences(), and setBackgroundMode().
bool Preferences::m_showSplash [private] |
Definition at line 105 of file Preferences.h.
Referenced by getShowSplash(), Preferences(), and setShowSplash().
1.5.1