src/gui/widgets/qprintpreviewwidget.cpp
changeset 7 f7bc934e204c
parent 3 41300fa6a67c
child 37 758a864f9613
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
     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)