Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F312675
ManiphestPage.qml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
ManiphestPage.qml
View Options
import
QtQuick
2.0
import
Sailfish
.
Silica
1.0
import
"../../js/functions.js"
as
ManifoldJS
Page
{
id: page
// The effective value will be restricted by ApplicationWindow.allowedOrientations
allowedOrientations:
Orientation
.
All
SilicaListView
{
id: taskList
model:
ListModel
{
id: model
}
anchors.fill:
parent
header:
PageHeader
{
title:
"Maniphest Tasks"
}
delegate:
ListItem
{
id: myDelegate
menu:
contextMenu
Label
{
id: label
text:
"T"
+
taskID
+
" | "
+
status
+
" | "
+
priorityName
color:
priorityColor
}
Label
{
anchors.top:
label
.
bottom
text:
title
font.pixelSize:
Theme
.
fontSizeSmall
wrapMode:
Text
.
WordWrap
}
Component
{
id: contextMenu
ContextMenu
{
MenuItem
{
text:
"Open"
onClicked:
Qt
.
openUrlExternally
(
settings
.
phab_url
+
"/T"
+
taskID
)
}
}
}
}
Component.onCompleted:
{
ManifoldJS
.
refreshManiphestPage
(
settings
.
phab_url
,
settings
.
api_token
);
}
VerticalScrollDecorator
{}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Sep 28, 10:54 PM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
194909
Default Alt Text
ManiphestPage.qml (1 KB)
Attached To
Mode
rMANIFOLD Manifold
Attached
Detach File
Event Timeline
Log In to Comment