00001
00002
00003
00004
00005
00006
00007
00008 #ifndef QTCOLORMAP_H_
00009 #define QTCOLORMAP_H_
00010
00011 #include <map>
00012 #include <string>
00013
00014 namespace srchiliteqt {
00015
00020 class QtColorMap : public std::map<std::string, std::string> {
00021 public:
00022 QtColorMap();
00023 ~QtColorMap();
00024
00032 std::string getColor(const std::string &color);
00033 };
00034
00042 class QtColorMapRGB : public std::map<std::string, std::string> {
00043 public:
00044 QtColorMapRGB();
00045 ~QtColorMapRGB();
00046
00055 std::string getColor(const std::string &color);
00056 };
00057
00058 }
00059
00060 #endif