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 MailCommon
Commits
97364d72
Commit
97364d72
authored
Sep 28, 2020
by
Laurent Montel
😁
Browse files
Allow to select email
parent
c38b5573
Pipeline
#35833
passed with stage
in 45 minutes and 21 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/snippets/snippetwidget.cpp
View file @
97364d72
...
...
@@ -71,13 +71,13 @@ SnippetWidget::SnippetWidget(QWidget *parent)
connect
(
d
->
mUi
.
keyWidget
,
&
KKeySequenceWidget
::
keySequenceChanged
,
this
,
[
this
]()
{
d
->
wasChanged
=
true
;
});
connect
(
d
->
mUi
.
cc
,
&
QLineEdit
::
textChanged
,
this
,
[
this
]()
{
connect
(
d
->
mUi
.
cc
,
&
Akonadi
::
EmailAddressRequester
::
textChanged
,
this
,
[
this
]()
{
d
->
wasChanged
=
true
;
});
connect
(
d
->
mUi
.
to
,
&
QLineEdit
::
textChanged
,
this
,
[
this
]()
{
connect
(
d
->
mUi
.
to
,
&
Akonadi
::
EmailAddressRequester
::
textChanged
,
this
,
[
this
]()
{
d
->
wasChanged
=
true
;
});
connect
(
d
->
mUi
.
bcc
,
&
QLineEdit
::
textChanged
,
this
,
[
this
]()
{
connect
(
d
->
mUi
.
bcc
,
&
Akonadi
::
EmailAddressRequester
::
textChanged
,
this
,
[
this
]()
{
d
->
wasChanged
=
true
;
});
connect
(
d
->
mUi
.
subject
,
&
QLineEdit
::
textChanged
,
this
,
[
this
]()
{
...
...
src/snippets/ui/snippetwidget.ui
View file @
97364d72
...
...
@@ -93,13 +93,7 @@
</widget>
</item>
<item
row=
"4"
column=
"1"
colspan=
"2"
>
<widget
class=
"QLineEdit"
name=
"cc"
>
<property
name=
"placeholderText"
>
<string>
Separate email with a comma
</string>
</property>
<property
name=
"clearButtonEnabled"
>
<bool>
true
</bool>
</property>
<widget
class=
"Akonadi::EmailAddressRequester"
name=
"cc"
>
</widget>
</item>
<item
row=
"3"
column=
"0"
>
...
...
@@ -110,13 +104,7 @@
</widget>
</item>
<item
row=
"5"
column=
"1"
colspan=
"2"
>
<widget
class=
"QLineEdit"
name=
"bcc"
>
<property
name=
"placeholderText"
>
<string>
Separate email with a comma
</string>
</property>
<property
name=
"clearButtonEnabled"
>
<bool>
true
</bool>
</property>
<widget
class=
"Akonadi::EmailAddressRequester"
name=
"bcc"
>
</widget>
</item>
<item
row=
"4"
column=
"0"
>
...
...
@@ -147,13 +135,7 @@
</widget>
</item>
<item
row=
"3"
column=
"1"
colspan=
"2"
>
<widget
class=
"QLineEdit"
name=
"to"
>
<property
name=
"placeholderText"
>
<string>
Separate email with a comma
</string>
</property>
<property
name=
"clearButtonEnabled"
>
<bool>
true
</bool>
</property>
<widget
class=
"Akonadi::EmailAddressRequester"
name=
"to"
>
</widget>
</item>
<item
row=
"2"
column=
"1"
colspan=
"2"
>
...
...
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