ProjectPreferences.h 1.56 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*****************************************************************************
 * ProjectPreferences.h: VLMC project preferences class
 *****************************************************************************
 * Copyright (C) 2008-2009 the VLMC team
 *
 * Authors: Geoffroy Lacarriere <geoffroylaca@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.
 *****************************************************************************/

23
24
25
#ifndef PROJECTPREFERENCES_H
#define PROJECTPREFERENCES_H

26
27
28
#include <QSettings>
#include <QWidget>

29
#include "ui_ProjectPreferences.h"
30
#include "PreferenceWidget.h"
31

32
class   ProjectPreferences : public QWidget, public PreferenceWidget
33
34
35
36
37
38
{
    //Q_OBJECT
    public:
        ProjectPreferences( QWidget* parent = 0 );
        ~ProjectPreferences();
        bool    load();
39
        void    save( QSettings& settings );
40
41
42
43
44
    private:
        Ui::ProjectPreferences  m_ui;
};

#endif