Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
glacier-home
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
glacier-home
Commits
4bd06bd7
Commit
4bd06bd7
authored
Jul 12, 2014
by
Aleksi Suomalainen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[notifications] Remove notifications by clicking on them.
parent
d475d3c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
15 deletions
+32
-15
FeedsPage.qml
src/qml/FeedsPage.qml
+32
-15
No files found.
src/qml/FeedsPage.qml
View file @
4bd06bd7
...
...
@@ -30,6 +30,7 @@ import QtQuick.Controls.Styles.Nemo 1.0
// the place for an event feed.
Item
{
id
:
rootitem
Column
{
spacing
:
40
// Day of week
...
...
@@ -62,6 +63,7 @@ Item {
}
}
}
Column
{
anchors.top
:
daterow
.
bottom
spacing
:
40
...
...
@@ -72,23 +74,38 @@ Item {
delegate
:
Row
{
spacing
:
16
height
:
40
Image
{
source
:
{
if
(
modelData
.
appIcon
)
return
"
image://theme/
"
+
modelData
.
appIcon
else
return
""
width
:
rootitem
.
width
MouseArea
{
anchors.fill
:
parent
onClicked
:
{
if
(
modelData
.
userRemovable
)
{
modelData
.
removeRequested
()
}
}
}
Label
{
id
:
appSummary
text
:
modelData
.
summary
font.pointSize
:
10
}
Label
{
text
:
modelData
.
body
font.pointSize
:
8
Image
{
id
:
appIcon
source
:
{
if
(
modelData
.
appIcon
)
return
"
image://theme/
"
+
modelData
.
appIcon
else
return
""
}
}
Label
{
id
:
appSummary
text
:
modelData
.
summary
font.pointSize
:
10
anchors.left
:
appIcon
.
right
wrapMode
:
Text
.
WordWrap
}
Label
{
text
:
modelData
.
body
font.pointSize
:
8
wrapMode
:
Text
.
WordWrap
anchors.left
:
appSummary
.
right
}
}
}
}
...
...
Write
Preview
Markdown
is supported
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