~ubuntu-branches/ubuntu/vivid/kdesdk/vivid

« back to all changes in this revision

Viewing changes to umbrello/umbrello/widgets/datatypewidget.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-06-06 11:49:54 UTC
  • mfrom: (0.4.21)
  • Revision ID: package-import@ubuntu.com-20120606114954-rdls73fzlpzxglbx
Tags: 4:4.8.80-0ubuntu1
* New uptream beta release
* Update dont_export_private_classes.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
    if (UMLWidget::useFillColor())  {
54
54
        p.setBrush(UMLWidget::fillColor());
55
55
    } else {
56
 
        p.setBrush( m_scene->viewport()->palette().color(QPalette::Background) );
 
56
        p.setBrush( m_scene->view()->viewport()->palette().color(QPalette::Background) );
57
57
    }
58
58
 
59
59
    int w = width();
63
63
    int fontHeight  = fm.lineSpacing();
64
64
 
65
65
    p.drawRect(offsetX, offsetY, w, h);
66
 
    p.setPen(QPen(Qt::black));
 
66
    p.setPen(textColor());
67
67
 
68
68
    QFont font = UMLWidget::font();
69
69
    font.setBold(true);