X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcontrib%2Flibqxt-2007-10-24%2Fdoctemplate%2Fclass-enum.html;fp=src%2Fcontrib%2Flibqxt-2007-10-24%2Fdoctemplate%2Fclass-enum.html;h=30ed8304b3d68e7682588d32009ed1749d6e67ca;hp=0000000000000000000000000000000000000000;hb=a634acadbcf6017474f68a3eaf7cb632660e9e49;hpb=cd122ca8e0d2c0ffc5397e0a813c75d791a7e6e3 diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/class-enum.html b/src/contrib/libqxt-2007-10-24/doctemplate/class-enum.html new file mode 100644 index 00000000..30ed8304 --- /dev/null +++ b/src/contrib/libqxt-2007-10-24/doctemplate/class-enum.html @@ -0,0 +1,114 @@ +
+

Class Reference
+ [ module] +

+
+ + +

+ + More... +

+ +
 #include <>
+ + + + + + + +
+ + + +

Detailed Description

+ +

+ +

+ + + + + + + +

Member Type Documentation

+ +

enum QGraphicsScene::ItemIndexMethod

+ + +

This enum describes the indexing algorithms QGraphicsScene provides for managing positional information about items on the scene.

+ +

+ + + + + + + + + + + + + + + + +
ConstantValueDescription
+ QGraphicsScene::BspTreeIndex + + 0 + A Binary Space Partitioning tree is applied. All QGraphicsScene's item location algorithms are of an order close to logarithmic complexity, by making use of binary search. Adding, moving and removing items is logarithmic. This approach is best for static scenes (i.e., scenes where most items do not move). +
+ + QGraphicsScene::NoIndex + + + -1 + No index is applied. Item location is of linear complexity, as all items on the scene are searched. Adding, moving and removing items, however, is done in constant time. This approach is ideal for dynamic scenes, where many items are added, moved or removed continuously. +
+

+ + + + + + + +

Property Documentation

+

+ + backgroundBrush : + QBrush +

+ +

This property holds the background brush of the scene.

+

Set this property to changes the scene's background to a different color, gradient or texture. The default background brush is Qt::NoBrush. The background is drawn before (behind) the items.

+ + // a blue background scene.setBackgroundBrush(Qt::blue); + +

Access functions:

+ + + + + + + + +

Member Function Documentation

+ +

+ + QGraphicsScene::QGraphicsScene ( QObject * parent = 0 ) +

+ + +

Constructs a QGraphicsScene object. The parent parameter is passed to QObject's constructor.