Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F283316
main.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
main.qml
View Options
import
QtQuick
2.1
import
QtQuick
.
Controls
2.0
as
QQC2
import
org
.
kde
.
kirigami
2.4
as
Kirigami
// import "functions.js" as ManifoldJS
// Temporary hack until I implement some settings or storage stuff
import
"../phabricator-apitoken.js"
as
ApiToken
Kirigami
.
ApplicationWindow
{
id: root
// Load pages
Component
{
id: feedPage
;
FeedPage
{}}
Component
{
id: maniphestPage
;
ManiphestPage
{}}
Component
{
id: testPage
;
TestPage
{}}
// Component {id: settingsPage; SettingsPage {}}
header:
Kirigami
.
ApplicationHeader
{}
globalDrawer:
Kirigami
.
GlobalDrawer
{
title:
"Manifold"
titleIcon:
"applications-graphics"
showContentWhenCollapsed:
true
actions:
[
Kirigami
.
Action
{
text:
"Feed"
onTriggered:
pageStack
.
replace
(
feedPage
)
},
Kirigami
.
Action
{
text:
"Maniphest"
onTriggered:
pageStack
.
replace
(
maniphestPage
)
},
Kirigami
.
Action
{
text:
"Test"
onTriggered:
pageStack
.
replace
(
testPage
)
}
]
}
contextDrawer:
Kirigami
.
ContextDrawer
{
id: contextDrawer
}
pageStack.initialPage:
maniphestPage
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 18, 1:09 PM (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
184775
Default Alt Text
main.qml (1 KB)
Attached To
Mode
rMANIFOLD Manifold
Attached
Detach File
Event Timeline
Log In to Comment