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
77b6dc5e
Unverified
Commit
77b6dc5e
authored
May 24, 2018
by
Don Gagne
Committed by
GitHub
May 24, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6501 from DonLakeFlyer/PreFlightButtons
PreFlight: Style cleanup and changes
parents
4ee40f9f
b9c5d2ed
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
57 additions
and
43 deletions
+57
-43
FlightDisplayView.qml
src/FlightDisplay/FlightDisplayView.qml
+2
-2
PreFlightBatteryCheck.qml
src/FlightDisplay/PreFlightBatteryCheck.qml
+3
-3
PreFlightCheckList.qml
src/FlightDisplay/PreFlightCheckList.qml
+9
-9
PreFlightRCCheck.qml
src/FlightDisplay/PreFlightRCCheck.qml
+2
-2
PreFlightSensorsCheck.qml
src/FlightDisplay/PreFlightSensorsCheck.qml
+23
-14
PreFlightSoundCheck.qml
src/FlightDisplay/PreFlightSoundCheck.qml
+2
-2
DropPanel.qml
src/QmlControls/DropPanel.qml
+5
-0
PreFlightCheckButton.qml
src/QmlControls/PreFlightCheckButton.qml
+11
-11
No files found.
src/FlightDisplay/FlightDisplayView.qml
View file @
77b6dc5e
...
@@ -716,7 +716,7 @@ QGCView {
...
@@ -716,7 +716,7 @@ QGCView {
height
:
1.75
*
ScreenTools
.
defaultFontPixelHeight
height
:
1.75
*
ScreenTools
.
defaultFontPixelHeight
QGCLabel
{
QGCLabel
{
text
:
_activeVehicle
?
qsTr
(
"
Pre-
flight checklist
"
)
+
"
(MAV ID:
"
+
_activeVehicle
.
id
+
"
)
"
:
qsTr
(
"
Pre-flight checklist (no vehicle)
"
)
text
:
_activeVehicle
?
qsTr
(
"
Pre-
Flight Checklist
"
)
:
qsTr
(
"
Pre-flight checklist (no vehicle)
"
)
anchors.left
:
parent
.
left
anchors.left
:
parent
.
left
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.verticalCenter
:
parent
.
verticalCenter
font.pointSize
:
ScreenTools
.
mediumFontPointSize
font.pointSize
:
ScreenTools
.
mediumFontPointSize
...
@@ -727,7 +727,7 @@ QGCView {
...
@@ -727,7 +727,7 @@ QGCView {
anchors.right
:
parent
.
right
anchors.right
:
parent
.
right
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.verticalCenter
:
parent
.
verticalCenter
opacity
:
0.2
+
0.8
*
(
QGroundControl
.
multiVehicleManager
.
vehicles
.
count
>
0
)
opacity
:
0.2
+
0.8
*
(
QGroundControl
.
multiVehicleManager
.
vehicles
.
count
>
0
)
tooltip
:
"
Reset the checklist (e.g. after a vehicle reboot)
"
tooltip
:
qsTr
(
"
Reset the checklist (e.g. after a vehicle reboot)
"
)
onClicked
:
preFlightCheckList
.
resetNrClicks
()
onClicked
:
preFlightCheckList
.
resetNrClicks
()
...
...
src/FlightDisplay/PreFlightBatteryCheck.qml
View file @
77b6dc5e
...
@@ -16,7 +16,7 @@ import QGroundControl.Vehicle 1.0
...
@@ -16,7 +16,7 @@ import QGroundControl.Vehicle 1.0
// This class stores the data and functions of the check list but NOT the GUI (which is handled somewhere else).
// This class stores the data and functions of the check list but NOT the GUI (which is handled somewhere else).
PreFlightCheckButton
{
PreFlightCheckButton
{
name
:
qsTr
(
"
Battery
"
)
name
:
qsTr
(
"
Battery
"
)
pending
t
ext
:
qsTr
(
"
Healthy & charged > %1. Battery connector firmly plugged?
"
).
arg
(
failureVoltage
)
pending
T
ext
:
qsTr
(
"
Healthy & charged > %1. Battery connector firmly plugged?
"
).
arg
(
failureVoltage
)
property
int
failureVoltage
:
40
property
int
failureVoltage
:
40
...
@@ -35,10 +35,10 @@ PreFlightCheckButton {
...
@@ -35,10 +35,10 @@ PreFlightCheckButton {
state
=
stateNotChecked
state
=
stateNotChecked
}
else
{
}
else
{
if
(
_unhealthySensors
&
Vehicle
.
SysStatusSensorBattery
)
{
if
(
_unhealthySensors
&
Vehicle
.
SysStatusSensorBattery
)
{
failure
t
ext
=
qsTr
(
"
Not healthy. Check console.
"
)
failure
T
ext
=
qsTr
(
"
Not healthy. Check console.
"
)
state
=
stateMajorIssue
state
=
stateMajorIssue
}
else
if
(
_batPercentRemaining
<
failureVoltage
)
{
}
else
if
(
_batPercentRemaining
<
failureVoltage
)
{
failure
t
ext
=
qsTr
(
"
Low (below %1). Please recharge.
"
).
arg
(
failureVoltage
)
failure
T
ext
=
qsTr
(
"
Low (below %1). Please recharge.
"
).
arg
(
failureVoltage
)
state
=
stateMajorIssue
state
=
stateMajorIssue
}
else
{
}
else
{
state
=
_nrClicked
>
0
?
statePassed
:
statePending
state
=
_nrClicked
>
0
?
statePassed
:
statePending
...
...
src/FlightDisplay/PreFlightCheckList.qml
View file @
77b6dc5e
...
@@ -45,7 +45,7 @@ Item {
...
@@ -45,7 +45,7 @@ Item {
PreFlightCheckButton
{
PreFlightCheckButton
{
id
:
buttonHardware
id
:
buttonHardware
name
:
"
Hardware
"
name
:
"
Hardware
"
default
t
ext
:
"
Props mounted? Wings secured? Tail secured?
"
default
T
ext
:
"
Props mounted? Wings secured? Tail secured?
"
}
}
PreFlightBatteryCheck
{
PreFlightBatteryCheck
{
id
:
buttonBattery
id
:
buttonBattery
...
@@ -67,19 +67,19 @@ Item {
...
@@ -67,19 +67,19 @@ Item {
id
:
buttonActuators
id
:
buttonActuators
name
:
"
Actuators
"
name
:
"
Actuators
"
group
:
1
group
:
1
default
t
ext
:
"
Move all control surfaces. Did they work properly?
"
default
T
ext
:
"
Move all control surfaces. Did they work properly?
"
}
}
PreFlightCheckButton
{
PreFlightCheckButton
{
id
:
buttonMotors
id
:
buttonMotors
name
:
"
Motors
"
name
:
"
Motors
"
group
:
1
group
:
1
default
t
ext
:
"
Propellers free? Then throttle up gently. Working properly?
"
default
T
ext
:
"
Propellers free? Then throttle up gently. Working properly?
"
}
}
PreFlightCheckButton
{
PreFlightCheckButton
{
id
:
buttonMission
id
:
buttonMission
name
:
"
Mission
"
name
:
"
Mission
"
group
:
1
group
:
1
default
t
ext
:
"
Please confirm mission is valid (waypoints valid, no terrain collision).
"
default
T
ext
:
"
Please confirm mission is valid (waypoints valid, no terrain collision).
"
}
}
PreFlightSoundCheck
{
PreFlightSoundCheck
{
id
:
buttonSoundOutput
id
:
buttonSoundOutput
...
@@ -92,21 +92,21 @@ Item {
...
@@ -92,21 +92,21 @@ Item {
id
:
buttonPayload
id
:
buttonPayload
name
:
"
Payload
"
name
:
"
Payload
"
group
:
2
group
:
2
default
t
ext
:
"
Configured and started?
"
default
T
ext
:
"
Configured and started?
"
pending
t
ext
:
"
Payload lid closed?
"
pending
T
ext
:
"
Payload lid closed?
"
}
}
PreFlightCheckButton
{
PreFlightCheckButton
{
id
:
buttonWeather
id
:
buttonWeather
name
:
"
Wind & weather
"
name
:
"
Wind & weather
"
group
:
2
group
:
2
default
t
ext
:
"
OK for your platform?
"
default
T
ext
:
"
OK for your platform?
"
pending
t
ext
:
"
Launching into the wind?
"
pending
T
ext
:
"
Launching into the wind?
"
}
}
PreFlightCheckButton
{
PreFlightCheckButton
{
id
:
buttonFlightAreaFree
id
:
buttonFlightAreaFree
name
:
"
Flight area
"
name
:
"
Flight area
"
group
:
2
group
:
2
default
t
ext
:
"
Launch area and path free of obstacles/people?
"
default
T
ext
:
"
Launch area and path free of obstacles/people?
"
}
}
}
// Object Model
}
// Object Model
}
}
src/FlightDisplay/PreFlightRCCheck.qml
View file @
77b6dc5e
...
@@ -15,8 +15,8 @@ import QGroundControl.Vehicle 1.0
...
@@ -15,8 +15,8 @@ import QGroundControl.Vehicle 1.0
PreFlightCheckButton
{
PreFlightCheckButton
{
name
:
qsTr
(
"
Radio Control
"
)
name
:
qsTr
(
"
Radio Control
"
)
pending
t
ext
:
qsTr
(
"
Receiving signal. Perform range test & confirm.
"
)
pending
T
ext
:
qsTr
(
"
Receiving signal. Perform range test & confirm.
"
)
failure
t
ext
:
qsTr
(
"
No signal or invalid autopilot-RC config. Check RC and console.
"
)
failure
T
ext
:
qsTr
(
"
No signal or invalid autopilot-RC config. Check RC and console.
"
)
property
int
_unhealthySensors
:
_activeVehicle
?
_activeVehicle
.
sensorsUnhealthyBits
:
0
property
int
_unhealthySensors
:
_activeVehicle
?
_activeVehicle
.
sensorsUnhealthyBits
:
0
property
var
_activeVehicle
:
QGroundControl
.
multiVehicleManager
.
activeVehicle
property
var
_activeVehicle
:
QGroundControl
.
multiVehicleManager
.
activeVehicle
...
...
src/FlightDisplay/PreFlightSensorsCheck.qml
View file @
77b6dc5e
...
@@ -16,11 +16,22 @@ import QGroundControl.Vehicle 1.0
...
@@ -16,11 +16,22 @@ import QGroundControl.Vehicle 1.0
PreFlightCheckButton
{
PreFlightCheckButton
{
name
:
qsTr
(
"
Sensors
"
)
name
:
qsTr
(
"
Sensors
"
)
property
int
failureSatCount
:
-
1
///< -1 indicates no sat count check
property
int
_unhealthySensors
:
_activeVehicle
?
_activeVehicle
.
sensorsUnhealthyBits
:
0
property
int
_unhealthySensors
:
_activeVehicle
?
_activeVehicle
.
sensorsUnhealthyBits
:
0
property
bool
_gpsLock
:
_activeVehicle
?
_activeVehicle
.
gps
.
lock
.
rawValue
>=
3
:
0
property
bool
_gpsLock
:
_activeVehicle
?
_activeVehicle
.
gps
.
lock
.
rawValue
>=
3
:
0
property
bool
_satCount
:
_activeVehicle
?
_activeVehicle
.
gps
.
count
:
0
property
var
_activeVehicle
:
QGroundControl
.
multiVehicleManager
.
activeVehicle
property
var
_activeVehicle
:
QGroundControl
.
multiVehicleManager
.
activeVehicle
property
int
_allCheckedSensors
:
Vehicle
.
SysStatusSensor3dMag
|
Vehicle
.
SysStatusSensor3dAccel
|
Vehicle
.
SysStatusSensor3dGyro
|
Vehicle
.
SysStatusSensorAbsolutePressure
|
Vehicle
.
SysStatusSensorDifferentialPressure
|
Vehicle
.
SysStatusSensorGPS
on_GpsLockChanged
:
updateItem
()
on_GpsLockChanged
:
updateItem
()
on_SatCountChanged
:
updateItem
()
on_UnhealthySensorsChanged
:
updateItem
()
on_UnhealthySensorsChanged
:
updateItem
()
on_ActiveVehicleChanged
:
updateItem
()
on_ActiveVehicleChanged
:
updateItem
()
...
@@ -30,25 +41,23 @@ PreFlightCheckButton {
...
@@ -30,25 +41,23 @@ PreFlightCheckButton {
if
(
!
_activeVehicle
)
{
if
(
!
_activeVehicle
)
{
state
=
stateNotChecked
state
=
stateNotChecked
}
else
{
}
else
{
if
(
!
(
_unhealthySensors
&
Vehicle
.
SysStatusSensor3dMag
)
&&
if
(
!
(
_unhealthySensors
&
_allCheckedSensors
))
{
!
(
_unhealthySensors
&
Vehicle
.
SysStatusSensor3dAccel
)
&&
!
(
_unhealthySensors
&
Vehicle
.
SysStatusSensor3dGyro
)
&&
!
(
_unhealthySensors
&
Vehicle
.
SysStatusSensorAbsolutePressure
)
&&
!
(
_unhealthySensors
&
Vehicle
.
SysStatusSensorDifferentialPressure
)
&&
!
(
_unhealthySensors
&
Vehicle
.
SysStatusSensorGPS
))
{
if
(
!
_gpsLock
)
{
if
(
!
_gpsLock
)
{
pendingtext
=
qsTr
(
"
Pending. Waiting for GPS lock.
"
)
pendingText
=
qsTr
(
"
Pending. Waiting for GPS lock.
"
)
state
=
statePending
}
else
if
(
failureSatCount
!==
-
1
&&
_satCount
<=
failureSatCount
)
{
pendingText
=
qsTr
(
"
Pending. Waiting for Sat Count > %1.
"
).
arg
(
failureSatCount
)
state
=
statePending
state
=
statePending
}
else
{
}
else
{
state
=
statePassed
state
=
statePassed
}
}
}
else
{
}
else
{
if
(
_unhealthySensors
&
Vehicle
.
SysStatusSensor3dMag
)
failure
t
ext
=
qsTr
(
"
Failure. Magnetometer issues. Check console.
"
)
if
(
_unhealthySensors
&
Vehicle
.
SysStatusSensor3dMag
)
failure
T
ext
=
qsTr
(
"
Failure. Magnetometer issues. Check console.
"
)
else
if
(
_unhealthySensors
&
Vehicle
.
SysStatusSensor3dAccel
)
failure
t
ext
=
qsTr
(
"
Failure. Accelerometer issues. Check console.
"
)
else
if
(
_unhealthySensors
&
Vehicle
.
SysStatusSensor3dAccel
)
failure
T
ext
=
qsTr
(
"
Failure. Accelerometer issues. Check console.
"
)
else
if
(
_unhealthySensors
&
Vehicle
.
SysStatusSensor3dGyro
)
failure
t
ext
=
qsTr
(
"
Failure. Gyroscope issues. Check console.
"
)
else
if
(
_unhealthySensors
&
Vehicle
.
SysStatusSensor3dGyro
)
failure
T
ext
=
qsTr
(
"
Failure. Gyroscope issues. Check console.
"
)
else
if
(
_unhealthySensors
&
Vehicle
.
SysStatusSensorAbsolutePressure
)
failure
t
ext
=
qsTr
(
"
Failure. Barometer issues. Check console.
"
)
else
if
(
_unhealthySensors
&
Vehicle
.
SysStatusSensorAbsolutePressure
)
failure
T
ext
=
qsTr
(
"
Failure. Barometer issues. Check console.
"
)
else
if
(
_unhealthySensors
&
Vehicle
.
SysStatusSensorDifferentialPressure
)
failure
t
ext
=
qsTr
(
"
Failure. Airspeed sensor issues. Check console.
"
)
else
if
(
_unhealthySensors
&
Vehicle
.
SysStatusSensorDifferentialPressure
)
failure
T
ext
=
qsTr
(
"
Failure. Airspeed sensor issues. Check console.
"
)
else
if
(
_unhealthySensors
&
Vehicle
.
SysStatusSensorGPS
)
failure
t
ext
=
qsTr
(
"
Failure. No valid or low quality GPS signal. Check console.
"
)
else
if
(
_unhealthySensors
&
Vehicle
.
SysStatusSensorGPS
)
failure
T
ext
=
qsTr
(
"
Failure. No valid or low quality GPS signal. Check console.
"
)
state
=
stateMajorIssue
state
=
stateMajorIssue
}
}
}
}
...
...
src/FlightDisplay/PreFlightSoundCheck.qml
View file @
77b6dc5e
...
@@ -15,8 +15,8 @@ import QGroundControl.Vehicle 1.0
...
@@ -15,8 +15,8 @@ import QGroundControl.Vehicle 1.0
PreFlightCheckButton
{
PreFlightCheckButton
{
name
:
qsTr
(
"
Sound output
"
)
name
:
qsTr
(
"
Sound output
"
)
pending
t
ext
:
qsTr
(
"
QGC audio output enabled. System audio output enabled, too?
"
)
pending
T
ext
:
qsTr
(
"
QGC audio output enabled. System audio output enabled, too?
"
)
failure
t
ext
:
qsTr
(
"
Failure, QGC audio output is disabled. Please enable it under application settings->general to hear audio warnings!
"
)
failure
T
ext
:
qsTr
(
"
Failure, QGC audio output is disabled. Please enable it under application settings->general to hear audio warnings!
"
)
property
bool
_audioMuted
:
QGroundControl
.
settingsManager
.
appSettings
.
audioMuted
.
rawValue
property
bool
_audioMuted
:
QGroundControl
.
settingsManager
.
appSettings
.
audioMuted
.
rawValue
property
var
_activeVehicle
:
QGroundControl
.
multiVehicleManager
.
activeVehicle
property
var
_activeVehicle
:
QGroundControl
.
multiVehicleManager
.
activeVehicle
...
...
src/QmlControls/DropPanel.qml
View file @
77b6dc5e
...
@@ -120,6 +120,10 @@ Item {
...
@@ -120,6 +120,10 @@ Item {
Item
{
Item
{
id
:
dropDownItem
id
:
dropDownItem
DeadMouseArea
{
anchors.fill
:
parent
}
Canvas
{
Canvas
{
id
:
arrowCanvas
id
:
arrowCanvas
anchors.fill
:
parent
anchors.fill
:
parent
...
@@ -161,5 +165,6 @@ Item {
...
@@ -161,5 +165,6 @@ Item {
property
var
dropPanel
:
_root
property
var
dropPanel
:
_root
}
}
}
}
}
// Item - dropDownItem
}
// Item - dropDownItem
}
}
src/QmlControls/PreFlightCheckButton.qml
View file @
77b6dc5e
...
@@ -18,9 +18,9 @@ import QGroundControl.ScreenTools 1.0
...
@@ -18,9 +18,9 @@ import QGroundControl.ScreenTools 1.0
QGCButton
{
QGCButton
{
property
string
name
:
""
property
string
name
:
""
property
int
group
:
0
property
int
group
:
0
property
string
default
t
ext
:
qsTr
(
"
Not checked yet
"
)
property
string
default
T
ext
:
qsTr
(
"
Not checked yet
"
)
property
string
pending
t
ext
:
""
property
string
pending
T
ext
:
""
property
string
failure
t
ext
:
qsTr
(
"
Failure. Check console.
"
)
property
string
failure
T
ext
:
qsTr
(
"
Failure. Check console.
"
)
property
int
state
:
stateNotChecked
property
int
state
:
stateNotChecked
readonly
property
int
stateNotChecked
:
0
readonly
property
int
stateNotChecked
:
0
...
@@ -31,7 +31,7 @@ QGCButton {
...
@@ -31,7 +31,7 @@ QGCButton {
property
var
_color
:
qgcPal
.
button
property
var
_color
:
qgcPal
.
button
property
int
_nrClicked
:
0
property
int
_nrClicked
:
0
property
string
_text
:
name
+
"
:
"
+
default
t
ext
property
string
_text
:
name
+
"
:
"
+
default
T
ext
property
var
_activeVehicle
:
QGroundControl
.
multiVehicleManager
.
activeVehicle
property
var
_activeVehicle
:
QGroundControl
.
multiVehicleManager
.
activeVehicle
enabled
:
(
!
_activeVehicle
||
_activeVehicle
.
connectionLost
)
?
false
:
preFlightCheckList
.
_checkState
>=
group
enabled
:
(
!
_activeVehicle
||
_activeVehicle
.
connectionLost
)
?
false
:
preFlightCheckList
.
_checkState
>=
group
...
@@ -48,8 +48,8 @@ QGCButton {
...
@@ -48,8 +48,8 @@ QGCButton {
}
}
}
}
onPending
t
extChanged
:
{
if
(
state
===
statePending
)
{
getTextFromState
();
getColorFromState
();
}
}
onPending
T
extChanged
:
{
if
(
state
===
statePending
)
{
getTextFromState
();
getColorFromState
();
}
}
onFailure
t
extChanged
:
{
if
(
state
===
stateMajorIssue
)
{
getTextFromState
();
getColorFromState
();
}
}
onFailure
T
extChanged
:
{
if
(
state
===
stateMajorIssue
)
{
getTextFromState
();
getColorFromState
();
}
}
onStateChanged
:
{
getTextFromState
();
getColorFromState
();
}
onStateChanged
:
{
getTextFromState
();
getColorFromState
();
}
onClicked
:
{
onClicked
:
{
if
(
state
<=
statePending
)
{
if
(
state
<=
statePending
)
{
...
@@ -60,12 +60,12 @@ QGCButton {
...
@@ -60,12 +60,12 @@ QGCButton {
function
updateItem
()
{
function
updateItem
()
{
// This is the default updateFunction. It assumes the item is a MANUAL check list item, i.e. one that
// This is the default updateFunction. It assumes the item is a MANUAL check list item, i.e. one that
// only requires user clicks (one click if pending
t
ext="", two clicks otherwise) for completion.
// only requires user clicks (one click if pending
T
ext="", two clicks otherwise) for completion.
if
(
_nrClicked
===
0
)
{
if
(
_nrClicked
===
0
)
{
state
=
stateNotChecked
state
=
stateNotChecked
}
else
if
(
_nrClicked
===
1
)
{
}
else
if
(
_nrClicked
===
1
)
{
if
(
pending
t
ext
.
length
===
0
)
{
if
(
pending
T
ext
.
length
===
0
)
{
state
=
statePassed
state
=
statePassed
}
else
{
}
else
{
state
=
statePending
state
=
statePending
...
@@ -80,13 +80,13 @@ QGCButton {
...
@@ -80,13 +80,13 @@ QGCButton {
function
getTextFromState
()
{
function
getTextFromState
()
{
if
(
state
===
stateNotChecked
)
{
if
(
state
===
stateNotChecked
)
{
_text
=
qsTr
(
name
)
+
"
:
"
+
qsTr
(
default
t
ext
)
_text
=
qsTr
(
name
)
+
"
:
"
+
qsTr
(
default
T
ext
)
}
else
if
(
state
===
statePending
)
{
}
else
if
(
state
===
statePending
)
{
_text
=
"
<b>
"
+
qsTr
(
name
)
+
"
</b>
"
+
"
:
"
+
pending
t
ext
_text
=
"
<b>
"
+
qsTr
(
name
)
+
"
</b>
"
+
"
:
"
+
pending
T
ext
}
else
if
(
state
===
stateMinorIssue
)
{
}
else
if
(
state
===
stateMinorIssue
)
{
_text
=
"
<b>
"
+
qsTr
(
name
)
+
"
</b>
"
+
"
:
"
+
qsTr
(
"
Minor problem
"
)
_text
=
"
<b>
"
+
qsTr
(
name
)
+
"
</b>
"
+
"
:
"
+
qsTr
(
"
Minor problem
"
)
}
else
if
(
state
===
stateMajorIssue
)
{
}
else
if
(
state
===
stateMajorIssue
)
{
_text
=
"
<b>
"
+
qsTr
(
name
)
+
"
</b>
"
+
"
:
"
+
failure
t
ext
_text
=
"
<b>
"
+
qsTr
(
name
)
+
"
</b>
"
+
"
:
"
+
failure
T
ext
}
else
if
(
state
===
statePassed
)
{
}
else
if
(
state
===
statePassed
)
{
_text
=
"
<b>
"
+
qsTr
(
name
)
+
"
</b>
"
+
"
:
"
+
qsTr
(
"
OK
"
)
_text
=
"
<b>
"
+
qsTr
(
name
)
+
"
</b>
"
+
"
:
"
+
qsTr
(
"
OK
"
)
}
else
{
}
else
{
...
...
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