Definition at line 69 of file qgraphicswidget.h.
Public Types
|
| enum |
{
Type = 11 } |
Public Slots
|
| bool |
close
() |
Signals
|
| void |
geometryChanged
() |
| void |
layoutChanged
() |
Public Member Functions
|
| |
QGraphicsWidget
(QGraphicsItem
*parent=0, Qt::WindowFlags wFlags=0) |
| |
~QGraphicsWidget
() |
| QGraphicsLayout
* |
layout
() const |
| void |
setLayout
(QGraphicsLayout *layout) |
| void |
adjustSize
() |
| Qt::LayoutDirection |
layoutDirection
() const |
| void |
setLayoutDirection
(Qt::LayoutDirection
direction) |
| void |
unsetLayoutDirection
() |
| QStyle * |
style
() const |
| void |
setStyle
(QStyle *style) |
| QFont |
font
() const |
| void |
setFont
(const QFont
&font) |
| QPalette |
palette
() const |
| void |
setPalette
(const QPalette
&palette) |
| bool |
autoFillBackground
() const |
| void |
setAutoFillBackground
(bool enabled) |
| void |
resize
(const QSizeF
&size) |
| void |
resize
(qreal w, qreal h) |
| QSizeF |
size
() const |
| void |
setGeometry
(const QRectF
&rect) |
| void |
setGeometry
(qreal x, qreal y, qreal w, qreal h) |
| QRectF |
rect
() const |
| void |
setContentsMargins
(qreal left, qreal top, qreal right, qreal bottom) |
| void |
getContentsMargins
(qreal *left, qreal *top, qreal *right, qreal *bottom) const |
| void |
setWindowFrameMargins
(qreal left, qreal top, qreal right, qreal bottom) |
| void |
getWindowFrameMargins
(qreal *left, qreal *top, qreal *right, qreal *bottom) const |
| void |
unsetWindowFrameMargins
() |
| QRectF |
windowFrameGeometry
() const |
| QRectF |
windowFrameRect
() const |
|
Qt::WindowFlags |
windowFlags
() const |
| Qt::WindowType |
windowType
() const |
| void |
setWindowFlags
(Qt::WindowFlags wFlags) |
| bool |
isActiveWindow
() const |
| void |
setWindowTitle
(const QString
&title) |
| QString |
windowTitle
() const |
| Qt::FocusPolicy |
focusPolicy
() const |
| void |
setFocusPolicy
(Qt::FocusPolicy
policy) |
| QGraphicsWidget
* |
focusWidget
() const |
| int |
grabShortcut
(const QKeySequence &sequence,
Qt::ShortcutContext
context=Qt::WindowShortcut) |
| void |
releaseShortcut
(int id) |
| void |
setShortcutEnabled
(int id, bool enabled=true) |
| void |
setShortcutAutoRepeat
(int id, bool enabled=true) |
| void |
addAction
(QAction *action) |
| void |
addActions
(QList< QAction * > actions) |
| void |
insertAction
(QAction *before,
QAction *action) |
| void |
insertActions
(QAction *before,
QList< QAction * > actions) |
| void |
removeAction
(QAction *action) |
| QList< QAction * > |
actions
() const |
| void |
setAttribute
(Qt::WidgetAttribute
attribute, bool on=true) |
| bool |
testAttribute
(Qt::WidgetAttribute
attribute) const |
| int |
type
() const |
| void |
paint
(QPainter *painter,
const QStyleOptionGraphicsItem
*option, QWidget
*widget=0) |
| virtual
void |
paintWindowFrame
(QPainter *painter,
const QStyleOptionGraphicsItem
*option, QWidget
*widget=0) |
| QRectF |
boundingRect
() const |
| QPainterPath |
shape
() const |
Static Public Member
Functions
|
| static
void |
setTabOrder
(QGraphicsWidget *first,
QGraphicsWidget *second) |
Protected Member Functions
|
| virtual
void |
initStyleOption
(QStyleOption
*option) const |
| QSizeF |
sizeHint
(Qt::SizeHint
which, const QSizeF
&constraint=QSizeF()) const |
| void |
updateGeometry
() |
| QVariant |
itemChange
(GraphicsItemChange
change, const QVariant &value) |
| virtual
QVariant |
propertyChange
(const QString
&propertyName, const QVariant &value) |
| bool |
sceneEvent
(QEvent *event) |
| virtual
bool |
windowFrameEvent
(QEvent *e) |
| virtual
Qt::WindowFrameSection |
windowFrameSectionAt
(const QPointF
&pos) const |
| bool |
event
(QEvent *event) |
| virtual
void |
changeEvent
(QEvent *event) |
| virtual
void |
closeEvent
(QCloseEvent
*event) |
| void |
focusInEvent
(QFocusEvent
*event) |
| virtual
bool |
focusNextPrevChild
(bool next) |
| void |
focusOutEvent
(QFocusEvent
*event) |
| virtual
void |
hideEvent
(QHideEvent
*event) |
| virtual
void |
moveEvent
(QGraphicsSceneMoveEvent
*event) |
| virtual
void |
polishEvent
() |
| virtual
void |
resizeEvent
(QGraphicsSceneResizeEvent
*event) |
| virtual
void |
showEvent
(QShowEvent
*event) |
| virtual
void |
hoverMoveEvent
(QGraphicsSceneHoverEvent
*event) |
| virtual
void |
hoverLeaveEvent
(QGraphicsSceneHoverEvent
*event) |
| virtual
void |
grabMouseEvent
(QEvent *event) |
| virtual
void |
ungrabMouseEvent
(QEvent *event) |
| virtual
void |
grabKeyboardEvent
(QEvent *event) |
| virtual
void |
ungrabKeyboardEvent
(QEvent *event) |
| |
QGraphicsWidget
(QGraphicsWidgetPrivate &, QGraphicsItem *parent, QGraphicsScene *,
Qt::WindowFlags wFlags=0) |
Properties
|
| QPalette |
palette |
| QFont |
font |
| Qt::LayoutDirection |
layoutDirection |
| QSizeF |
size |
| QSizeF |
minimumSize |
| QSizeF |
preferredSize |
| QSizeF |
maximumSize |
| QSizePolicy |
sizePolicy |
| Qt::FocusPolicy |
focusPolicy |
|
Qt::WindowFlags |
windowFlags |
| QString |
windowTitle |
| QRectF |
geometry |
| bool |
autoFillBackground |
| QGraphicsLayout |
layout |
Friends
|
| class |
QGraphicsScene |
| class |
QGraphicsScenePrivate |
| class |
QGraphicsView |
| class |
QGraphicsItem |
| class |
QGraphicsItemPrivate |
| class |
QGraphicsLayout |
| class |
QWidget |
| class |
QApplication |