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
PIM
PIM IncidenceEditor
Commits
808007c4
Commit
808007c4
authored
Jul 10, 2021
by
Glen Ditchfield
🐛
Browse files
Replace "Title" with "Summary" in the user interface
parent
58d2f731
Pipeline
#69538
failed with stage
in 2 minutes and 30 seconds
Changes
3
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
autotests/incidencedatetimetest.cpp
View file @
808007c4
...
...
@@ -43,9 +43,9 @@ private Q_SLOTS:
auto
endCheck
=
dialog
->
findChild
<
QCheckBox
*>
(
QStringLiteral
(
"mEndCheck"
));
QVERIFY2
(
endCheck
,
"Couldn't find the 'End' checkbox."
);
endCheck
->
setCheckState
(
Qt
::
Checked
);
auto
title
=
dialog
->
findChild
<
QLineEdit
*>
(
QStringLiteral
(
"mSummaryEdit"
));
QVERIFY2
(
title
,
"Couldn't find the '
Title
' field."
);
title
->
setText
(
QStringLiteral
(
"e"
));
auto
summary
=
dialog
->
findChild
<
QLineEdit
*>
(
QStringLiteral
(
"mSummaryEdit"
));
QVERIFY2
(
summary
,
"Couldn't find the '
Summary
' field."
);
summary
->
setText
(
QStringLiteral
(
"e"
));
QVERIFY
(
editor
->
isValid
());
auto
startDate
=
dialog
->
findChild
<
KDateComboBox
*>
(
QStringLiteral
(
"mStartDateEdit"
));
...
...
src/incidencewhatwhere.cpp
View file @
808007c4
...
...
@@ -66,8 +66,8 @@ void IncidenceWhatWhere::focusInvalidField()
bool
IncidenceWhatWhere
::
isValid
()
const
{
if
(
mUi
->
mSummaryEdit
->
text
().
isEmpty
())
{
qCDebug
(
INCIDENCEEDITOR_LOG
)
<<
"Specify a
title
"
;
mLastErrorString
=
i18nc
(
"@info"
,
"Please
specify a title
."
);
qCDebug
(
INCIDENCEEDITOR_LOG
)
<<
"Specify a
summary
"
;
mLastErrorString
=
i18nc
(
"@info"
,
"Please
enter a summary
."
);
return
false
;
}
else
{
mLastErrorString
.
clear
();
...
...
src/ui/dialogdesktop.ui
View file @
808007c4
...
...
@@ -140,23 +140,17 @@
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"font"
>
<font>
<weight>
75
</weight>
<bold>
true
</bold>
</font>
</property>
<property
name=
"toolTip"
>
<string
comment=
"@info:tooltip"
>
Set the
title
</string>
<string
comment=
"@info:tooltip"
>
Set the
summary
</string>
</property>
<property
name=
"whatsThis"
>
<string
comment=
"@info:whatsthis"
>
Sets
the Title of this event or to-do
.
</string>
<string
comment=
"@info:whatsthis"
>
Sets
brief information that will be displayed in many places in the user interface
.
</string>
</property>
<property
name=
"layoutDirection"
>
<enum>
Qt::LeftToRight
</enum>
</property>
<property
name=
"text"
>
<string
comment=
"@label"
>
&
Title
:
</string>
<string
comment=
"@label"
>
Summar
&
y
:
</string>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
</set>
...
...
@@ -175,10 +169,10 @@
</sizepolicy>
</property>
<property
name=
"toolTip"
>
<string
comment=
"@info:tooltip"
>
Set the
title
</string>
<string
comment=
"@info:tooltip"
>
Set the
summary
</string>
</property>
<property
name=
"whatsThis"
>
<string
comment=
"@info:whatsthis"
>
Sets
the Title of this event or to-do
.
</string>
<string
comment=
"@info:whatsthis"
>
Sets
brief information that will be displayed in many places in the user interface
.
</string>
</property>
<property
name=
"clearButtonEnabled"
>
<bool>
true
</bool>
...
...
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