Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F241851
FirstPage.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
FirstPage.qml
View Options
import
QtQuick
2.0
import
Sailfish
.
Silica
1.0
Page
{
id: page
// The effective value will be restricted by ApplicationWindow.allowedOrientations
allowedOrientations:
Orientation
.
All
// To enable PullDownMenu, place our content in a SilicaFlickable
SilicaFlickable
{
anchors.fill:
parent
// PullDownMenu and PushUpMenu must be declared in SilicaFlickable, SilicaListView or SilicaGridView
PullDownMenu
{
MenuItem
{
text:
qsTr
(
"Settings"
)
onClicked:
pageStack
.
push
(
Qt
.
resolvedUrl
(
"SettingsPage.qml"
))
}
MenuItem
{
text:
qsTr
(
"Feed"
)
onClicked:
pageStack
.
push
(
Qt
.
resolvedUrl
(
"FeedPage.qml"
))
}
MenuItem
{
text:
qsTr
(
"Maniphest"
)
onClicked:
pageStack
.
push
(
Qt
.
resolvedUrl
(
"ManiphestPage.qml"
))
}
}
// Tell SilicaFlickable the height of its content.
contentHeight:
column
.
height
// Place our content in a Column. The PageHeader is always placed at the top
// of the page, followed by our content.
Column
{
id: column
width:
page
.
width
spacing:
Theme
.
paddingLarge
PageHeader
{
title:
qsTr
(
"Phabricator"
)
}
Label
{
x:
Theme
.
horizontalPageMargin
text:
qsTr
(
"Hello, me"
)
color:
Theme
.
secondaryHighlightColor
font.pixelSize:
Theme
.
fontSizeExtraLarge
}
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jun 29, 12:28 PM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
168627
Default Alt Text
FirstPage.qml (1 KB)
Attached To
Mode
rMANIFOLD Manifold
Attached
Detach File
Event Timeline
Log In to Comment