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
90894ad5
Commit
90894ad5
authored
Mar 05, 2014
by
Don Gagne
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #566 from DonLakeFlyer/MoreConnect
More failed QObject::connect calls
parents
02352b14
816ed1c7
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
54 deletions
+23
-54
MainWindow.cc
src/ui/MainWindow.cc
+0
-21
MainWindow.h
src/ui/MainWindow.h
+22
-25
FlightModeConfig.cc
src/ui/configuration/FlightModeConfig.cc
+0
-2
QGCToolWidget.h
src/ui/designer/QGCToolWidget.h
+1
-1
Linecharts.cc
src/ui/linechart/Linecharts.cc
+0
-2
UASView.cc
src/ui/uas/UASView.cc
+0
-3
No files found.
src/ui/MainWindow.cc
View file @
90894ad5
...
...
@@ -2045,27 +2045,6 @@ void MainWindow::loadMAVLinkView()
}
}
//void MainWindow::loadDataView(QString fileName)
//{
// // Plot is now selected, now load data from file
// if (dataView)
// {
// //dataView->setCentralWidget(new QGCDataPlot2D(this));
// QGCDataPlot2D *plot = qobject_cast<QGCDataPlot2D*>(dataView->centralWidget());
// if (plot)
// {
// plot->loadFile(fileName);
// }
// }
// /*QStackedWidget *centerStack = dynamic_cast<QStackedWidget*>(centralWidget());
// if (centerStack)
// {
// centerStack->setCurrentWidget(dataView);
// dataplotWidget->loadFile(fileName);
// }*/
//}
QList
<
QAction
*>
MainWindow
::
listLinkMenuActions
()
{
return
ui
.
menuNetwork
->
actions
();
...
...
src/ui/MainWindow.h
View file @
90894ad5
...
...
@@ -281,9 +281,6 @@ public slots:
void
closeEvent
(
QCloseEvent
*
event
);
/** @brief Load data view, allowing to plot flight data */
// void loadDataView(QString fileName);
/**
* @brief Shows a Widget from the center stack based on the action sender
*
...
...
src/ui/configuration/FlightModeConfig.cc
View file @
90894ad5
...
...
@@ -216,12 +216,10 @@ void FlightModeConfig::saveButtonClicked(void)
// rc channel value.
void
FlightModeConfig
::
remoteControlChannelRawChanged
(
int
chan
,
float
val
)
{
qDebug
()
<<
chan
<<
val
<<
_modeSwitchRCChannel
;
// Until we get the _modeSwitchRCChannel value from a parameter it will be set
// to -1, which is an invalid channel thus the labels won't update
if
(
chan
==
_modeSwitchRCChannel
)
{
qDebug
()
<<
chan
<<
val
;
size_t
highlightIndex
=
_cModes
;
// initialize to unreachable index
for
(
size_t
i
=
0
;
i
<
_cModes
;
i
++
)
{
...
...
src/ui/designer/QGCToolWidget.h
View file @
90894ad5
...
...
@@ -48,6 +48,7 @@ public slots:
void
importWidget
();
/** @brief Store all widgets of this type to QSettings */
void
storeWidgetsToSettings
()
{
QSettings
settings
;
QGCToolWidget
::
storeWidgetsToSettings
(
settings
);
}
void
showLabel
(
QString
name
,
int
num
);
public:
void
loadSettings
(
QVariantMap
&
settings
);
...
...
@@ -61,7 +62,6 @@ public:
QList
<
QString
>
getParamList
();
void
setParameterValue
(
int
uas
,
int
component
,
QString
parameterName
,
const
QVariant
value
);
bool
fromMetaData
()
const
{
return
isFromMetaData
;
}
void
showLabel
(
QString
name
,
int
num
);
signals:
void
titleChanged
(
const
QString
&
title
);
...
...
src/ui/linechart/Linecharts.cc
View file @
90894ad5
...
...
@@ -22,8 +22,6 @@ Linecharts::Linecharts(QWidget *parent) :
this
,
SLOT
(
addSystem
(
UASInterface
*
)));
connect
(
UASManager
::
instance
(),
SIGNAL
(
activeUASSet
(
int
)),
this
,
SLOT
(
selectSystem
(
int
)));
connect
(
this
,
SIGNAL
(
logfileWritten
(
QString
)),
MainWindow
::
instance
(),
SLOT
(
loadDataView
(
QString
)));
}
void
Linecharts
::
showEvent
(
QShowEvent
*
event
)
...
...
src/ui/uas/UASView.cc
View file @
90894ad5
...
...
@@ -105,9 +105,6 @@ UASView::UASView(UASInterface* uas, QWidget *parent) :
connect
(
uas
,
SIGNAL
(
textMessageReceived
(
int
,
int
,
int
,
QString
)),
this
,
SLOT
(
showStatusText
(
int
,
int
,
int
,
QString
)));
connect
(
uas
,
SIGNAL
(
navModeChanged
(
int
,
int
,
QString
)),
this
,
SLOT
(
updateNavMode
(
int
,
int
,
QString
)));
// Setup UAS selection
connect
(
this
,
SIGNAL
(
clicked
(
bool
)),
this
,
SLOT
(
setUASasActive
(
bool
)));
// Setup user interaction
connect
(
m_ui
->
liftoffButton
,
SIGNAL
(
clicked
()),
uas
,
SLOT
(
launch
()));
connect
(
m_ui
->
haltButton
,
SIGNAL
(
clicked
()),
uas
,
SLOT
(
halt
()));
...
...
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