#include <tagcolormap.h>
Public Member Functions | |
TagColorMap () | |
QColor | getColor (std::string type) |
Private Attributes | |
std::map< std::string, QColor > | colors |
Definition at line 7 of file tagcolormap.h.
TagColorMap::TagColorMap | ( | ) |
Definition at line 6 of file tagcolormap.cc.
References colors.
00007 { 00008 // colors.insert(pair<string, QColor>("hairpin_miRNA", Qt::red.light())); 00009 // colors.insert(pair<string, QColor>("mature_miRNA", Qt::red)); 00010 // colors.insert(pair<string, QColor>("mitRNA", Qt::green)); 00011 // colors.insert(pair<string, QColor>("piRNA", Qt::yellow)); 00012 // colors.insert(pair<string, QColor>("rRNA", Qt::magenta)); 00013 // colors.insert(pair<string, QColor>("rRNA", Qt::blue)); 00014 // colors.insert(pair<string, QColor>("snRNA", Qt::cyan)); 00015 // colors.insert(pair<string, QColor>("snoRNA", Qt::black)); 00016 colors.insert(pair<string, QColor>("gene", Qt::red.light())); 00017 colors.insert(pair<string, QColor>("l4_cluster", Qt::blue.light())); 00018 colors.insert(pair<string, QColor>("DHS", QColor(255, 0, 0))); 00019 00020 }
QColor TagColorMap::getColor | ( | std::string | type | ) |
std::map<std::string, QColor> TagColorMap::colors [private] |