~zsombi/ubuntu-ui-toolkit/combobutton

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/Header.qml

  • Committer: Zsombor Egri
  • Date: 2014-04-23 09:39:11 UTC
  • mfrom: (938.13.47 toolkit-version)
  • Revision ID: zsombor.egri@canonical.com-20140423093911-kw8128t21ts0h5rt
prereq merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 */
16
16
 
17
17
import QtQuick 2.0
18
 
// FIXME: When a module contains QML, C++ and JavaScript elements exported,
19
 
// we need to use named imports otherwise namespace collision is reported
20
 
// by the QML engine. As workaround, we use Ubuntu named import.
21
 
// Bug to watch: https://bugreports.qt-project.org/browse/QTBUG-27645
22
 
import Ubuntu.Components 1.1 as Ubuntu
 
18
import Ubuntu.Components 1.0
23
19
 
24
20
/*!
25
21
    \internal
44
40
    Behavior on y {
45
41
        enabled: animate && !(header.flickable && header.flickable.moving)
46
42
        SmoothedAnimation {
47
 
            duration: Ubuntu.UbuntuAnimation.BriskDuration
 
43
            duration: UbuntuAnimation.BriskDuration
48
44
        }
49
45
    }
50
46