arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

CID Namespace Reference


Enumerations

enum  PEN_BRUSH_COLOR_IDS {
  PRIMARY, SECONDARY, TERTIERY, PICKED,
  PRE_PICKED, PBC_LAST
}

Variables

int NUM_COLORS = PBC_LAST
QColor COLORS []
QPen PENS []
QBrush BRUSHES []
const QColor PRIMARY_COLOR = Qt::white
const QColor SECONDARY_COLOR = Qt::lightGray
const QColor TERTIERY_COLOR = Qt::gray
const QColor PICKED_COLOR = Qt::red
const QColor PRE_PICKED_COLOR = Qt::darkRed
int NUM_PCB
 argh!! global arrays, but...


Enumeration Type Documentation

enum CID::PEN_BRUSH_COLOR_IDS
 

Enumeration values:
PRIMARY 
SECONDARY 
TERTIERY 
PICKED 
PRE_PICKED 
PBC_LAST 

Definition at line 34 of file commonQt/canvas/CanvasItems.h.


Variable Documentation

QBrush CID::BRUSHES
 

Initial value:

 {
      QBrush(COLORS[0]),
      QBrush(COLORS[1]),
      QBrush(COLORS[2]),
      QBrush(COLORS[3]),
      QBrush(COLORS[4])
   }

Definition at line 44 of file CanvasItems.cpp.

QColor CID::COLORS
 

Initial value:

Definition at line 30 of file CanvasItems.cpp.

int CID::NUM_COLORS = PBC_LAST
 

Definition at line 29 of file CanvasItems.cpp.

int CID::NUM_PCB
 

argh!! global arrays, but...

you want to customize these and have them global too just too lazy to make a singleton here all of these must have the same number of elements and at least PBC_LAST elements!!!

Definition at line 55 of file commonQt/canvas/CanvasItems.h.

QPen CID::PENS
 

Initial value:

 {
      QPen(COLORS[0]),
      QPen(COLORS[1]),
      QPen(COLORS[2]),
      QPen(COLORS[3]),
      QPen(COLORS[4])
   }

Definition at line 37 of file CanvasItems.cpp.

const QColor CID::PICKED_COLOR = Qt::red
 

Definition at line 46 of file commonQt/canvas/CanvasItems.h.

const QColor CID::PRE_PICKED_COLOR = Qt::darkRed
 

Definition at line 47 of file commonQt/canvas/CanvasItems.h.

const QColor CID::PRIMARY_COLOR = Qt::white
 

Definition at line 43 of file commonQt/canvas/CanvasItems.h.

const QColor CID::SECONDARY_COLOR = Qt::lightGray
 

Definition at line 44 of file commonQt/canvas/CanvasItems.h.

const QColor CID::TERTIERY_COLOR = Qt::gray
 

Definition at line 45 of file commonQt/canvas/CanvasItems.h.


Send questions, comments, and bug reports to:
jmk