Ejemplo n.º 1
0
void Checker::updateModelAxesChecker (const DocumentModelAxesChecker &modelAxesChecker)
{
    QColor color = ColorPaletteToQColor (modelAxesChecker.lineColor());
    QPen pen (QBrush (color), CHECKER_POINTS_WIDTH);

    m_gridLines.setPen (pen);
}
Ejemplo n.º 2
0
void Checker::updateModelAxesChecker (const DocumentModelAxesChecker &modelAxesChecker)
{
  QColor color = ColorPaletteToQColor (modelAxesChecker.lineColor());
  QPen pen (QBrush (color), CHECKER_POINTS_WIDTH);

  setLineColor (m_sideLeft, pen);
  setLineColor (m_sideTop, pen);
  setLineColor (m_sideRight, pen);
  setLineColor (m_sideBottom, pen);
}