~zsombi/ubuntu-ui-toolkit/120-custompanel

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/Themes/Ambiance/HeadSeparatorImageStyle.qml

  • Committer: Zsombor Egri
  • Date: 2014-11-04 09:05:25 UTC
  • mfrom: (1247.1.35 110-captions)
  • Revision ID: zsombor.egri@canonical.com-20141104090525-tbp0xnkqeuq4mehp
prereq sync

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2014 Canonical Ltd.
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU Lesser General Public License as published by
 
6
 * the Free Software Foundation; version 3.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU Lesser General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU Lesser General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 */
 
16
import QtQuick 2.2
 
17
 
 
18
// This is the old DEPRECATED header separator, which is here for backwards compatibility.
 
19
// The new header divider is in HeadDividerStyle.qml.
 
20
Item {
 
21
    id: separatorStyle
 
22
    BorderImage {
 
23
        id: separatorImage
 
24
        anchors.fill: parent
 
25
        source: styledItem.separatorSource
 
26
    }
 
27
    Image {
 
28
        id: separatorBottom
 
29
        anchors {
 
30
            top: separatorImage.bottom
 
31
            left: parent.left
 
32
            right: parent.right
 
33
        }
 
34
        source: styledItem.separatorBottomSource
 
35
    }
 
36
}