Readability integration - first draft
[quicknewsreader] / qml / QuickNewsReader / content / view / Background.qml
1 /***
2 ** Copyright (C) 2012 Christophe CHAPUIS <chris.chapuis _at_ gmail _dot_ com>
3 **
4 ** This package is free software; you can redistribute it and/or modify
5 ** it under the terms of the GNU General Public License as published by
6 ** the Free Software Foundation; either version 2 of the License, or
7 ** (at your option) any later version.
8 **
9 ** This package is distributed in the hope that it will be useful,
10 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 ** GNU General Public License for more details.
13 **
14 ** You should have received a copy of the GNU General Public License
15 ** along with this package; if not, write to the Free Software
16 ** Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
17 **
18 ***/
19 import QtQuick 1.0
20
21 Rectangle {
22     id: background
23     color: "#80343434"
24     radius: 30
25
26     BorderImage {
27         id: borderBackgroundImage
28         border.left: 30
29         border.top: 30
30         border.bottom: 30
31         border.right: 30
32         horizontalTileMode: BorderImage.Repeat
33         verticalTileMode: BorderImage.Repeat
34         source: "../images/borderStripes.png"
35         anchors.fill: parent
36     }
37
38     Rectangle {
39         anchors.fill: parent;
40         anchors.margins: 30;
41         color: "transparent"
42         Image {
43             source: "../images/stripes.png";
44             fillMode: Image.Tile;
45             anchors.fill: parent;
46             //opacity: 0.3
47         }
48     }
49 }