Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Konheko
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
Konheko
Commits
b7cbbb7b
Commit
b7cbbb7b
authored
3 years ago
by
Rudi Timmermans
Browse files
Options
Downloads
Patches
Plain Diff
Adding AboutPageAdding AboutPage
parent
a80e0d4e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
qml/components/AboutLabel.qml
+9
-0
9 additions, 0 deletions
qml/components/AboutLabel.qml
qml/pages/AboutPage.qml
+62
-22
62 additions, 22 deletions
qml/pages/AboutPage.qml
with
71 additions
and
22 deletions
qml/components/AboutLabel.qml
0 → 100644
+
9
−
0
View file @
b7cbbb7b
import
QtQuick
2.0
import
Sailfish
.
Silica
1.0
Label
{
anchors.horizontalCenter
:
parent
.
horizontalCenter
width
:
parent
.
width
-
2
*
Theme
.
horizontalPageMargin
horizontalAlignment
:
Text
.
AlignHCenter
wrapMode
:
Text
.
Wrap
}
This diff is collapsed.
Click to expand it.
qml/pages/AboutPage.qml
+
62
−
22
View file @
b7cbbb7b
import
QtQuick
2.0
import
Sailfish
.
Silica
1.0
import
"
../components
"
Page
{
id
:
p
age
id
:
aboutP
age
// The effective value will be restricted by ApplicationWindow.allowedOrientations
allowedOrientations
:
Orientation
.
All
SilicaListView
{
id
:
listView
model
:
20
SilicaFlickable
{
id
:
aboutFlickable
anchors.fill
:
parent
contentHeight
:
column
.
height
VerticalScrollDecorator
{
}
Column
{
id
:
column
anchors
{
top
:
parent
.
top
horizontalCenter
:
parent
.
horizontalCenter
}
width
:
Math
.
min
(
Screen
.
width
,
aboutFlickable
.
width
)
spacing
:
Theme
.
paddingLarge
header
:
PageHeader
{
title
:
qsTr
(
"
Nested Page
"
)
}
Item
{
width
:
parent
.
width
height
:
Theme
.
paddingLarge
}
delegate
:
BackgroundItem
{
id
:
delegate
SectionHeader
{
text
:
qsTr
(
"
About Konheko
"
)
}
onClicked
:
console
.
log
(
"
Clicked
"
+
index
)
Image
{
anchors.horizontalCenter
:
parent
.
horizontalCenter
source
:
Qt
.
resolvedUrl
(
"
/usr/share/icons/hicolor/172x172/apps/harbour-konheko.png
"
)
width
:
Theme
.
iconSizeExtraLarge
height
:
Theme
.
iconSizeExtraLarge
smooth
:
true
asynchronous
:
true
}
Label
{
x
:
Theme
.
horizontalPageMargin
text
:
qsTr
(
"
Item
"
)
+
"
"
+
index
anchors.verticalCenter
:
parent
.
verticalCenter
color
:
delegate
.
highlighted
?
Theme
.
highlightColor
:
Theme
.
primaryColor
AboutLabel
{
font.pixelSize
:
Theme
.
fontSizeLarge
color
:
Theme
.
highlightColor
text
:
"
Konheko v0.4
"
}
}
AboutLabel
{
font.pixelSize
:
Theme
.
fontSizeSmall
color
:
Theme
.
primaryColor
text
:
"
© 2020-2021 Nicolas Werner
"
}
}
}
AboutLabel
{
font.pixelSize
:
Theme
.
fontSizeSmall
color
:
Theme
.
primaryColor
text
:
qsTr
(
"
Matrix Client for Sailfish OS.
"
)
}
SectionHeader
{
text
:
qsTr
(
"
Licensing
"
)
}
AboutLabel
{
font.pixelSize
:
Theme
.
fontSizeSmall
text
:
qsTr
(
"
Source code is available at GitLab. Translations, bug reports and other contributions are welcome!
"
)
}
Button
{
text
:
"
GitLab
"
anchors.horizontalCenter
:
parent
.
horizontalCenter
onClicked
:
Qt
.
openUrlExternally
(
"
https://nheko.im/nheko-reborn/konheko
"
)
}
AboutLabel
{
font.pixelSize
:
Theme
.
fontSizeSmall
color
:
Theme
.
primaryColor
text
:
qsTr
(
"
Konheko is free software released under the GNU General Public License (GPL), version 3 or later.
"
)
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment