equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
8 ** |
8 ** |
149 { |
149 { |
150 Q_OBJECT |
150 Q_OBJECT |
151 public: |
151 public: |
152 GraphicsView(QWidget* parent = 0) |
152 GraphicsView(QWidget* parent = 0) |
153 : QGraphicsView(parent) |
153 : QGraphicsView(parent) |
154 {} |
154 { |
|
155 #ifdef Q_WS_MAC |
|
156 setFrameStyle(QFrame::NoFrame); |
|
157 #endif |
|
158 } |
155 signals: |
159 signals: |
156 void resized(); |
160 void resized(); |
157 |
161 |
158 protected: |
162 protected: |
159 void resizeEvent(QResizeEvent* e) |
163 void resizeEvent(QResizeEvent* e) |