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
7a570195
Commit
7a570195
authored
Jul 11, 2014
by
Aleksi Suomalainen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[notifications] New Notifications screen.
parent
09af10b9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
61 additions
and
35 deletions
+61
-35
FeedsPage.qml
src/qml/FeedsPage.qml
+61
-35
No files found.
src/qml/FeedsPage.qml
View file @
7a570195
...
@@ -22,18 +22,26 @@
...
@@ -22,18 +22,26 @@
// Copyright (c) 2011, Tom Swindell <t.swindell@rubyx.co.uk>
// Copyright (c) 2011, Tom Swindell <t.swindell@rubyx.co.uk>
// Copyright (c) 2012, Timur Kristóf <venemo@fedoraproject.org>
// Copyright (c) 2012, Timur Kristóf <venemo@fedoraproject.org>
import
QtQuick
2.0
import
QtQuick
2.1
import
org
.
nemomobile
.
lipstick
0.1
import
QtQuick
.
Controls
.
Nemo
1.0
import
QtQuick
.
Controls
.
Nemo
1.0
import
QtQuick
.
Controls
.
Styles
.
Nemo
1.0
import
QtQuick
.
Controls
.
Styles
.
Nemo
1.0
// Feeds page:
// Feeds page:
// the place for an event feed.
// the place for an event feed.
Item
{
Item
{
Column
{
spacing
:
40
// Day of week
// Day of week
Row
{
id
:
daterow
height
:
120
Label
{
Label
{
id
:
displayDayOfWeek
id
:
displayDayOfWeek
text
:
Qt
.
formatDateTime
(
wallClock
.
time
,
"
dddd
"
)
text
:
Qt
.
formatDateTime
(
wallClock
.
time
,
"
dddd
"
)
+
"
,
"
color
:
"
white
"
color
:
"
white
"
font.pointSize
:
12
font.bold
:
true
anchors
{
anchors
{
top
:
parent
.
top
top
:
parent
.
top
left
:
parent
.
left
left
:
parent
.
left
...
@@ -45,27 +53,45 @@ Item {
...
@@ -45,27 +53,45 @@ Item {
// Current date
// Current date
Label
{
Label
{
id
:
displayCurrentDate
id
:
displayCurrentDate
text
:
Qt
.
formatDate
(
wallClock
.
time
,
Qt
.
SystemLocaleShortDate
)
text
:
Qt
.
formatDate
(
wallClock
.
time
,
"
d MMMM yyyy
"
)
color
:
"
#888888
"
font.pointSize
:
12
anchors
{
anchors
{
top
:
displayDayOfWeek
.
bottom
left
:
displayDayOfWeek
.
right
left
:
parent
.
left
top
:
parent
.
top
topMargin
:
5
topMargin
:
30
leftMargin
:
20
}
}
}
Column
{
anchors.top
:
daterow
.
bottom
spacing
:
40
Repeater
{
model
:
NotificationListModel
{
id
:
notifmodel
}
delegate
:
Row
{
spacing
:
16
height
:
40
Image
{
source
:
{
if
(
modelData
.
appIcon
)
return
"
image://theme/
"
+
modelData
.
appIcon
else
return
""
}
}
}
}
// Separator thingy
Label
{
Rectangle
{
id
:
appSummary
height
:
2
text
:
modelData
.
summary
color
:
"
#888888
"
font.pointSize
:
10
anchors
{
}
top
:
displayCurrentDate
.
bottom
Label
{
left
:
parent
.
left
text
:
modelData
.
body
right
:
parent
.
right
font.pointSize
:
8
topMargin
:
5
}
leftMargin
:
20
}
rightMargin
:
20
}
}
}
}
}
}
}
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