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
5b209a04
Commit
5b209a04
authored
Oct 26, 2016
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(PopupStyle): add `opening/closing`Duration properties
parent
732d143d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
AbstractDropDownMenu.qml
tests/ui/modules/Common/Popup/AbstractDropDownMenu.qml
+6
-6
SearchBox.qml
tests/ui/modules/Common/SearchBox.qml
+2
-0
PopupStyle.qml
tests/ui/modules/Common/Styles/PopupStyle.qml
+5
-0
No files found.
tests/ui/modules/Common/Popup/AbstractDropDownMenu.qml
View file @
5b209a04
...
...
@@ -122,7 +122,7 @@ Item {
to
:
'
Opened
'
NumberAnimation
{
duration
:
250
duration
:
PopupStyle
.
animation
.
openingDuration
easing.type
:
Easing
.
InOutQuad
property
:
'
opacity
'
target
:
menu
...
...
@@ -130,7 +130,7 @@ Item {
SequentialAnimation
{
PauseAnimation
{
duration
:
250
duration
:
PopupStyle
.
animation
.
closingDuration
}
ScriptAction
{
...
...
@@ -144,22 +144,22 @@ Item {
to
:
''
NumberAnimation
{
duration
:
250
duration
:
PopupStyle
.
animation
.
openingDuration
easing.type
:
Easing
.
InOutQuad
property
:
'
opacity
'
target
:
menu
}
NumberAnimation
{
duration
:
250
duration
:
PopupStyle
.
animation
.
closingDuration
easing.type
:
Easing
.
InOutQuad
property
:
'
visible
'
// Ugly, use `NumberAnimation`
on
bool.
property
:
'
visible
'
// Ugly, use `NumberAnimation`
with a
bool.
target
:
menu
}
SequentialAnimation
{
PauseAnimation
{
duration
:
250
duration
:
PopupStyle
.
animation
.
closingDuration
}
ScriptAction
{
...
...
tests/ui/modules/Common/SearchBox.qml
View file @
5b209a04
...
...
@@ -21,6 +21,8 @@ Item {
property
alias
placeholderText
:
searchField
.
placeholderText
property
bool
_isOpen
:
false
signal
menuClosed
signal
menuOpened
...
...
tests/ui/modules/Common/Styles/PopupStyle.qml
View file @
5b209a04
...
...
@@ -8,6 +8,11 @@ import Common 1.0
QtObject
{
property
color
backgroundColor
:
Colors
.
k
property
QtObject
animation
:
QtObject
{
property
int
openingDuration
:
250
property
int
closingDuration
:
250
}
property
QtObject
shadow
:
QtObject
{
property
color
color
:
Colors
.
f
property
int
horizontalOffset
:
2
...
...
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