7 //! Color defined by layer not entity
8 //#define C_BY_LAYER 0x00000001
9 //! Color defined by block not entity
10 //#define C_BY_BLOCK 0x00000002
15 * @author Andrew Mustun
17 class Color: public QColor, public Flags
21 Color(int r, int g, int b);
22 Color(const QColor & c);
23 Color(const Color & c);
24 Color(unsigned int f);
26 Color stripFlags() const;
27 bool isByLayer() const;
28 bool isByBlock() const;
29 Color & operator=(const Color & c);
30 bool operator==(const Color & c) const;
31 //no,can't bool operator==(const QColor & c) const;
32 friend std::ostream & operator<<(std::ostream & os, const Color & c);