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
906e4983
Commit
906e4983
authored
Feb 26, 2017
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated methods
Replaced by new settings capability
parent
fff9c077
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
42 deletions
+18
-42
QGCOptions.h
src/api/QGCOptions.h
+18
-42
No files found.
src/api/QGCOptions.h
View file @
906e4983
...
@@ -26,60 +26,36 @@ public:
...
@@ -26,60 +26,36 @@ public:
Q_PROPERTY
(
bool
combineSettingsAndSetup
READ
combineSettingsAndSetup
CONSTANT
)
Q_PROPERTY
(
bool
combineSettingsAndSetup
READ
combineSettingsAndSetup
CONSTANT
)
Q_PROPERTY
(
bool
enableVirtualJoystick
READ
enableVirtualJoystick
CONSTANT
)
Q_PROPERTY
(
bool
enableVirtualJoystick
READ
enableVirtualJoystick
CONSTANT
)
Q_PROPERTY
(
bool
definesVideo
READ
definesVideo
CONSTANT
)
Q_PROPERTY
(
uint16_t
videoUDPPort
READ
videoUDPPort
CONSTANT
)
Q_PROPERTY
(
QString
videoRSTPUrl
READ
videoRSTPUrl
CONSTANT
)
Q_PROPERTY
(
double
toolbarHeightMultiplier
READ
toolbarHeightMultiplier
CONSTANT
)
Q_PROPERTY
(
double
toolbarHeightMultiplier
READ
toolbarHeightMultiplier
CONSTANT
)
Q_PROPERTY
(
double
defaultFontPointSize
READ
defaultFontPointSize
CONSTANT
)
Q_PROPERTY
(
double
defaultFontPointSize
READ
defaultFontPointSize
CONSTANT
)
Q_PROPERTY
(
bool
enablePlanViewSelector
READ
enablePlanViewSelector
CONSTANT
)
Q_PROPERTY
(
bool
enablePlanViewSelector
READ
enablePlanViewSelector
CONSTANT
)
Q_PROPERTY
(
CustomInstrumentWidget
*
instrumentWidget
READ
instrumentWidget
CONSTANT
)
Q_PROPERTY
(
CustomInstrumentWidget
*
instrumentWidget
READ
instrumentWidget
CONSTANT
)
//! Should QGC hide its settings menu and colapse it into one single menu (Settings and Vehicle Setup)?
/// Should QGC hide its settings menu and colapse it into one single menu (Settings and Vehicle Setup)?
/*!
/// @return true if QGC should consolidate both menus into one.
@return true if QGC should consolidate both menus into one.
*/
virtual
bool
combineSettingsAndSetup
()
{
return
false
;
}
virtual
bool
combineSettingsAndSetup
()
{
return
false
;
}
//! Should QGC use virtual Joysticks?
/*!
/// Should QGC use virtual Joysticks?
@return false to disable Virtual Joysticks.
/// @return false to disable Virtual Joysticks.
*/
virtual
bool
enableVirtualJoystick
()
{
return
true
;
}
virtual
bool
enableVirtualJoystick
()
{
return
true
;
}
//! Does your plugin defines its on video source?
/*!
/// Main ToolBar Multiplier.
@return true to define your own video source.
/// @return Factor to use when computing toolbar height
*/
virtual
bool
definesVideo
()
{
return
false
;
}
//! UDP port to use for (RTP) video source.
/*!
@return UDP Port to use. Return 0 to disable UDP RTP.
*/
virtual
uint16_t
videoUDPPort
()
{
return
0
;
}
//! RTSP URL to use for video source.
/*!
@return RTSP url to use. Return "" to disable RTSP.
*/
virtual
QString
videoRSTPUrl
()
{
return
QString
();
}
//! Main ToolBar Multiplier.
/*!
@return Factor to use when computing toolbar height
*/
virtual
double
toolbarHeightMultiplier
()
{
return
1
.
0
;
}
virtual
double
toolbarHeightMultiplier
()
{
return
1
.
0
;
}
//! Application wide default font point size
/*!
/// Application wide default font point size
@return Font size or 0.0 to use computed size.
/// @return Font size or 0.0 to use computed size.
*/
virtual
double
defaultFontPointSize
()
{
return
0
.
0
;
}
virtual
double
defaultFontPointSize
()
{
return
0
.
0
;
}
//! Enable Plan View Selector (Mission, Fence or Rally)
/*!
/// Enable Plan View Selector (Mission, Fence or Rally)
@return True or false
/// @return True or false
*/
virtual
bool
enablePlanViewSelector
()
{
return
true
;
}
virtual
bool
enablePlanViewSelector
()
{
return
true
;
}
//! Provides an alternate instrument widget for the Fly View
/*!
/// Provides an alternate instrument widget for the Fly View
@return An alternate widget (see QGCInstrumentWidget.qml, the default widget)
/// @return An alternate widget (see QGCInstrumentWidget.qml, the default widget)
*/
virtual
CustomInstrumentWidget
*
instrumentWidget
();
virtual
CustomInstrumentWidget
*
instrumentWidget
();
private:
private:
CustomInstrumentWidget
*
_defaultInstrumentWidget
;
CustomInstrumentWidget
*
_defaultInstrumentWidget
;
};
};
...
...
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