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
2b645760
Commit
2b645760
authored
May 09, 2016
by
Don Gagne
Committed by
Lorenz Meier
May 09, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rework param search ui (#3353)
parent
40185131
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
ParameterEditor.qml
src/QmlControls/ParameterEditor.qml
+5
-5
ScreenTools.qml
src/QmlControls/ScreenTools.qml
+1
-0
No files found.
src/QmlControls/ParameterEditor.qml
View file @
2b645760
...
...
@@ -71,20 +71,20 @@ QGCView {
height
:
searchText
.
height
+
ScreenTools
.
defaultFontPixelHeight
/
3
spacing
:
ScreenTools
.
defaultFontPixelWidth
QGCTextField
{
id
:
searchText
}
QGCButton
{
anchors.top
:
searchText
.
top
anchors.bottom
:
searchText
.
bottom
text
:
qsTr
(
"
Filter by:
"
)
text
:
qsTr
(
"
Search
"
)
onClicked
:
{
_searchResults
=
controller
.
searchParametersForComponent
(
-
1
,
searchText
.
text
)
_searchFilter
=
true
}
}
QGCTextField
{
id
:
searchText
}
QGCButton
{
anchors.top
:
searchText
.
top
anchors.bottom
:
searchText
.
bottom
...
...
src/QmlControls/ScreenTools.qml
View file @
2b645760
...
...
@@ -63,6 +63,7 @@ Item {
smallFontPointSize
=
defaultFontPointSize
*
_screenTools
.
smallFontPointRatio
mediumFontPointSize
=
defaultFontPointSize
*
_screenTools
.
mediumFontPointRatio
largeFontPointSize
=
defaultFontPointSize
*
_screenTools
.
largeFontPointRatio
console
.
log
(
"
setBasePointSize
"
,
defaultFontPixelWidth
)
}
Text
{
...
...
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