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
be3d933b
Commit
be3d933b
authored
Nov 21, 2014
by
Don Gagne
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #987 from DonLakeFlyer/BugFixes
Bug fixes
parents
76e4cf9d
4768c933
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
30 deletions
+11
-30
style-light.css
files/styles/style-light.css
+5
-0
MockUASManager.h
src/qgcunittest/MockUASManager.h
+0
-1
UASManager.cc
src/uas/UASManager.cc
+0
-8
UASManager.h
src/uas/UASManager.h
+0
-7
UASManagerInterface.h
src/uas/UASManagerInterface.h
+0
-1
MainWindow.cc
src/ui/MainWindow.cc
+0
-1
MainWindow.ui
src/ui/MainWindow.ui
+6
-12
No files found.
files/styles/style-light.css
View file @
be3d933b
...
...
@@ -309,6 +309,11 @@ QPushButton#flightModeMenuButton, QPushButton#safetyConfigButton {
background-color
:
qlineargradient
(
x1
:
0
,
y1
:
0
,
x2
:
0
,
y2
:
1
,
stop
:
0
#BBB
,
stop
:
1
#777
);
}
VehicleSetupButton
,
VehicleComponentButton
{
background-color
:
qlineargradient
(
x1
:
0
,
y1
:
0
,
x2
:
0
,
y2
:
1
,
stop
:
0
#BBB
,
stop
:
1
#777
);
border-color
:
#465158
;
}
QPushButton
#planePushButton
,
QPushButton
#flyingWingPushButton
,
QPushButton
#quadXPushButton
,
QPushButton
#quadPlusPushButton
,
QPushButton
#hexaXPushButton
,
QPushButton
#hexaPlusPushButton
,
QPushButton
#octoXPushButton
,
QPushButton
#octoPlusPushButton
,
QPushButton
#hPushButton
{
...
...
src/qgcunittest/MockUASManager.h
View file @
be3d933b
...
...
@@ -93,7 +93,6 @@ public slots:
virtual
bool
returnActiveUAS
()
{
Q_ASSERT
(
false
);
return
false
;
}
virtual
bool
stopActiveUAS
()
{
Q_ASSERT
(
false
);
return
false
;
}
virtual
bool
killActiveUAS
()
{
Q_ASSERT
(
false
);
return
false
;
}
virtual
void
configureActiveUAS
()
{
Q_ASSERT
(
false
);
}
virtual
bool
shutdownActiveUAS
()
{
Q_ASSERT
(
false
);
return
false
;
}
virtual
bool
setHomePosition
(
double
lat
,
double
lon
,
double
alt
)
{
Q_ASSERT
(
false
);
Q_UNUSED
(
lat
);
Q_UNUSED
(
lon
);
Q_UNUSED
(
alt
);
return
false
;
}
...
...
src/uas/UASManager.cc
View file @
be3d933b
...
...
@@ -436,14 +436,6 @@ bool UASManager::shutdownActiveUAS()
return
(
activeUAS
);
}
void
UASManager
::
configureActiveUAS
()
{
UASInterface
*
actUAS
=
getActiveUAS
();
if
(
actUAS
)
{
// Do something
}
}
UASInterface
*
UASManager
::
getUASForId
(
int
id
)
{
UASInterface
*
system
=
NULL
;
...
...
src/uas/UASManager.h
View file @
be3d933b
...
...
@@ -227,13 +227,6 @@ public slots:
*/
bool
killActiveUAS
();
/**
* @brief Configure the currently active UAS
*
* This command will bring up the configuration dialog for the particular UAS.
*/
void
configureActiveUAS
();
/** @brief Shut down the onboard operating system down */
bool
shutdownActiveUAS
();
...
...
src/uas/UASManagerInterface.h
View file @
be3d933b
...
...
@@ -82,7 +82,6 @@ public slots:
virtual
bool
returnActiveUAS
()
=
0
;
virtual
bool
stopActiveUAS
()
=
0
;
virtual
bool
killActiveUAS
()
=
0
;
virtual
void
configureActiveUAS
()
=
0
;
virtual
bool
shutdownActiveUAS
()
=
0
;
virtual
bool
setHomePosition
(
double
lat
,
double
lon
,
double
alt
)
=
0
;
virtual
bool
setHomePositionAndNotify
(
double
lat
,
double
lon
,
double
alt
)
=
0
;
...
...
src/ui/MainWindow.cc
View file @
be3d933b
...
...
@@ -1237,7 +1237,6 @@ void MainWindow::connectCommonActions()
connect
(
ui
.
actionEmergency_Land
,
SIGNAL
(
triggered
()),
UASManager
::
instance
(),
SLOT
(
stopActiveUAS
()));
connect
(
ui
.
actionEmergency_Kill
,
SIGNAL
(
triggered
()),
UASManager
::
instance
(),
SLOT
(
killActiveUAS
()));
connect
(
ui
.
actionShutdownMAV
,
SIGNAL
(
triggered
()),
UASManager
::
instance
(),
SLOT
(
shutdownActiveUAS
()));
connect
(
ui
.
actionConfiguration
,
SIGNAL
(
triggered
()),
UASManager
::
instance
(),
SLOT
(
configureActiveUAS
()));
// Views actions
connect
(
ui
.
actionFlightView
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
loadPilotView
()));
...
...
src/ui/MainWindow.ui
View file @
be3d933b
...
...
@@ -181,18 +181,6 @@
<string>
Add Link
</string>
</property>
</action>
<action
name=
"actionConfiguration"
>
<property
name=
"icon"
>
<iconset
resource=
"../../qgroundcontrol.qrc"
>
<normaloff>
:/files/images/categories/applications-system.svg
</normaloff>
:/files/images/categories/applications-system.svg
</iconset>
</property>
<property
name=
"text"
>
<string>
Preferences
</string>
</property>
<property
name=
"toolTip"
>
<string>
Open UAS Preferences
</string>
</property>
</action>
<action
name=
"actionJoystickSettings"
>
<property
name=
"icon"
>
<iconset
resource=
"../../qgroundcontrol.qrc"
>
...
...
@@ -375,6 +363,9 @@
<property
name=
"toolTip"
>
<string>
Application settings
</string>
</property>
<property
name=
"menuRole"
>
<enum>
QAction::PreferencesRole
</enum>
</property>
</action>
<action
name=
"actionFullscreen"
>
<property
name=
"checkable"
>
...
...
@@ -442,6 +433,9 @@
<property
name=
"toolTip"
>
<string>
Setup of the vehicle
</string>
</property>
<property
name=
"menuRole"
>
<enum>
QAction::NoRole
</enum>
</property>
</action>
<action
name=
"actionAdvanced_Mode"
>
<property
name=
"checkable"
>
...
...
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