port category delegate to qtcontrols
This commit is contained in:
parent
6f8cda6fea
commit
0234bae6d4
@ -99,6 +99,7 @@ Rectangle {
|
||||
|
||||
QtControls.ScrollView{
|
||||
id: categoriesScroll
|
||||
frameVisible: true
|
||||
anchors {
|
||||
top: parent.top
|
||||
bottom: parent.bottom
|
||||
@ -121,7 +122,7 @@ Rectangle {
|
||||
color: syspal.base
|
||||
|
||||
Rectangle {
|
||||
color: theme.highlightColor
|
||||
color: syspal.highlight
|
||||
width: parent.width
|
||||
height: theme.iconSizes.IconSizeHuge
|
||||
y: index * height
|
||||
@ -132,7 +133,7 @@ Rectangle {
|
||||
}
|
||||
}
|
||||
}
|
||||
ColumnLayout {
|
||||
Column {
|
||||
id: categoriesColumn
|
||||
width: parent.width
|
||||
Repeater {
|
||||
|
@ -17,8 +17,7 @@
|
||||
*/
|
||||
|
||||
import QtQuick 2.0
|
||||
import org.kde.plasma.components 2.0 as PlasmaComponents
|
||||
import org.kde.plasma.extras 2.0 as PlasmaExtras
|
||||
import QtQuick.Controls 1.0 as QtControls
|
||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||
|
||||
MouseArea {
|
||||
@ -68,7 +67,7 @@ MouseArea {
|
||||
height: width
|
||||
source: model.icon
|
||||
}
|
||||
PlasmaComponents.Label {
|
||||
QtControls.Label {
|
||||
anchors {
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
|
Loading…
Reference in New Issue
Block a user