Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Alberto Mardegan
Lomiri VNC
Commits
f1fe9cad
Commit
f1fe9cad
authored
Dec 20, 2020
by
Alberto Mardegan
Browse files
ViewerPage: anchor view to keyboard rectangle
parent
1b65715c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
src/desktop/qml/KeyboardRectangle.qml
src/desktop/qml/KeyboardRectangle.qml
+8
-0
src/desktop/qml/ViewerPage.qml
src/desktop/qml/ViewerPage.qml
+8
-1
src/desktop/qml/ui.qrc
src/desktop/qml/ui.qrc
+1
-0
No files found.
src/desktop/qml/KeyboardRectangle.qml
0 → 100644
View file @
f1fe9cad
import
QtQuick
2.7
Item
{
id
:
root
anchors
{
left
:
parent
.
left
;
right
:
parent
.
right
;
bottom
:
parent
.
bottom
}
height
:
Qt
.
inputMethod
.
keyboardRectangle
.
height
}
src/desktop/qml/ViewerPage.qml
View file @
f1fe9cad
...
...
@@ -12,7 +12,10 @@ Page {
ZoomPanHandler
{
id
:
zoomPanHandler
anchors.fill
:
parent
anchors
{
left
:
parent
.
left
;
right
:
parent
.
right
;
top
:
parent
.
top
;
bottom
:
keyboardRectangle
.
top
}
viewer
:
viewer
VncOutput
{
...
...
@@ -31,6 +34,10 @@ Page {
}
}
KeyboardRectangle
{
id
:
keyboardRectangle
}
function
toggleFullScreen
()
{
var
window
=
Window
.
window
if
(
window
.
visibility
==
Window
.
FullScreen
)
{
...
...
src/desktop/qml/ui.qrc
View file @
f1fe9cad
<!DOCTYPE RCC>
<RCC
version=
"1.0"
>
<qresource
prefix=
"/"
>
<file>
BackButton.qml
</file>
<file>
KeyboardRectangle.qml
</file>
<file>
MainPage.qml
</file>
<file>
OsdRow.qml
</file>
<file>
OsdButton.qml
</file>
...
...
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