Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
lifo
Nicolas Ollinger
OpenBoard
Commits
caf68d99
Commit
caf68d99
authored
Aug 09, 2011
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed some error on keyboard palette. Mac and linux
parent
f1ba7682
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
286 additions
and
288 deletions
+286
-288
UBKeyboardPalette.cpp
src/gui/UBKeyboardPalette.cpp
+1
-3
UBKeyboardPalette_linux.cpp
src/gui/UBKeyboardPalette_linux.cpp
+189
-189
UBKeyboardPalette_mac.cpp
src/gui/UBKeyboardPalette_mac.cpp
+96
-96
No files found.
src/gui/UBKeyboardPalette.cpp
View file @
caf68d99
...
...
@@ -82,8 +82,6 @@ UBKeyboardPalette* UBKeyboardPalette::create(QWidget *parent)
connect
(
inst
,
SIGNAL
(
localeChanged
(
int
)),
instance
,
SLOT
(
syncLocale
(
int
)));
connect
(
instance
,
SIGNAL
(
localeChanged
(
int
)),
inst
,
SLOT
(
syncLocale
(
int
)));
// connect(instance, SIGNAL(closed()), inst, )
}
return
instance
;
...
...
@@ -91,7 +89,7 @@ UBKeyboardPalette* UBKeyboardPalette::create(QWidget *parent)
void
UBKeyboardPalette
::
hideKeyboard
()
{
UBApplication
::
mainWindow
->
actionVirtualKeyboard
->
activate
(
QAction
.
Trigger
);
UBApplication
::
mainWindow
->
actionVirtualKeyboard
->
activate
(
QAction
::
Trigger
);
}
void
UBKeyboardPalette
::
syncPosition
(
const
QPoint
&
pos
)
...
...
src/gui/UBKeyboardPalette_linux.cpp
View file @
caf68d99
...
...
@@ -114,8 +114,8 @@ void UBKeyboardPalette::createCtrlButtons()
ctrlButtons
[
0
]
=
new
UBCntrlButton
(
this
,
"<-"
,
XK_BackSpace
);
ctrlButtons
[
1
]
=
new
UBCntrlButton
(
this
,
"<->"
,
XK_Tab
);
ctrlButtons
[
2
]
=
new
UBCntrlButton
(
this
,
"Enter"
,
XK_Return
);
ctrlButtons
[
3
]
=
new
UBCapsLockButton
(
this
);
ctrlButtons
[
4
]
=
new
UBCapsLockButton
(
this
);
ctrlButtons
[
3
]
=
new
UBCapsLockButton
(
this
,
"capslock"
);
ctrlButtons
[
4
]
=
new
UBCapsLockButton
(
this
,
"capslock"
);
ctrlButtons
[
5
]
=
new
UBLocaleButton
(
this
);
ctrlButtons
[
6
]
=
new
UBCntrlButton
(
this
,
""
,
XK_space
);
ctrlButtons
[
7
]
=
new
UBLocaleButton
(
this
);
...
...
src/gui/UBKeyboardPalette_mac.cpp
View file @
caf68d99
...
...
@@ -51,8 +51,8 @@ void UBKeyboardPalette::createCtrlButtons()
ctrlButtons
[
0
]
=
new
UBCntrlButton
(
this
,
"<-"
,
51
);
ctrlButtons
[
1
]
=
new
UBCntrlButton
(
this
,
"<->"
,
48
);
ctrlButtons
[
2
]
=
new
UBCntrlButton
(
this
,
"Enter"
,
76
);
ctrlButtons
[
3
]
=
new
UBCapsLockButton
(
this
);
ctrlButtons
[
4
]
=
new
UBCapsLockButton
(
this
);
ctrlButtons
[
3
]
=
new
UBCapsLockButton
(
this
,
"capslock"
);
ctrlButtons
[
4
]
=
new
UBCapsLockButton
(
this
,
"capslock"
);
ctrlButtons
[
5
]
=
new
UBLocaleButton
(
this
);
ctrlButtons
[
6
]
=
new
UBCntrlButton
(
this
,
""
,
49
);
ctrlButtons
[
7
]
=
new
UBLocaleButton
(
this
);
...
...
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