Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
sailfish-apps
Received
Commits
466ce9d2
Commit
466ce9d2
authored
May 20, 2018
by
kempe
Browse files
[FEATURE] Add About page
parent
986bd3a4
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
144 additions
and
2 deletions
+144
-2
harbour-received.pro
harbour-received.pro
+3
-1
qml/pages/AboutPage.qml
qml/pages/AboutPage.qml
+7
-0
qml/pages/AboutPageForm.ui.qml
qml/pages/AboutPageForm.ui.qml
+58
-0
qml/pages/SettingsPage.qml
qml/pages/SettingsPage.qml
+1
-1
translations/harbour-received-es.ts
translations/harbour-received-es.ts
+15
-0
translations/harbour-received-fr.ts
translations/harbour-received-fr.ts
+15
-0
translations/harbour-received-ru.ts
translations/harbour-received-ru.ts
+15
-0
translations/harbour-received-sv.ts
translations/harbour-received-sv.ts
+15
-0
translations/harbour-received.ts
translations/harbour-received.ts
+15
-0
No files found.
harbour-received.pro
View file @
466ce9d2
...
...
@@ -65,7 +65,9 @@ DISTFILES += \
qml
/
components
/
listmodels
/
PlayerLayoutListModel
.
qml
\
qml
/
components
/
audioplayer
/
DockedAudioPlayerLoader
.
qml
\
qml
/
components
/
audioplayer
/
DockedAudioPlayerSmall
.
qml
\
qml
/
components
/
audioplayer
/
DockedAudioPlayerSmallForm
.
ui
.
qml
qml
/
components
/
audioplayer
/
DockedAudioPlayerSmallForm
.
ui
.
qml
\
qml
/
pages
/
AboutPageForm
.
ui
.
qml
\
qml
/
pages
/
AboutPage
.
qml
OTHER_FILES
+=
\
rpm
/
harbour
-
received
.
changes
.
in
\
...
...
qml/pages/AboutPage.qml
0 → 100644
View file @
466ce9d2
import
QtQuick
2.6
import
Sailfish
.
Silica
1.0
AboutPageForm
{
issueAction.onClicked
:
Qt
.
openUrlExternally
(
"
https://gitlab.com/sailfish-apps/Received/issues/new
"
)
sourceAction.onClicked
:
Qt
.
openUrlExternally
(
"
https://gitlab.com/sailfish-apps/Received/
"
)
}
qml/pages/AboutPageForm.ui.qml
0 → 100644
View file @
466ce9d2
import
QtQuick
2.6
import
Sailfish
.
Silica
1.0
Page
{
id
:
aboutPage
property
alias
issueAction
:
issueAction
property
alias
sourceAction
:
sourceAction
SilicaFlickable
{
id
:
aboutPageFlickable
anchors.fill
:
parent
contentHeight
:
pageColumns
.
height
VerticalScrollDecorator
{
flickable
:
aboutPageFlickable
}
Column
{
id
:
pageColumns
width
:
parent
.
width
spacing
:
Theme
.
paddingMedium
PageHeader
{
title
:
qsTr
(
"
About Received
"
)
}
Image
{
anchors.horizontalCenter
:
parent
.
horizontalCenter
fillMode
:
Image
.
PreserveAspectFit
source
:
"
/usr/share/icons/hicolor/256x256/apps/harbour-received.png
"
}
Label
{
width
:
parent
.
width
anchors.horizontalCenter
:
parent
.
horizontalCenter
wrapMode
:
Text
.
WordWrap
maximumLineCount
:
2
horizontalAlignment
:
Text
.
AlignHCenter
text
:
"
Received
"
}
ButtonLayout
{
width
:
parent
.
width
Button
{
id
:
issueAction
text
:
qsTr
(
"
Report an Issue
"
)
ButtonLayout.newLine
:
true
}
Button
{
id
:
sourceAction
text
:
qsTr
(
"
Source code
"
)
ButtonLayout.newLine
:
true
}
}
}
}
}
qml/pages/SettingsPage.qml
View file @
466ce9d2
...
...
@@ -5,7 +5,7 @@ import "../components/js/Favorites.js" as Favorites
SettingsPageForm
{
aboutAction.onClicked
:
console
.
log
(
"
TODO
"
)
aboutAction.onClicked
:
pageStack
.
push
(
Qt
.
resolvedUrl
(
"
AboutPage.qml
"
));
buttonResetDb.onClicked
:
{
Remorse
.
popupAction
(
buttonResetDb
,
qsTr
(
"
Droping DB
"
),
function
()
{
...
...
translations/harbour-received-es.ts
View file @
466ce9d2
<
?
xml
version
=
"
1.0
"
encoding
=
"
utf-8
"
?
>
<!
DOCTYPE
TS
>
<
TS
version
=
"
2.1
"
language
=
"
es_ES
"
>
<
context
>
<
name
>
AboutPageForm
.
ui
<
/name
>
<
message
>
<
source
>
About
Received
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
source
>
Report
an
Issue
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
source
>
Source
code
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
ApiLanguageListModel
<
/name
>
<
message
>
...
...
translations/harbour-received-fr.ts
View file @
466ce9d2
<
?
xml
version
=
"
1.0
"
encoding
=
"
utf-8
"
?
>
<!
DOCTYPE
TS
>
<
TS
version
=
"
2.1
"
language
=
"
fr_FR
"
>
<
context
>
<
name
>
AboutPageForm
.
ui
<
/name
>
<
message
>
<
source
>
About
Received
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
source
>
Report
an
Issue
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
source
>
Source
code
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
ApiLanguageListModel
<
/name
>
<
message
>
...
...
translations/harbour-received-ru.ts
View file @
466ce9d2
<
?
xml
version
=
"
1.0
"
encoding
=
"
utf-8
"
?
>
<!
DOCTYPE
TS
>
<
TS
version
=
"
2.1
"
>
<
context
>
<
name
>
AboutPageForm
.
ui
<
/name
>
<
message
>
<
source
>
About
Received
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
source
>
Report
an
Issue
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
source
>
Source
code
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
ApiLanguageListModel
<
/name
>
<
message
>
...
...
translations/harbour-received-sv.ts
View file @
466ce9d2
<
?
xml
version
=
"
1.0
"
encoding
=
"
utf-8
"
?
>
<!
DOCTYPE
TS
>
<
TS
version
=
"
2.1
"
>
<
context
>
<
name
>
AboutPageForm
.
ui
<
/name
>
<
message
>
<
source
>
About
Received
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
source
>
Report
an
Issue
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
source
>
Source
code
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
ApiLanguageListModel
<
/name
>
<
message
>
...
...
translations/harbour-received.ts
View file @
466ce9d2
<
?
xml
version
=
"
1.0
"
encoding
=
"
utf-8
"
?
>
<!
DOCTYPE
TS
>
<
TS
version
=
"
2.1
"
>
<
context
>
<
name
>
AboutPageForm
.
ui
<
/name
>
<
message
>
<
source
>
About
Received
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
source
>
Report
an
Issue
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
source
>
Source
code
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
ApiLanguageListModel
<
/name
>
<
message
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment