2009-03-22 18:47:25 +01:00
|
|
|
/*
|
|
|
|
* Cppcheck - A tool for static C/C++ code analysis
|
2010-04-13 21:23:17 +02:00
|
|
|
* Copyright (C) 2007-2010 Daniel Marjamäki and Cppcheck team.
|
2009-03-22 18:47:25 +01:00
|
|
|
*
|
|
|
|
* 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 3 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
|
2009-09-27 17:08:31 +02:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2009-03-22 18:47:25 +01:00
|
|
|
*/
|
|
|
|
|
2009-03-22 18:39:44 +01:00
|
|
|
#ifndef COMMON_H
|
|
|
|
#define COMMON_H
|
|
|
|
|
2009-07-17 10:49:01 +02:00
|
|
|
/// @addtogroup GUI
|
|
|
|
/// @{
|
|
|
|
|
|
|
|
|
2009-06-02 22:32:58 +02:00
|
|
|
/**
|
|
|
|
* @brief List of error types to show
|
|
|
|
*
|
2009-05-23 18:29:24 +02:00
|
|
|
*/
|
2009-03-22 18:39:44 +01:00
|
|
|
typedef enum
|
|
|
|
{
|
2009-05-23 10:17:27 +02:00
|
|
|
SHOW_ALL = 0,
|
2009-03-22 18:39:44 +01:00
|
|
|
SHOW_STYLE,
|
2009-08-02 14:00:22 +02:00
|
|
|
SHOW_ALL_STYLE,
|
2009-03-22 18:39:44 +01:00
|
|
|
SHOW_ERRORS,
|
|
|
|
SHOW_NONE
|
|
|
|
}
|
|
|
|
ShowTypes;
|
|
|
|
|
2009-07-02 10:32:29 +02:00
|
|
|
/**
|
|
|
|
* QSetting value names
|
|
|
|
*/
|
|
|
|
#define SETTINGS_WINDOW_MAXIMIZED "Window maximized"
|
|
|
|
#define SETTINGS_WINDOW_WIDTH "Window width"
|
|
|
|
#define SETTINGS_WINDOW_HEIGHT "Window height"
|
|
|
|
#define SETTINGS_SHOW_ALL "Show all"
|
|
|
|
#define SETTINGS_SHOW_STYLE "Show style"
|
2009-08-02 14:00:22 +02:00
|
|
|
#define SETTINGS_SHOW_ALL_STYLE "Show all style"
|
2009-07-02 10:32:29 +02:00
|
|
|
#define SETTINGS_SHOW_ERRORS "Show errors"
|
|
|
|
#define SETTINGS_CHECK_PATH "Check path"
|
|
|
|
#define SETTINGS_CHECK_FORCE "Check force"
|
|
|
|
#define SETTINGS_CHECK_THREADS "Check threads"
|
|
|
|
#define SETTINGS_SHOW_FULL_PATH "Show full path"
|
|
|
|
#define SETTINGS_SHOW_NO_ERRORS "Show no errors message"
|
|
|
|
#define SETTINGS_SAVE_ALL_ERRORS "Save all errors"
|
|
|
|
#define SETTINGS_SAVE_FULL_PATH "Save full path"
|
|
|
|
#define SETTINGS_CHECK_DIALOG_WIDTH "Check dialog width"
|
|
|
|
#define SETTINGS_CHECK_DIALOG_HEIGHT "Check dialog height"
|
|
|
|
#define SETTINGS_APPLICATION_NAMES "Application names"
|
|
|
|
#define SETTINGS_APPLICATION_PATHS "Application paths"
|
|
|
|
#define SETTINGS_RESULT_COLUMN_WIDTH "Result column %1 width"
|
|
|
|
#define SETTINGS_LANGUAGE "Application language"
|
|
|
|
#define SETTINGS_TOOLBARS_SHOW "Toolbars/ShowStandard"
|
|
|
|
|
2009-07-17 10:49:01 +02:00
|
|
|
/// @}
|
2009-03-22 18:39:44 +01:00
|
|
|
#endif
|