Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Weixuan Xiao
kdeconnect-kde
Commits
a9ed55b6
Commit
a9ed55b6
authored
Jan 27, 2014
by
Samoilenko Yuri
Browse files
first steps in QML
parent
e9f31abd
Changes
1
Hide whitespace changes
Inline
Side-by-side
plasmoid/package/contents/ui/DeviceDelegate.qml
View file @
a9ed55b6
...
...
@@ -30,13 +30,27 @@ PlasmaComponents.ListItem
Column
{
width
:
parent
.
width
PlasmaComponents.Label
{
Row
{
PlasmaComponents.Label
{
width
:
parent
.
width
-
browse
.
width
horizontalAlignment
:
Text
.
AlignHCenter
text
:
display
}
PlasmaComponents.Button
{
id
:
browse
text
:
"
Browse
"
onClicked
:
{
text
=
"
Hello
"
}
}
height
:
browse
.
height
width
:
parent
.
width
anchors.horizontalCenter
:
parent
.
horizontalCenter
horizontalAlignment
:
Text
.
AlignHCenter
text
:
display
}
//Battery
PlasmaComponents.ListItem
{
BatteryInterface
{
...
...
@@ -54,7 +68,7 @@ PlasmaComponents.ListItem
anchors.right
:
parent
.
right
}
}
//Notifications
PlasmaComponents.ListItem
{
visible
:
notificationsModel
.
count
>
0
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment