Save visibility of the side bar docks

This commit is contained in:
jfmcarreira committed 2014-06-15 18:30:42 +01:00
1 parent db59d81f57
commit 49e9fcce46
3 files changed
+23

No files matched your search

+12
View File
@@ -73,6 +73,18 @@ Void PlaYUVerSettings::setSelectedTool( Int tool )
m_settings.setValue( "MainWindow/SelectedTool", tool );
}
Void PlaYUVerSettings::setDockVisibility( Bool statusStreamProperties, Bool statusFrameProperties )
{
m_settings.setValue( "Dock/StreamProperties", statusStreamProperties );
m_settings.setValue( "Dock/FrameProperties", statusFrameProperties );
}
Void PlaYUVerSettings::getDockVisibility( Bool& statusStreamProperties, Bool& statusFrameProperties )
{
statusStreamProperties = m_settings.value( "Dock/StreamProperties", true ).toBool();
statusFrameProperties = m_settings.value( "Dock/FrameProperties", true ).toBool();
}
// - - - - - - - - - - - - PLaying Settings - - - - - - - - - - - - - - - -
Bool PlaYUVerSettings::getRepeat()