以下成员源于类 QGraphicsView 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
windowIconText
: QString
(obsolete)
|
dumpObjectInfo () |
(obsolete)
|
dumpObjectTree () |
(obsolete)
bool
|
isEnabledToTLW () const |
(obsolete)
bool
|
isTopLevel () const |
(obsolete)
QWidget *
|
topLevelWidget () const |
(obsolete)
virtual void
|
drawItems (QPainter * painter , int numItems , QGraphicsItem *[] 项 , const QStyleOptionGraphicsItem [] options ) |
[virtual protected]
void
QGraphicsView::
drawItems
(
QPainter
*
painter
,
int
numItems
,
QGraphicsItem
*[]
项
, const
QStyleOptionGraphicsItem
[]
options
)
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
Draws the items 项 in the scene using painter , after the background and before the foreground are drawn. numItems is the number of items in 项 and options in options . options is a list of styleoptions; one for each item. Reimplement this function to provide custom item drawing for this view.
The default implementation calls the scene's drawItems() function.
Since Qt 4.6, this function is not called anymore unless the QGraphicsView::IndirectPainting flag is given as an Optimization flag.
另请参阅 drawForeground (), drawBackground (),和 QGraphicsScene::drawItems ().