Ignore:
Timestamp:
Feb 11, 2010, 11:19:06 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.1 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/graphicsview/qgraphicswidget.h

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the QtGui module of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
     
    6767class QGraphicsWidgetPrivate;
    6868
    69 class Q_GUI_EXPORT QGraphicsWidget : public QObject, public QGraphicsItem, public QGraphicsLayoutItem
     69class Q_GUI_EXPORT QGraphicsWidget : public QGraphicsObject, public QGraphicsLayoutItem
    7070{
    7171    Q_OBJECT
     72    Q_INTERFACES(QGraphicsItem QGraphicsLayoutItem)
    7273    Q_PROPERTY(QPalette palette READ palette WRITE setPalette)
    7374    Q_PROPERTY(QFont font READ font WRITE setFont)
    7475    Q_PROPERTY(Qt::LayoutDirection layoutDirection READ layoutDirection WRITE setLayoutDirection RESET unsetLayoutDirection)
    7576    Q_PROPERTY(QSizeF size READ size WRITE resize)
     77    Q_PROPERTY(QSizeF minimumSize READ minimumSize WRITE setMinimumSize)
     78    Q_PROPERTY(QSizeF preferredSize READ preferredSize WRITE setPreferredSize)
     79    Q_PROPERTY(QSizeF maximumSize READ maximumSize WRITE setMaximumSize)
     80    Q_PROPERTY(QSizePolicy sizePolicy READ sizePolicy WRITE setSizePolicy)
    7681    Q_PROPERTY(Qt::FocusPolicy focusPolicy READ focusPolicy WRITE setFocusPolicy)
    77     Q_PROPERTY(bool enabled READ isEnabled WRITE setEnabled)
    78     Q_PROPERTY(bool visible READ isVisible WRITE setVisible)
    7982    Q_PROPERTY(Qt::WindowFlags windowFlags READ windowFlags WRITE setWindowFlags)
    8083    Q_PROPERTY(QString windowTitle READ windowTitle WRITE setWindowTitle)
    81     Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity)
    82     Q_PROPERTY(QPointF pos READ pos WRITE setPos)
    8384    Q_PROPERTY(QRectF geometry READ geometry WRITE setGeometry)
    84 
    8585public:
    8686    QGraphicsWidget(QGraphicsItem *parent = 0, Qt::WindowFlags wFlags = 0);
     
    226226private:
    227227    Q_DISABLE_COPY(QGraphicsWidget)
    228     Q_DECLARE_PRIVATE_D(QGraphicsItem::d_ptr, QGraphicsWidget)
     228    Q_DECLARE_PRIVATE_D(QGraphicsItem::d_ptr.data(), QGraphicsWidget)
    229229    friend class QGraphicsScene;
    230230    friend class QGraphicsScenePrivate;
Note: See TracChangeset for help on using the changeset viewer.