Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Spectacle
Commits
027bd044
Commit
027bd044
authored
May 13, 2021
by
Méven Car
Browse files
Settings UI, save tab: Shorten text explaining Image quality compression
parent
c168340b
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Gui/SettingsDialog/SaveOptions.ui
View file @
027bd044
...
...
@@ -168,9 +168,9 @@
</spacer>
</item>
<item
row=
"4"
column=
"1"
>
<widget
class=
"QLabel"
name=
"
label
"
>
<widget
class=
"QLabel"
name=
"
compressionQualityHelpLable
"
>
<property
name=
"text"
>
<string>
Choose the image quality when saving with
lossy image formats like JPEG
</string>
<string>
For
lossy image formats like JPEG
</string>
</property>
</widget>
</item>
...
...
src/Gui/SettingsDialog/SaveOptionsPage.cpp
View file @
027bd044
...
...
@@ -19,6 +19,7 @@
#include <QComboBox>
#include <QImageWriter>
#include <QCheckBox>
#include <QFontDatabase>
SaveOptionsPage
::
SaveOptionsPage
(
QWidget
*
parent
)
:
QWidget
(
parent
)
...
...
@@ -67,6 +68,8 @@ SaveOptionsPage::SaveOptionsPage(QWidget *parent)
connect
(
m_ui
->
helpTextLabel
,
&
QLabel
::
linkActivated
,
this
,
[
this
](
const
QString
&
placeholder
)
{
m_ui
->
kcfg_saveFilenameFormat
->
insert
(
placeholder
);
});
m_ui
->
compressionQualityHelpLable
->
setFont
(
QFontDatabase
::
systemFont
(
QFontDatabase
::
SmallestReadableFont
));
}
SaveOptionsPage
::~
SaveOptionsPage
()
=
default
;
...
...
Write
Preview
Supports
Markdown
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