Changeset View
Changeset View
Standalone View
Standalone View
src/controls/Separator.qml
Show All 13 Lines | |||||
14 | * | 14 | * | ||
15 | * You should have received a copy of the GNU Library General Public | 15 | * You should have received a copy of the GNU Library General Public | ||
16 | * License along with this program; if not, write to the | 16 | * License along with this program; if not, write to the | ||
17 | * Free Software Foundation, Inc., | 17 | * Free Software Foundation, Inc., | ||
18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
19 | */ | 19 | */ | ||
20 | 20 | | |||
21 | import QtQuick 2.1 | 21 | import QtQuick 2.1 | ||
22 | import org.kde.kirigami 1.0 | 22 | import org.kde.kirigami 2.0 | ||
23 | 23 | | |||
24 | /** | 24 | /** | ||
25 | * A visual separator | 25 | * A visual separator | ||
26 | * | 26 | * | ||
27 | * Useful for splitting one set of items from another. | 27 | * Useful for splitting one set of items from another. | ||
28 | * | 28 | * | ||
29 | * @inherit QtQuick.Rectangle | 29 | * @inherit QtQuick.Rectangle | ||
30 | */ | 30 | */ | ||
31 | 31 | | |||
32 | Rectangle { | 32 | Rectangle { | ||
33 | opacity: 0.2 | 33 | opacity: 0.2 | ||
34 | height: Units.devicePixelRatio | 34 | height: Units.devicePixelRatio | ||
35 | width: Units.devicePixelRatio | 35 | width: Units.devicePixelRatio | ||
36 | color: Theme.textColor | 36 | color: Theme.textColor | ||
37 | } | 37 | } |