Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in / Register
Toggle navigation
J
jami-client-windows
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Security & Compliance
Security & Compliance
Dependency List
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
savoirfairelinux
jami-client-windows
Commits
fa05d97b
Commit
fa05d97b
authored
Jan 13, 2016
by
Edric Milaret
Committed by
Alexandre Lision
Jan 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui: activate search field on smartList
Change-Id: Ib686f55720db14784f2a6a5860a95d765fa88b4d Tuleap: #148
parent
33cb4830
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
callwidget.cpp
callwidget.cpp
+8
-0
callwidget.h
callwidget.h
+1
-0
No files found.
callwidget.cpp
View file @
fa05d97b
...
...
@@ -106,6 +106,8 @@ CallWidget::CallWidget(QWidget* parent) :
,
this
,
SLOT
(
findRingAccount
(
QModelIndex
,
QModelIndex
,
QVector
<
int
>
)));
RecentModel
::
instance
().
peopleProxy
()
->
setFilterRole
(
static_cast
<
int
>
(
Ring
::
Role
::
Name
));
RecentModel
::
instance
().
peopleProxy
()
->
setFilterCaseSensitivity
(
Qt
::
CaseInsensitive
);
ui
->
smartList
->
setModel
(
RecentModel
::
instance
().
peopleProxy
());
connect
(
ui
->
smartList
->
selectionModel
(),
SIGNAL
(
selectionChanged
(
QItemSelection
,
QItemSelection
)),
...
...
@@ -543,3 +545,9 @@ CallWidget::slotAccountMessageReceived(const QMap<QString,QString> message,
ui
->
listMessageView
->
scrollToBottom
();
}
void
CallWidget
::
on_ringContactLineEdit_textEdited
(
const
QString
&
text
)
{
RecentModel
::
instance
().
peopleProxy
()
->
setFilterWildcard
(
text
);
}
callwidget.h
View file @
fa05d97b
...
...
@@ -75,6 +75,7 @@ private slots:
void
on_sendButton_clicked
();
void
on_messageEdit_returnPressed
();
void
on_contactMethodComboBox_currentIndexChanged
(
const
QString
&
number
);
void
on_ringContactLineEdit_textEdited
(
const
QString
&
text
);
private
slots
:
void
callIncoming
(
Call
*
call
);
...
...
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