Skip to content

Commit

Permalink
Use QtQuick Controls for labels and buttons
Browse files Browse the repository at this point in the history
Partially migrate to QtQuick Controls.

Issue: #9
  • Loading branch information
plfiorini committed Jun 25, 2013
1 parent f97df03 commit cef5547
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/shells/desktop/qml/LauncherView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@
* $END_LICENSE$
***************************************************************************/

import QtQuick 2.0
import QtQuick 2.1
import QtQuick.Controls 1.0
import GreenIsland 1.0
import FluidCore 1.0
import FluidUi 1.0
import FluidCore 1.0 as FluidCore
import FluidUi 1.0 as FluidUi

LauncherDropItem {
id: launcher
Expand All @@ -47,7 +48,7 @@ LauncherDropItem {
onApplicationDropped: visualModel.model.pinApplication(path)
onUrlDropped: visualModel.model.pinUrl(url)

Settings {
FluidCore.Settings {
id: settings
schema: "org.hawaii.greenisland"
group: "launcher"
Expand Down Expand Up @@ -141,7 +142,7 @@ LauncherDropItem {
}
}

BusyIndicator {
FluidUi.BusyIndicator {
id: busyIndicator
anchors {
fill: parent
Expand Down Expand Up @@ -220,7 +221,7 @@ LauncherDropItem {
}
visible: item.counterVisible && item.counter >= 0

Text {
Label {
id: counterText

anchors.centerIn: parent
Expand Down Expand Up @@ -300,7 +301,7 @@ LauncherDropItem {

Button {
checkable: true
iconSource: "view-grid-symbolic"
iconName: "view-grid-symbolic"
width: tileSize
height: width
onClicked: root.appChooser.visible = !root.appChooser.visible;
Expand Down

0 comments on commit cef5547

Please sign in to comment.