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
e3136fc4
Commit
e3136fc4
authored
Feb 03, 2015
by
dogmaphobic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing grammar in file filters (and making them consistent).
parent
53751dfe
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
10 deletions
+10
-10
QGCBaseParamWidget.cc
src/ui/QGCBaseParamWidget.cc
+2
-2
QGCDataPlot2D.cc
src/ui/QGCDataPlot2D.cc
+1
-1
QGCMAVLinkLogPlayer.cc
src/ui/QGCMAVLinkLogPlayer.cc
+1
-1
WaypointList.cc
src/ui/WaypointList.cc
+2
-2
QGCToolWidget.cc
src/ui/designer/QGCToolWidget.cc
+2
-2
LinechartWidget.cc
src/ui/linechart/LinechartWidget.cc
+1
-1
Pixhawk3DWidget.cc
src/ui/map3D/Pixhawk3DWidget.cc
+1
-1
No files found.
src/ui/QGCBaseParamWidget.cc
View file @
e3136fc4
...
...
@@ -106,7 +106,7 @@ void QGCBaseParamWidget::saveParametersToFile()
if
(
!
mav
)
return
;
QString
fileName
=
QGCFileDialog
::
getSaveFileName
(
this
,
tr
(
"Save Parameters"
),
qgcApp
()
->
savedParameterFilesLocation
(),
tr
(
"Parameter File (*.params)"
),
"params"
,
true
);
this
,
tr
(
"Save Parameters"
),
qgcApp
()
->
savedParameterFilesLocation
(),
tr
(
"Parameter File
s
(*.params)"
),
"params"
,
true
);
if
(
!
fileName
.
isEmpty
())
{
QFile
file
(
fileName
);
// TODO Display error message to the user if the file can't be created
...
...
@@ -126,7 +126,7 @@ void QGCBaseParamWidget::loadParametersFromFile()
return
;
QString
fileName
=
QGCFileDialog
::
getOpenFileName
(
this
,
tr
(
"Load Parameters"
),
qgcApp
()
->
savedParameterFilesLocation
(),
tr
(
"Parameter file (*.params);;All Files (*)"
));
tr
(
"Parameter file
s
(*.params);;All Files (*)"
));
QFile
file
(
fileName
);
// TODO Display error message to the user if the file can't be opened
if
(
!
file
.
open
(
QIODevice
::
ReadOnly
|
QIODevice
::
Text
))
{
...
...
src/ui/QGCDataPlot2D.cc
View file @
e3136fc4
...
...
@@ -699,7 +699,7 @@ void QGCDataPlot2D::saveCsvLog()
{
QString
fileName
=
QGCFileDialog
::
getSaveFileName
(
this
,
"Save CSV Log File"
,
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DesktopLocation
),
"CSV file (*.csv)"
,
"CSV file
s
(*.csv)"
,
"csv"
,
true
);
...
...
src/ui/QGCMAVLinkLogPlayer.cc
View file @
e3136fc4
...
...
@@ -266,7 +266,7 @@ void QGCMAVLinkLogPlayer::_selectLogFileForPlayback(void)
this
,
tr
(
"Load MAVLink Log File"
),
qgcApp
()
->
mavlinkLogFilesLocation
(),
tr
(
"MAVLink or Binary Log
file
(*.mavlink *.bin *.log);;All Files (*)"
));
tr
(
"MAVLink or Binary Log
Files
(*.mavlink *.bin *.log);;All Files (*)"
));
if
(
!
logFile
.
isEmpty
())
{
loadLogFile
(
logFile
);
...
...
src/ui/WaypointList.cc
View file @
e3136fc4
...
...
@@ -218,14 +218,14 @@ void WaypointList::setUAS(UASInterface* uas)
void
WaypointList
::
saveWaypoints
()
{
// TODO Need better default directory
QString
fileName
=
QGCFileDialog
::
getSaveFileName
(
this
,
tr
(
"Save Waypoint File"
),
"./untitled.waypoints"
,
tr
(
"Waypoint File (*.waypoints)"
),
"waypoints"
,
true
);
QString
fileName
=
QGCFileDialog
::
getSaveFileName
(
this
,
tr
(
"Save Waypoint File"
),
"./untitled.waypoints"
,
tr
(
"Waypoint File
s
(*.waypoints)"
),
"waypoints"
,
true
);
WPM
->
saveWaypoints
(
fileName
);
}
void
WaypointList
::
loadWaypoints
()
{
// TODO Need better default directory
QString
fileName
=
QGCFileDialog
::
getOpenFileName
(
this
,
tr
(
"Load Waypoint File"
),
"."
,
tr
(
"Waypoint File (*.waypoints);;All Files (*)"
));
QString
fileName
=
QGCFileDialog
::
getOpenFileName
(
this
,
tr
(
"Load Waypoint File"
),
"."
,
tr
(
"Waypoint File
s
(*.waypoints);;All Files (*)"
));
WPM
->
loadWaypoints
(
fileName
);
}
...
...
src/ui/designer/QGCToolWidget.cc
View file @
e3136fc4
...
...
@@ -575,7 +575,7 @@ void QGCToolWidget::exportWidget()
QString
fileName
=
QGCFileDialog
::
getSaveFileName
(
this
,
tr
(
"Save Widget File"
),
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DesktopLocation
),
tr
(
"QGroundControl Widget (*.qgw)"
),
tr
(
"QGroundControl Widget
Files
(*.qgw)"
),
"qgw"
,
true
);
//-- Save it if we have it
...
...
@@ -589,7 +589,7 @@ void QGCToolWidget::importWidget()
{
QString
fileName
=
QGCFileDialog
::
getOpenFileName
(
this
,
tr
(
"Load Widget File"
),
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DesktopLocation
),
tr
(
"QGroundControl Widget (*.qgw);;All Files (*)"
));
tr
(
"QGroundControl Widget
Files
(*.qgw);;All Files (*)"
));
if
(
!
fileName
.
isEmpty
())
{
// TODO There is no error checking. If the load fails, there is nothing telling the user what happened.
loadSettings
(
fileName
);
...
...
src/ui/linechart/LinechartWidget.cc
View file @
e3136fc4
...
...
@@ -447,7 +447,7 @@ void LinechartWidget::startLogging()
QString
fileName
=
QGCFileDialog
::
getSaveFileName
(
this
,
tr
(
"Save Log File"
),
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DesktopLocation
),
tr
(
"Log file (*.log)"
),
tr
(
"Log file
s
(*.log)"
),
"log"
,
// Default type
true
);
// Enforce default type
...
...
src/ui/map3D/Pixhawk3DWidget.cc
View file @
e3136fc4
...
...
@@ -590,7 +590,7 @@ Pixhawk3DWidget::loadTerrainModel(void)
QString
filename
=
QGCFileDialog
::
getOpenFileName
(
this
,
"Load Terrain Model"
,
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DesktopLocation
),
tr
(
"Collada (*.dae)"
));
tr
(
"Collada
Files
(*.dae)"
));
if
(
filename
.
isEmpty
())
{
...
...
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