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
4704c5d3
Commit
4704c5d3
authored
Feb 17, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(app): add many shortcuts, hide settings...
parent
10da9784
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
50 additions
and
5 deletions
+50
-5
en.ts
linphone-desktop/assets/languages/en.ts
+4
-0
fr.ts
linphone-desktop/assets/languages/fr.ts
+4
-0
App.hpp
linphone-desktop/src/app/App.hpp
+2
-1
DialogPlus.qml
linphone-desktop/ui/modules/Common/Dialog/DialogPlus.qml
+9
-0
IncallFullscreen.qml
linphone-desktop/ui/views/App/IncallFullscreen.qml
+7
-0
InviteFriends.qml
linphone-desktop/ui/views/App/InviteFriends.qml
+3
-2
MainWindow.qml
linphone-desktop/ui/views/App/Main/MainWindow.qml
+7
-0
MainWindowMenuBar.qml
linphone-desktop/ui/views/App/Main/MainWindowMenuBar.qml
+5
-1
SettingsWindow.qml
linphone-desktop/ui/views/App/Settings/SettingsWindow.qml
+9
-1
No files found.
linphone-desktop/assets/languages/en.ts
View file @
4704c5d3
...
...
@@ -429,6 +429,10 @@ Server url not configured.</translation>
<
source
>
confirm
<
/source
>
<
translation
>
CONFIRM
<
/translation
>
<
/message
>
<
message
>
<
source
>
inviteFriendsTitle
<
/source
>
<
translation
>
Linphone
-
Invite
Friends
<
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
MainWindow
<
/name
>
...
...
linphone-desktop/assets/languages/fr.ts
View file @
4704c5d3
...
...
@@ -428,6 +428,10 @@ Url du serveur non configurée.</translation>
<
source
>
confirm
<
/source
>
<
translation
>
CONFIRMER
<
/translation
>
<
/message
>
<
message
>
<
source
>
inviteFriendsTitle
<
/source
>
<
translation
>
Linphone
-
Inviter
des
amis
<
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
MainWindow
<
/name
>
...
...
linphone-desktop/src/app/App.hpp
View file @
4704c5d3
...
...
@@ -50,10 +50,11 @@ public:
QQuickWindow
*
getCallsWindow
()
const
;
QQuickWindow
*
getMainWindow
()
const
;
QQuickWindow
*
getSettingsWindow
()
const
;
bool
hasFocus
()
const
;
Q_INVOKABLE
QQuickWindow
*
getSettingsWindow
()
const
;
Q_INVOKABLE
QString
locale
()
const
{
return
m_locale
;
}
...
...
linphone-desktop/ui/modules/Common/Dialog/DialogPlus.qml
View file @
4704c5d3
...
...
@@ -37,6 +37,15 @@ Window {
// Handle normal windows close.
onClosing
:
!
_disableExitStatus
&&
exitStatus
(
0
)
// ---------------------------------------------------------------------------
Shortcut
{
sequence
:
StandardKey
.
Close
onActivated
:
exit
(
0
)
}
// ---------------------------------------------------------------------------
ColumnLayout
{
anchors.fill
:
parent
spacing
:
0
...
...
linphone-desktop/ui/views/App/IncallFullscreen.qml
View file @
4704c5d3
...
...
@@ -41,6 +41,13 @@ Window {
// ---------------------------------------------------------------------------
Shortcut
{
sequence
:
StandardKey
.
Close
onActivated
:
window
.
hide
()
}
// ---------------------------------------------------------------------------
Rectangle
{
anchors.fill
:
parent
color
:
'
#000000
'
// Not a style.
...
...
linphone-desktop/ui/views/App/InviteFriends.qml
View file @
4704c5d3
...
...
@@ -12,17 +12,18 @@ DialogPlus {
TextButtonA
{
text
:
qsTr
(
'
cancel
'
)
onClicked
:
exit
(
0
)
onClicked
:
exit
(
-
1
)
},
TextButtonB
{
enabled
:
email
.
length
&&
message
.
length
text
:
qsTr
(
'
confirm
'
)
onClicked
:
exit
(
-
1
)
onClicked
:
exit
(
0
)
}
]
centeredButtons
:
true
title
:
qsTr
(
'
inviteFriendsTitle
'
)
height
:
InviteFriendsStyle
.
height
width
:
InviteFriendsStyle
.
width
...
...
linphone-desktop/ui/views/App/Main/MainWindow.qml
View file @
4704c5d3
...
...
@@ -103,6 +103,13 @@ Controls1.ApplicationWindow {
// ---------------------------------------------------------------------------
Shortcut
{
sequence
:
StandardKey
.
Close
onActivated
:
window
.
hide
()
}
// ---------------------------------------------------------------------------
ColumnLayout
{
id
:
container
...
...
linphone-desktop/ui/views/App/Main/MainWindowMenuBar.qml
View file @
4704c5d3
...
...
@@ -2,7 +2,7 @@ import QtQuick 2.7
import
QtQuick
.
Controls
1.4
import
QtQuick
.
Controls
.
Styles
1.4
import
Common
1.0
as
Common
import
Linphone
1.0
import
App
.
Styles
1.0
...
...
@@ -109,6 +109,8 @@ import App.Styles 1.0
MenuItem
{
shortcut
:
'
Ctrl+P
'
text
:
qsTr
(
'
settings
'
)
onTriggered
:
App
.
getSettingsWindow
().
show
()
}
MenuSeparator
{}
...
...
@@ -116,6 +118,8 @@ import App.Styles 1.0
MenuItem
{
shortcut
:
StandardKey
.
Quit
text
:
qsTr
(
'
quit
'
)
onTriggered
:
Qt
.
quit
()
}
}
...
...
linphone-desktop/ui/views/App/Settings/SettingsWindow.qml
View file @
4704c5d3
...
...
@@ -19,7 +19,15 @@ ApplicationWindow {
minimumWidth
:
SettingsWindowStyle
.
width
title
:
qsTr
(
'
settingsTitle
'
)
visible
:
true
// ---------------------------------------------------------------------------
Shortcut
{
sequence
:
StandardKey
.
Close
onActivated
:
window
.
hide
()
}
// ---------------------------------------------------------------------------
ColumnLayout
{
anchors.fill
:
parent
...
...
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