aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickaccessibleattached.cpp
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2014-10-22 12:43:42 +0200
committerMitch Curtis <mitch.curtis@digia.com>2014-10-28 10:08:24 +0100
commitdf7f3141bddfd84590091612b271521a5d721a37 (patch)
tree50d009cf0d476706f19a88b62a7fe554e02d2495 /src/quick/items/qquickaccessibleattached.cpp
parent327d0886c3d9e9854849f5bebda4d6825e94a62e (diff)
Don't document Context2D's TextMetrics as its own QML type.
It can't be instantiated like a QML type, so it's actually better to just document measureText() (which is the only way to construct objects of this type) as returning an object containing some metrics for the current font. This should have no effect on user code. This solves the issue of the new TextMetrics type's documentation not showing up. TextMetrics is a type that *can* be instantiated and is more feature complete. It provides a declarative API for the functions that take arguments in QFontMetrics. Change-Id: I46251e6f3aa7179ab569f5131307181f71043df4 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/quick/items/qquickaccessibleattached.cpp')
0 files changed, 0 insertions, 0 deletions