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
a5db2eef
Commit
a5db2eef
authored
Dec 28, 2018
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
68046276
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
SliderSwitch.qml
src/QmlControls/SliderSwitch.qml
+0
-7
No files found.
src/QmlControls/SliderSwitch.qml
View file @
a5db2eef
...
...
@@ -14,7 +14,6 @@ Rectangle {
color
:
qgcPal
.
windowShade
signal
accept
///< Action confirmed
signal
reject
///< Action rejected
property
string
confirmText
///< Text for slider
property
alias
fontPointSize
:
label
.
font
.
pointSize
///< Point size for text
...
...
@@ -70,12 +69,6 @@ Rectangle {
property
bool
dragActive
:
drag
.
active
property
real
_dragOffset
:
1
//Component.onCompleted: console.log(height, ScreenTools.minTouchPixels)
onPressed
:
{
mouse
.
x
}
onDragActiveChanged
:
{
if
(
!
sliderDragArea
.
drag
.
active
)
{
if
(
slider
.
x
>
_maxXDrag
-
_border
)
{
...
...
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