path: root/.gitignore
diff options
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-06-14 16:28:25 +0200
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-06-14 16:10:05 +0000
commitf5b24fd48d494d2c43c34cab84f34d1f2e4e33a8 (patch)
tree531080c80560d23f854b16cc2ff3aa4ea63ebd32 /.gitignore
parent55a6938b3204b28976d456be9f9f68bf44c22051 (diff)
Auto test anchors & attached objects
Rename the former tst_declarative to tst_sanity and extend it with tests to prevent: a) use of anchors, and b) multiple attached object instances of the same type. Anchors are not allowed for two reasons: - performance (QQuickAnchors is a QObject), and - to let users relayout delegates (x/y/width/height bindings can be overridden, anchors not so easily) Multiple attached object instances (eg. Theme) can easily happen by accident. "Theme.fooColor" can be used in the control root, but in all delegate items, "control.Theme.fooColor" must be used instead. Change-Id: I4045d5bd717fa21db79d1c3bd618fc450e292fa4 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to '.gitignore')
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 802236a8..152d1067 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,8 +12,8 @@