Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F283308
SettingsPage.qml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
924 B
Referenced Files
None
Subscribers
None
SettingsPage.qml
View Options
import
QtQuick
2.0
import
Sailfish
.
Silica
1.0
Dialog
{
id: settingspage
SilicaFlickable
{
anchors.fill:
parent
Column
{
anchors.fill:
parent
DialogHeader
{
acceptText:
qsTr
(
"Save"
)
}
TextArea
{
id: urlField
width:
parent
.
width
label:
qsTr
(
"Phabricator URL"
)
placeholderText:
qsTr
(
"https://phabricator.example.com"
)
text:
settings
.
phab_url
}
TextArea
{
id: tokenField
width:
parent
.
width
label:
qsTr
(
"API Token"
)
placeholderText:
qsTr
(
"api-aaaaaaaaaaaaaaaaaaaaaaaaaaaa"
)
text:
settings
.
api_token
}
}
VerticalScrollDecorator
{}
}
onDone:
{
if
(
result
==
DialogResult
.
Accepted
)
{
settings
.
phab_url
=
urlField
.
text
;
settings
.
api_token
=
tokenField
.
text
;
settings
.
noConfirmCancel
=
noConfirmCancel
.
checked
;
settings
.
horizontalAccuracyLimit
=
horizontalAccuracyLimitField
.
value
rootTexts
.
updateValues
();
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 18, 1:08 PM (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
184770
Default Alt Text
SettingsPage.qml (924 B)
Attached To
Mode
rMANIFOLD Manifold
Attached
Detach File
Event Timeline
Log In to Comment