Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
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
Valentin Platzgummer
qgroundcontrol
Commits
65d71cf5
Unverified
Commit
65d71cf5
authored
Mar 12, 2018
by
Don Gagne
Committed by
GitHub
Mar 12, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6197 from DonLakeFlyer/ButtonFocus
Set focus on button and checkbox click
parents
0c8da5af
3ac26bd5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
QGCButton.qml
src/QmlControls/QGCButton.qml
+2
-0
QGCCheckBox.qml
src/QmlControls/QGCCheckBox.qml
+2
-0
No files found.
src/QmlControls/QGCButton.qml
View file @
65d71cf5
...
...
@@ -6,6 +6,8 @@ import QGroundControl.Palette 1.0
import
QGroundControl
.
ScreenTools
1.0
Button
{
activeFocusOnPress
:
true
property
bool
primary
:
false
///< primary button for a group of buttons
property
real
pointSize
:
ScreenTools
.
defaultFontPointSize
///< Point size for button text
...
...
src/QmlControls/QGCCheckBox.qml
View file @
65d71cf5
...
...
@@ -6,6 +6,8 @@ import QGroundControl.Palette 1.0
import
QGroundControl
.
ScreenTools
1.0
CheckBox
{
activeFocusOnPress
:
true
property
var
__qgcPal
:
QGCPalette
{
colorGroupEnabled
:
enabled
}
style
:
CheckBoxStyle
{
...
...
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