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
1b813145
Commit
1b813145
authored
Feb 03, 2015
by
dogmaphobic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More work on filter description consistency.
parent
e3136fc4
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
9 deletions
+9
-9
QGCApplication.cc
src/QGCApplication.cc
+1
-1
MainWindow.cc
src/ui/MainWindow.cc
+1
-1
QGCBaseParamWidget.cc
src/ui/QGCBaseParamWidget.cc
+1
-1
QGCDataPlot2D.cc
src/ui/QGCDataPlot2D.cc
+3
-3
QGCMAVLinkLogPlayer.cc
src/ui/QGCMAVLinkLogPlayer.cc
+1
-1
QGCToolWidget.cc
src/ui/designer/QGCToolWidget.cc
+1
-1
LinechartWidget.cc
src/ui/linechart/LinechartWidget.cc
+1
-1
No files found.
src/QGCApplication.cc
View file @
1b813145
...
...
@@ -480,7 +480,7 @@ void QGCApplication::saveTempFlightDataLogOnMainThread(QString tempLogfile)
MainWindow
::
instance
(),
tr
(
"Save Flight Data Log"
),
qgcApp
()
->
mavlinkLogFilesLocation
(),
tr
(
"Flight Data Log (*.mavlink)"
),
tr
(
"Flight Data Log
Files
(*.mavlink)"
),
"mavlink"
);
if
(
!
saveFilename
.
isEmpty
())
{
QFile
::
copy
(
tempLogfile
,
saveFilename
);
...
...
src/ui/MainWindow.cc
View file @
1b813145
...
...
@@ -766,7 +766,7 @@ void MainWindow::_loadCustomWidgetFromFile(void)
QString
fileName
=
QGCFileDialog
::
getOpenFileName
(
this
,
tr
(
"Load Widget File"
),
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DesktopLocation
),
tr
(
"QGroundControl Widget (*.qgw);;All Files (*)"
));
tr
(
"QGroundControl Widget
s
(*.qgw);;All Files (*)"
));
if
(
!
fileName
.
isEmpty
())
{
QGCToolWidget
*
tool
=
new
QGCToolWidget
(
""
,
""
,
this
);
if
(
tool
->
loadSettings
(
fileName
,
true
))
{
...
...
src/ui/QGCBaseParamWidget.cc
View file @
1b813145
...
...
@@ -126,7 +126,7 @@ void QGCBaseParamWidget::loadParametersFromFile()
return
;
QString
fileName
=
QGCFileDialog
::
getOpenFileName
(
this
,
tr
(
"Load Parameters"
),
qgcApp
()
->
savedParameterFilesLocation
(),
tr
(
"Parameter
f
iles (*.params);;All Files (*)"
));
tr
(
"Parameter
F
iles (*.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 @
1b813145
...
...
@@ -269,11 +269,11 @@ void QGCDataPlot2D::selectFile()
// Open a file dialog prompting the user for the file to load.
// Note the special case for the Pixhawk.
if
(
ui
->
inputFileType
->
currentText
().
contains
(
"pxIMU"
)
||
ui
->
inputFileType
->
currentText
().
contains
(
"RAW"
))
{
fileName
=
QGCFileDialog
::
getOpenFileName
(
this
,
tr
(
"Load Log File"
),
QString
(),
"Log
f
iles (*.imu *.raw)"
);
fileName
=
QGCFileDialog
::
getOpenFileName
(
this
,
tr
(
"Load Log File"
),
QString
(),
"Log
F
iles (*.imu *.raw)"
);
}
else
{
fileName
=
QGCFileDialog
::
getOpenFileName
(
this
,
tr
(
"Load Log File"
),
QString
(),
"Log
f
iles (*.csv);;All Files (*)"
);
fileName
=
QGCFileDialog
::
getOpenFileName
(
this
,
tr
(
"Load Log File"
),
QString
(),
"Log
F
iles (*.csv);;All Files (*)"
);
}
// Check if the user hit cancel, which results in an empty string.
...
...
@@ -699,7 +699,7 @@ void QGCDataPlot2D::saveCsvLog()
{
QString
fileName
=
QGCFileDialog
::
getSaveFileName
(
this
,
"Save CSV Log File"
,
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DesktopLocation
),
"CSV
f
iles (*.csv)"
,
"CSV
F
iles (*.csv)"
,
"csv"
,
true
);
...
...
src/ui/QGCMAVLinkLogPlayer.cc
View file @
1b813145
...
...
@@ -266,7 +266,7 @@ void QGCMAVLinkLogPlayer::_selectLogFileForPlayback(void)
this
,
tr
(
"Load MAVLink Log File"
),
qgcApp
()
->
mavlinkLogFilesLocation
(),
tr
(
"MAVLink
or Binary Log Files (*.mavlink *.bin *.log
);;All Files (*)"
));
tr
(
"MAVLink
Log Files (*.mavlink
);;All Files (*)"
));
if
(
!
logFile
.
isEmpty
())
{
loadLogFile
(
logFile
);
...
...
src/ui/designer/QGCToolWidget.cc
View file @
1b813145
...
...
@@ -589,7 +589,7 @@ void QGCToolWidget::importWidget()
{
QString
fileName
=
QGCFileDialog
::
getOpenFileName
(
this
,
tr
(
"Load Widget File"
),
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DesktopLocation
),
tr
(
"QGroundControl Widget
File
s (*.qgw);;All Files (*)"
));
tr
(
"QGroundControl Widgets (*.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 @
1b813145
...
...
@@ -447,7 +447,7 @@ void LinechartWidget::startLogging()
QString
fileName
=
QGCFileDialog
::
getSaveFileName
(
this
,
tr
(
"Save Log File"
),
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DesktopLocation
),
tr
(
"Log
f
iles (*.log)"
),
tr
(
"Log
F
iles (*.log)"
),
"log"
,
// Default type
true
);
// Enforce default type
...
...
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