Files
calyp/app/Settings.h
T
jfmcarreira 58a0b11c8f Merge lot of cool stuff in master
Make it stable and release it
2015-01-17 03:52:19 +00:00

63 lines
1.6 KiB
C++

/* This file is a part of plaYUVer project
* Copyright (C) 2014-2015 by Luis Lucas (luisfrlucas@gmail.com)
* Joao Carreira (jfmcarreira@gmail.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
* \file Settings.h
* \brief App settings
*/
#ifndef __SETTINGS_H__
#define __SETTINGS_H__
#include "config.h"
#include "lib/PlaYUVerDefs.h"
#include <QtCore>
#include "GridManager.h"
#include "VideoSubWindow.h"
namespace plaYUVer
{
class Settings
{
public:
Settings();
// - - - - - - - - - - - - Grid Settings - - - - - - - - - - - - - - -
GridManager::Style gridStyle();
Void setGridStyle( GridManager::Style v );
QColor gridColor();
Void setGridColor( const QColor &v );
Int gridHSpacing();
Void setGridHSpacing( Int v );
Int gridVSpacing();
Void setGridVSpacing( Int v );
private:
QSettings m_settings;
};
} // NAMESPACE
#endif // __Settings_H__