KissCount/src/view/view.hpp

50 lines
1.8 KiB
C++
Raw Normal View History

/*
2011-01-29 13:04:15 +01:00
Copyright 2010-2011 Grégory Soutadé
This file is part of KissCount.
KissCount 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.
KissCount 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 KissCount. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef VIEW_H
#define VIEW_H
2011-08-27 18:35:36 +02:00
#include <QColor>
namespace view {
2011-08-25 17:45:41 +02:00
const QColor OWN_CYAN(0x99, 0xCC, 0xFF);
const QColor OWN_YELLOW(0xFF, 0xFF, 0x99);
const QColor OWN_GREEN(0x3D, 0xEB, 0x3D);
2011-08-27 18:35:36 +02:00
const QString DEFAULT_FONT_NAME("Liberation Sans");
const int DEFAULT_FONT_SIZE = 12;
2011-08-25 17:45:41 +02:00
#define DEFAULT_FONT(font_name) QFont font_name(view::DEFAULT_FONT_NAME, view::DEFAULT_FONT_SIZE);
};
2011-03-06 17:20:42 +01:00
#define DELETE_ICON RESSOURCES_ROOT "icons/process-stop.png"
#define CHECKED_ICON RESSOURCES_ROOT "icons/tick-icon.png"
#define ACCOUNT_ICON RESSOURCES_ROOT "icons/administrator-icon.png"
#define STATS_ICON RESSOURCES_ROOT "icons/chart-icon.png"
#define SEARCH_ICON RESSOURCES_ROOT "icons/Search-icon.png"
#define PREFS_ICON RESSOURCES_ROOT "icons/options-icon.png"
2011-03-23 20:35:29 +01:00
#define IMPORT_ICON RESSOURCES_ROOT "icons/import-icon.png"
#define EXPORT_ICON RESSOURCES_ROOT "icons/export-icon.png"
2011-03-06 17:20:42 +01:00
#define CHANGE_USER_ICON RESSOURCES_ROOT "icons/Clients-icon.png"
#define ABOUT_ICON RESSOURCES_ROOT "icons/windows-users-icon.png"
#define QUIT_ICON RESSOURCES_ROOT "icons/system-log-out.png"
#define LANG_ROOT RESSOURCES_ROOT "po/"
#endif