Save current tool
This commit is contained in:
1 parent
93095363b8
commit
71b4a8fe5b
3 files changed
+18
-7
No files matched your search
@@ -28,7 +28,7 @@ namespace plaYUVer
|
||||
{
|
||||
|
||||
PlaYUVerSettings::PlaYUVerSettings() :
|
||||
m_settings( "IT", "YUV Player" )
|
||||
m_settings( "IT", "YUV Player" )
|
||||
{
|
||||
}
|
||||
// - - - - - - - - - - - - Main Window Settings - - - - - - - - - - - - - - - -
|
||||
@@ -63,6 +63,16 @@ Void PlaYUVerSettings::setLastOpenPath( const QString & path )
|
||||
m_settings.setValue( "MainWindow/lastOpenPath", path );
|
||||
}
|
||||
|
||||
Int PlaYUVerSettings::getSelectedTool()
|
||||
{
|
||||
return m_settings.value( "MainWindow/SelectedTool", NavigationTool ).toInt();
|
||||
}
|
||||
|
||||
Void PlaYUVerSettings::setSelectedTool( Int tool )
|
||||
{
|
||||
m_settings.setValue( "MainWindow/SelectedTool", tool );
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - PLaying Settings - - - - - - - - - - - - - - - -
|
||||
|
||||
Bool PlaYUVerSettings::getRepeat()
|
||||
|
||||
Reference in new issue
Block a user