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
b31e2025
Commit
b31e2025
authored
Apr 20, 2016
by
dogmaphobic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrapping up iOS
parent
94a4e02d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
11 deletions
+13
-11
gradle-wrapper.properties
android/gradle/wrapper/gradle-wrapper.properties
+1
-1
QGCButton.qml
src/QmlControls/QGCButton.qml
+1
-1
QGCTextField.qml
src/QmlControls/QGCTextField.qml
+1
-0
ScreenToolsController.cc
src/QmlControls/ScreenToolsController.cc
+1
-1
OfflineMap.qml
src/QtLocationPlugin/QMLControl/OfflineMap.qml
+8
-8
MainWindowLeftPanel.qml
src/ui/MainWindowLeftPanel.qml
+1
-0
No files found.
android/gradle/wrapper/gradle-wrapper.properties
View file @
b31e2025
...
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
...
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath
=
wrapper/dists
distributionPath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
zipStoreBase
=
GRADLE_USER_HOME
zipStorePath
=
wrapper/dists
zipStorePath
=
wrapper/dists
distributionUrl
=
http
\:
//services.gradle.org/distributions/gradle-1.12
-all.zip
distributionUrl
=
http
s
\:
//services.gradle.org/distributions/gradle-2.2.1
-all.zip
src/QmlControls/QGCButton.qml
View file @
b31e2025
...
@@ -60,7 +60,7 @@ Button {
...
@@ -60,7 +60,7 @@ Button {
background
:
Item
{
background
:
Item
{
property
bool
down
:
control
.
pressed
||
(
control
.
checkable
&&
control
.
checked
)
property
bool
down
:
control
.
pressed
||
(
control
.
checkable
&&
control
.
checked
)
implicitWidth
:
Math
.
round
(
TextSingleton
.
implicitHeight
*
4.5
)
implicitWidth
:
Math
.
round
(
TextSingleton
.
implicitHeight
*
4.5
)
implicitHeight
:
ScreenTools
.
isMobile
?
ScreenTools
.
defaultFontPixelHeight
*
3
*
0.7
5
:
Math
.
max
(
25
,
Math
.
round
(
TextSingleton
.
implicitHeight
*
1.2
))
implicitHeight
:
ScreenTools
.
isMobile
?
ScreenTools
.
defaultFontPixelHeight
*
2.
5
:
Math
.
max
(
25
,
Math
.
round
(
TextSingleton
.
implicitHeight
*
1.2
))
Rectangle
{
Rectangle
{
anchors.fill
:
parent
anchors.fill
:
parent
...
...
src/QmlControls/QGCTextField.qml
View file @
b31e2025
...
@@ -31,6 +31,7 @@ TextField {
...
@@ -31,6 +31,7 @@ TextField {
}
}
style
:
TextFieldStyle
{
style
:
TextFieldStyle
{
font.pixelSize
:
ScreenTools
.
defaultFontPixelSize
background
:
Item
{
background
:
Item
{
id
:
backgroundItem
id
:
backgroundItem
...
...
src/QmlControls/ScreenToolsController.cc
View file @
b31e2025
...
@@ -31,7 +31,7 @@ const double ScreenToolsController::_defaultFontPixelSizeRatio = 1.0;
...
@@ -31,7 +31,7 @@ const double ScreenToolsController::_defaultFontPixelSizeRatio = 1.0;
#elif __android__
#elif __android__
const
double
ScreenToolsController
::
_defaultFontPixelSizeRatio
=
1.0
;
const
double
ScreenToolsController
::
_defaultFontPixelSizeRatio
=
1.0
;
#elif __ios__
#elif __ios__
const
double
ScreenToolsController
::
_defaultFontPixelSizeRatio
=
0.
8
;
const
double
ScreenToolsController
::
_defaultFontPixelSizeRatio
=
0.
6
;
#else
#else
const
double
ScreenToolsController
::
_defaultFontPixelSizeRatio
=
0.8
;
const
double
ScreenToolsController
::
_defaultFontPixelSizeRatio
=
0.8
;
#endif
#endif
...
...
src/QtLocationPlugin/QMLControl/OfflineMap.qml
View file @
b31e2025
...
@@ -579,27 +579,27 @@ Rectangle {
...
@@ -579,27 +579,27 @@ Rectangle {
Label
{
Label
{
text
:
qsTr
(
"
Tile Count
"
)
text
:
qsTr
(
"
Tile Count
"
)
color
:
"
black
"
color
:
"
black
"
width
:
ScreenTools
.
defaultFontPixelWidth
*
12
width
:
ScreenTools
.
defaultFontPixelWidth
*
8
font.pixelSize
:
ScreenTools
.
smallFontPixelSize
font.pixelSize
:
ScreenTools
.
smallFontPixelSize
horizontalAlignment
:
Text
.
AlignHCenter
horizontalAlignment
:
Text
.
AlignHCenter
}
}
Label
{
Label
{
text
:
QGroundControl
.
mapEngineManager
.
tileCountStr
text
:
QGroundControl
.
mapEngineManager
.
tileCountStr
color
:
"
black
"
color
:
"
black
"
width
:
ScreenTools
.
defaultFontPixelWidth
*
12
width
:
ScreenTools
.
defaultFontPixelWidth
*
8
horizontalAlignment
:
Text
.
AlignHCenter
horizontalAlignment
:
Text
.
AlignHCenter
}
}
Label
{
Label
{
text
:
qsTr
(
"
Set Size (Est)
"
)
text
:
qsTr
(
"
Set Size (Est)
"
)
color
:
"
black
"
color
:
"
black
"
width
:
ScreenTools
.
defaultFontPixelWidth
*
12
width
:
ScreenTools
.
defaultFontPixelWidth
*
8
font.pixelSize
:
ScreenTools
.
smallFontPixelSize
font.pixelSize
:
ScreenTools
.
smallFontPixelSize
horizontalAlignment
:
Text
.
AlignHCenter
horizontalAlignment
:
Text
.
AlignHCenter
}
}
Label
{
Label
{
text
:
QGroundControl
.
mapEngineManager
.
tileSizeStr
text
:
QGroundControl
.
mapEngineManager
.
tileSizeStr
color
:
"
black
"
color
:
"
black
"
width
:
ScreenTools
.
defaultFontPixelWidth
*
12
width
:
ScreenTools
.
defaultFontPixelWidth
*
8
horizontalAlignment
:
Text
.
AlignHCenter
horizontalAlignment
:
Text
.
AlignHCenter
}
}
}
}
...
@@ -618,7 +618,7 @@ Rectangle {
...
@@ -618,7 +618,7 @@ Rectangle {
}
}
QGCTextField
{
QGCTextField
{
id
:
setName
id
:
setName
width
:
ScreenTools
.
defaultFontPixelWidth
*
2
4
width
:
ScreenTools
.
defaultFontPixelWidth
*
2
0
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.verticalCenter
:
parent
.
verticalCenter
}
}
}
}
...
@@ -633,7 +633,7 @@ Rectangle {
...
@@ -633,7 +633,7 @@ Rectangle {
QGCTextField
{
QGCTextField
{
id
:
setDescription
id
:
setDescription
text
:
qsTr
(
"
Description
"
)
text
:
qsTr
(
"
Description
"
)
width
:
ScreenTools
.
defaultFontPixelWidth
*
2
4
width
:
ScreenTools
.
defaultFontPixelWidth
*
2
0
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.verticalCenter
:
parent
.
verticalCenter
}
}
}
}
...
@@ -647,7 +647,7 @@ Rectangle {
...
@@ -647,7 +647,7 @@ Rectangle {
}
}
QGCComboBox
{
QGCComboBox
{
id
:
mapCombo
id
:
mapCombo
width
:
ScreenTools
.
defaultFontPixelWidth
*
2
4
width
:
ScreenTools
.
defaultFontPixelWidth
*
2
0
model
:
QGroundControl
.
mapEngineManager
.
mapList
model
:
QGroundControl
.
mapEngineManager
.
mapList
onActivated
:
{
onActivated
:
{
mapType
=
textAt
(
index
)
mapType
=
textAt
(
index
)
...
@@ -668,7 +668,7 @@ Rectangle {
...
@@ -668,7 +668,7 @@ Rectangle {
}
}
Item
{
Item
{
height
:
1
height
:
1
width
:
ScreenTools
.
defaultFontPixelWidth
*
1.5
width
:
ScreenTools
.
defaultFontPixelWidth
}
}
Column
{
Column
{
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.verticalCenter
:
parent
.
verticalCenter
...
...
src/ui/MainWindowLeftPanel.qml
View file @
b31e2025
...
@@ -193,6 +193,7 @@ Item {
...
@@ -193,6 +193,7 @@ Item {
anchors.right
:
parent
.
right
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Offline Maps
"
)
text
:
qsTr
(
"
Offline Maps
"
)
exclusiveGroup
:
panelActionGroup
exclusiveGroup
:
panelActionGroup
visible
:
!
ScreenTools
.
isTinyScreen
onClicked
:
{
onClicked
:
{
if
(
__rightPanel
.
source
!=
"
OfflineMap.qml
"
)
{
if
(
__rightPanel
.
source
!=
"
OfflineMap.qml
"
)
{
__rightPanel
.
source
=
"
OfflineMap.qml
"
__rightPanel
.
source
=
"
OfflineMap.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