Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-qt
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
savoirfairelinux
jami-client-qt
Commits
5edbf812
Commit
5edbf812
authored
2 years ago
by
Sébastien Blin
Browse files
Options
Downloads
Patches
Plain Diff
aboutpopup: make text selectable
Change-Id: I5266b02255badb100aa8f84f29024befce81c42e
parent
47fd4c38
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/mainview/components/AboutPopUp.qml
+18
-7
18 additions, 7 deletions
src/app/mainview/components/AboutPopUp.qml
with
18 additions
and
7 deletions
src/app/mainview/components/AboutPopUp.qml
+
18
−
7
View file @
5edbf812
...
@@ -72,7 +72,7 @@ BaseModalDialog {
...
@@ -72,7 +72,7 @@ BaseModalDialog {
JamiResources
.
logo_jami_standard_coul_svg
JamiResources
.
logo_jami_standard_coul_svg
}
}
Label
{
TextEdit
{
id
:
jamiSlogansText
id
:
jamiSlogansText
Layout.alignment
:
Qt
.
AlignCenter
Layout.alignment
:
Qt
.
AlignCenter
...
@@ -86,6 +86,8 @@ BaseModalDialog {
...
@@ -86,6 +86,8 @@ BaseModalDialog {
verticalAlignment
:
Text
.
AlignVCenter
verticalAlignment
:
Text
.
AlignVCenter
text
:
textMetricsjamiSlogansText
.
text
text
:
textMetricsjamiSlogansText
.
text
selectByMouse
:
true
readOnly
:
true
color
:
JamiTheme
.
tintedBlue
color
:
JamiTheme
.
tintedBlue
TextMetrics
{
TextMetrics
{
...
@@ -95,7 +97,7 @@ BaseModalDialog {
...
@@ -95,7 +97,7 @@ BaseModalDialog {
}
}
}
}
Label
{
TextEdit
{
id
:
jamiVersionText
id
:
jamiVersionText
Layout.alignment
:
Qt
.
AlignCenter
Layout.alignment
:
Qt
.
AlignCenter
...
@@ -106,13 +108,15 @@ BaseModalDialog {
...
@@ -106,13 +108,15 @@ BaseModalDialog {
padding
:
0
padding
:
0
text
:
JamiStrings
.
version
+
"
:
"
+
UtilsAdapter
.
getVersionStr
()
text
:
JamiStrings
.
version
+
"
:
"
+
UtilsAdapter
.
getVersionStr
()
selectByMouse
:
true
readOnly
:
true
color
:
JamiTheme
.
textColor
color
:
JamiTheme
.
textColor
horizontalAlignment
:
Text
.
AlignHCenter
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
verticalAlignment
:
Text
.
AlignVCenter
}
}
Label
{
TextEdit
{
id
:
jamiDeclarationText
id
:
jamiDeclarationText
Layout.alignment
:
Qt
.
AlignCenter
Layout.alignment
:
Qt
.
AlignCenter
...
@@ -128,9 +132,11 @@ BaseModalDialog {
...
@@ -128,9 +132,11 @@ BaseModalDialog {
// TextMetrics does not work for multi-line.
// TextMetrics does not work for multi-line.
text
:
JamiStrings
.
declaration
text
:
JamiStrings
.
declaration
selectByMouse
:
true
readOnly
:
true
}
}
Label
{
TextEdit
{
id
:
jamiDeclarationHyperText
id
:
jamiDeclarationHyperText
Layout.alignment
:
Qt
.
AlignCenter
Layout.alignment
:
Qt
.
AlignCenter
...
@@ -146,6 +152,9 @@ BaseModalDialog {
...
@@ -146,6 +152,9 @@ BaseModalDialog {
verticalAlignment
:
Text
.
AlignVCenter
verticalAlignment
:
Text
.
AlignVCenter
text
:
textMetricsjamiDeclarationHyperText
.
text
text
:
textMetricsjamiDeclarationHyperText
.
text
textFormat
:
TextEdit
.
RichText
selectByMouse
:
true
readOnly
:
true
onLinkActivated
:
Qt
.
openUrlExternally
(
link
)
onLinkActivated
:
Qt
.
openUrlExternally
(
link
)
TextMetrics
{
TextMetrics
{
...
@@ -163,13 +172,12 @@ BaseModalDialog {
...
@@ -163,13 +172,12 @@ BaseModalDialog {
}
}
}
}
Label
{
TextEdit
{
id
:
jamiNoneWarrantyHyperText
id
:
jamiNoneWarrantyHyperText
Layout.alignment
:
Qt
.
AlignCenter
Layout.alignment
:
Qt
.
AlignCenter
Layout.preferredWidth
:
Math
.
min
(
390
,
root
.
width
)
Layout.preferredWidth
:
Math
.
min
(
390
,
root
.
width
)
Layout.topMargin
:
15
Layout.topMargin
:
15
lineHeight
:
1.2
wrapMode
:
Text
.
WordWrap
wrapMode
:
Text
.
WordWrap
font.pixelSize
:
JamiTheme
.
tinyCreditsTextSize
font.pixelSize
:
JamiTheme
.
tinyCreditsTextSize
...
@@ -178,6 +186,9 @@ BaseModalDialog {
...
@@ -178,6 +186,9 @@ BaseModalDialog {
color
:
JamiTheme
.
textColor
color
:
JamiTheme
.
textColor
text
:
textMetricsjamiNoneWarrantyHyperText
.
text
text
:
textMetricsjamiNoneWarrantyHyperText
.
text
textFormat
:
TextEdit
.
RichText
selectByMouse
:
true
readOnly
:
true
onLinkActivated
:
Qt
.
openUrlExternally
(
link
)
onLinkActivated
:
Qt
.
openUrlExternally
(
link
)
TextMetrics
{
TextMetrics
{
...
...
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