00001 /**************************************************************************** 00002 ** 00003 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 00004 ** All rights reserved. 00005 ** Contact: Nokia Corporation (qt-info@nokia.com) 00006 ** 00007 ** This file is part of the Qt Components project on Qt Labs. 00008 ** 00009 ** No Commercial Usage 00010 ** This file contains pre-release code and may not be distributed. 00011 ** You may use this file in accordance with the terms and conditions contained 00012 ** in the Technology Preview License Agreement accompanying this package. 00013 ** 00014 ** GNU Lesser General Public License Usage 00015 ** Alternatively, this file may be used under the terms of the GNU Lesser 00016 ** General Public License version 2.1 as published by the Free Software 00017 ** Foundation and appearing in the file LICENSE.LGPL included in the 00018 ** packaging of this file. Please review the following information to 00019 ** ensure the GNU Lesser General Public License version 2.1 requirements 00020 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 00021 ** 00022 ** If you have questions regarding the use of this file, please contact 00023 ** Nokia at qt-info@nokia.com. 00024 ** 00025 ****************************************************************************/ 00026 00027 import QtQuick 1.0 00028 00029 Rectangle { 00030 property alias text: textItem.text 00031 property alias fontItalic: textItem.font.italic 00032 height: 40 00033 gradient: Gradient { 00034 GradientStop { position: 0.0; color: "#B5B5B5" } 00035 GradientStop { position: 1.0; color: "#4F4F4F" } 00036 } 00037 00038 Text { 00039 id: textItem 00040 font.pointSize: 11 00041 00042 anchors { left: parent.left; leftMargin: 10; verticalCenter: parent.verticalCenter } 00043 } 00044 }