examples/declarative/animation/easing/easing.qml
changeset 37 758a864f9613
parent 33 3e2da88830cd
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
    37 ** $QT_END_LICENSE$
    37 ** $QT_END_LICENSE$
    38 **
    38 **
    39 ****************************************************************************/
    39 ****************************************************************************/
    40 
    40 
    41 import Qt 4.7
    41 import Qt 4.7
       
    42 import "content"
    42 
    43 
    43 Rectangle {
    44 Rectangle {
    44     id: window
    45     id: window
    45     width: 600; height: 460; color: "#232323"
    46     width: 600; height: 460; color: "#232323"
    46 
    47 
   132             }
   133             }
   133         }
   134         }
   134     }
   135     }
   135 
   136 
   136     Flickable {
   137     Flickable {
   137         anchors.fill: parent; contentHeight: layout.height
   138         anchors.fill: parent
   138 
   139         contentHeight: layout.height
       
   140         Rectangle {
       
   141             id: titlePane
       
   142             color: "#444444"
       
   143             height: 35
       
   144             anchors { top: parent.top; left: parent.left; right: parent.right }
       
   145             QuitButton {
       
   146                 id: quitButton
       
   147                 anchors.verticalCenter: parent.verticalCenter
       
   148                 anchors.right: parent.right
       
   149                 anchors.rightMargin: 10
       
   150             }
       
   151         }
   139         Column {
   152         Column {
   140             id: layout
   153             id: layout
   141             anchors.left: parent.left; anchors.right: parent.right
   154             anchors { top: titlePane.bottom; topMargin: 10; left: parent.left; right: parent.right }
   142             Repeater { model: easingTypes; delegate: delegate }
   155             Repeater { model: easingTypes; delegate: delegate }
   143         }
   156         }
   144     }
   157     }
   145 }
   158 }