Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
1def519d
Commit
1def519d
authored
Sep 26, 2016
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(app): use `ScrollableListView` instead of `ListView`
parent
617e795a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
40 deletions
+12
-40
Chat.qml
tests/ui/components/chat/Chat.qml
+2
-8
DropDownMenu.qml
tests/ui/components/popup/DropDownMenu.qml
+2
-7
SelectContact.qml
tests/ui/components/select/SelectContact.qml
+2
-5
Timeline.qml
tests/ui/components/timeline/Timeline.qml
+2
-7
contacts.qml
tests/ui/views/mainWindow/contacts.qml
+2
-6
manageAccounts.qml
tests/ui/views/manageAccounts.qml
+2
-7
No files found.
tests/ui/components/chat/Chat.qml
View file @
1def519d
...
...
@@ -4,15 +4,9 @@ import QtQuick.Layouts 1.3
import
'
qrc:/ui/components/form
'
import
'
qrc:/ui/components/image
'
import
'
qrc:/ui/components/scrollBar
'
ListView
{
ScrollBar.vertical
:
ForceScrollBar
{
}
boundsBehavior
:
Flickable
.
StopAtBounds
clip
:
true
highlightRangeMode
:
ListView
.
ApplyRange
spacing
:
0
import
'
qrc:/ui/components/view
'
ScrollableListView
{
model
:
ListModel
{
ListElement
{
$dateSection
:
1465389121000
;
$outgoing
:
true
;
$timestamp
:
1465389121000
;
$type
:
'
message
'
;
$content
:
'
This is it: fefe efzzzzzzzzzz aaaaaaaaa erfeezffeefzfzefzefzezfefez wfef efef e efeffefe fee efefefeefef fefefefefe eff fefefe fefeffww.linphone.org
'
}
ListElement
{
$dateSection
:
1465389121000
;
$timestamp
:
1465389121000
;
$type
:
'
event
'
;
$content
:
'
incoming_call
'
}
...
...
tests/ui/components/popup/DropDownMenu.qml
View file @
1def519d
...
...
@@ -4,7 +4,7 @@ import QtQuick.Controls 2.0
import
'
qrc:/ui/components/contact
'
import
'
qrc:/ui/components/form
'
import
'
qrc:/ui/components/
scrollBar
'
import
'
qrc:/ui/components/
view
'
import
'
qrc:/ui/style
'
Rectangle
{
...
...
@@ -30,14 +30,9 @@ Rectangle {
anchors.fill
:
parent
id
:
listContainer
ListView
{
ScrollBar.vertical
:
ForceScrollBar
{
}
ScrollableListView
{
anchors.fill
:
parent
boundsBehavior
:
Flickable
.
StopAtBounds
clip
:
true
highlightRangeMode
:
ListView
.
ApplyRange
id
:
list
spacing
:
0
height
:
console
.
log
(
model
.
count
)
||
count
// TODO: Remove, use C++ model instead.
...
...
tests/ui/components/select/SelectContact.qml
View file @
1def519d
...
...
@@ -4,6 +4,7 @@ import QtQuick.Controls 2.0
import
'
qrc:/ui/components/contact
'
import
'
qrc:/ui/components/form
'
import
'
qrc:/ui/components/view
'
// TODO: Contacts list.
Item
{
...
...
@@ -40,13 +41,9 @@ Item {
visible
:
false
width
:
parent
.
width
ListView
{
Scrollable
ListView
{
anchors.fill
:
parent
boundsBehavior
:
Flickable
.
StopAtBounds
clip
:
true
highlightRangeMode
:
ListView
.
ApplyRange
id
:
contactsList
spacing
:
0
// TODO: Remove, use C++ model instead.
model
:
ListModel
{
...
...
tests/ui/components/timeline/Timeline.qml
View file @
1def519d
...
...
@@ -4,7 +4,7 @@ import QtQuick.Layouts 1.3
import
'
qrc:/ui/components/contact
'
import
'
qrc:/ui/components/image
'
import
'
qrc:/ui/components/
scrollBar
'
import
'
qrc:/ui/components/
view
'
ColumnLayout
{
id
:
item
...
...
@@ -34,14 +34,9 @@ ColumnLayout {
color
:
'
#DEDEDE
'
}
ListView
{
Scrollable
ListView
{
Layout.fillHeight
:
true
Layout.fillWidth
:
true
ScrollBar.vertical
:
ForceScrollBar
{
}
boundsBehavior
:
Flickable
.
StopAtBounds
clip
:
true
highlightRangeMode
:
ListView
.
ApplyRange
spacing
:
0
model
:
item
.
model
...
...
tests/ui/views/mainWindow/contacts.qml
View file @
1def519d
...
...
@@ -4,7 +4,7 @@ import QtQuick.Layouts 1.3
import
'
qrc:/ui/components/contact
'
import
'
qrc:/ui/components/form
'
import
'
qrc:/ui/components/
scrollBar
'
import
'
qrc:/ui/components/
view
'
import
'
qrc:/ui/scripts/utils.js
'
as
Utils
...
...
@@ -55,12 +55,8 @@ ColumnLayout {
Layout.fillHeight
:
true
color
:
'
#F5F5F5
'
ListView
{
ScrollBar.vertical
:
ForceScrollBar
{
}
ScrollableListView
{
anchors.fill
:
parent
boundsBehavior
:
Flickable
.
StopAtBounds
clip
:
true
highlightRangeMode
:
ListView
.
ApplyRange
spacing
:
2
// TODO: Remove, use C++ model instead.
...
...
tests/ui/views/manageAccounts.qml
View file @
1def519d
...
...
@@ -4,7 +4,7 @@ import QtQuick.Layouts 1.3
import
'
qrc:/ui/components/dialog
'
import
'
qrc:/ui/components/form
'
import
'
qrc:/ui/components/
scrollBar
'
import
'
qrc:/ui/components/
view
'
DialogPlus
{
descriptionText
:
qsTr
(
'
manageAccountsDescription
'
)
...
...
@@ -20,14 +20,9 @@ DialogPlus {
anchors.fill
:
parent
// TODO: Compute list max.
ListView
{
ScrollBar.vertical
:
ForceScrollBar
{
}
ScrollableListView
{
anchors.fill
:
parent
boundsBehavior
:
Flickable
.
StopAtBounds
clip
:
true
highlightRangeMode
:
ListView
.
ApplyRange
id
:
accountsList
spacing
:
0
// TODO: Remove, use C++ model instead.
model
:
ListModel
{
...
...
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