1 /***************************************************************************
3 ** This file is part of Qt Creator
5 ** Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
7 ** Contact: Qt Software Information (qt-info@nokia.com)
10 ** Non-Open Source Usage
12 ** Licensees may use this file in accordance with the Qt Beta Version
13 ** License Agreement, Agreement version 2.2 provided with the Software or,
14 ** alternatively, in accordance with the terms contained in a written
15 ** agreement between you and Nokia.
17 ** GNU General Public License Usage
19 ** Alternatively, this file may be used under the terms of the GNU General
20 ** Public License versions 2.0 or 3.0 as published by the Free Software
21 ** Foundation and appearing in the file LICENSE.GPL included in the packaging
22 ** of this file. Please review the following information to ensure GNU
23 ** General Public Licensing requirements will be met:
25 ** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
26 ** http://www.gnu.org/copyleft/gpl.html.
28 ** In addition, as a special exception, Nokia gives you certain additional
29 ** rights. These rights are described in the Nokia Qt GPL Exception
30 ** version 1.3, included in the file GPL_EXCEPTION.txt in this package.
32 ***************************************************************************/
34 #ifndef GENERALSETTINGS_H
35 #define GENERALSETTINGS_H
37 #include <coreplugin/dialogs/ioptionspage.h>
38 #include <QtGui/QWidget>
41 class Ui_GeneralSettings;
47 class GeneralSettings : public IOptionsPage
55 QString category() const;
56 QString trCategory() const;
57 QWidget* createPage(QWidget *parent);
62 void resetInterfaceColor();
63 void resetExternalEditor();
64 void showHelpForExternalEditor();
67 Ui_GeneralSettings *m_page;
71 } // namespace Internal
74 #endif // GENERALSETTINGS_H