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
b01d1f63
Commit
b01d1f63
authored
Feb 26, 2015
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New QGCColoredImageControl
parent
bfd05ca7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
0 deletions
+41
-0
QGCColoredImage.qml
src/QmlControls/QGCColoredImage.qml
+40
-0
qmldir
src/QmlControls/qmldir
+1
-0
No files found.
src/QmlControls/QGCColoredImage.qml
0 → 100644
View file @
b01d1f63
import
QtQuick
2.2
import
QtQuick
.
Controls
1.2
import
QtQuick
.
Controls
.
Styles
1.2
import
QtGraphicalEffects
1.0
import
QGroundControl
.
Palette
1.0
Item
{
property
color
color
:
"
white
"
// Image color
property
alias
asynchronous
:
image
.
asynchronous
property
alias
cache
:
image
.
cache
property
alias
fillMode
:
image
.
fillMode
property
alias
horizontalAlignment
:
image
.
horizontalAlignment
property
alias
mirror
:
image
.
mirror
property
alias
paintedHeight
:
image
.
paintedHeight
property
alias
paintedWidth
:
image
.
paintedWidth
property
alias
progress
:
image
.
progress
property
alias
smooth
:
image
.
smooth
property
alias
source
:
image
.
source
property
alias
sourceSize
:
image
.
sourceSize
property
alias
status
:
image
.
status
property
alias
verticalAlignment
:
image
.
verticalAlignment
width
:
image
.
width
height
:
image
.
height
Image
{
id
:
image
smooth
:
true
visible
:
false
anchors.fill
:
parent
}
ColorOverlay
{
anchors.fill
:
image
source
:
image
color
:
parent
.
color
}
}
\ No newline at end of file
src/QmlControls/qmldir
View file @
b01d1f63
...
...
@@ -6,3 +6,4 @@ QGCRadioButton 1.0 QGCRadioButton.qml
QGCCheckBox 1.0 QGCCheckBox.qml
QGCTextField 1.0 QGCTextField.qml
QGCComboBox 1.0 QGCComboBox.qml
QGCColoredImage 1.0 QGCColoredImage.qml
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