#include <BaseDiagram.hxx>
Inherits QQuickPaintedItem.
Inherited by AirportDiagram, CarrierDiagram, NavaidDiagram, and RouteDiagram.
|
| static void | extendRect (QRectF &r, const QPointF &p) |
| |
| static QPointF | project (const SGGeod &geod, const SGGeod ¢er) |
| |
| static SGGeod | unproject (const QPointF &xy, const SGGeod ¢er) |
| |
Definition at line 37 of file BaseDiagram.hxx.
◆ IconOption
| Enumerator |
|---|
| NoOptions | |
| SmallIcons | |
| LargeAirportPlans | |
Definition at line 43 of file BaseDiagram.hxx.
◆ BaseDiagram()
| BaseDiagram::BaseDiagram |
( |
QQuickItem * | pr = nullptr | ) |
|
◆ addIgnoredNavaid()
◆ clearIgnoredNavaids()
| void BaseDiagram::clearIgnoredNavaids |
( |
| ) |
|
|
protected |
◆ doComputeBounds()
| void BaseDiagram::doComputeBounds |
( |
| ) |
|
|
protectedvirtual |
◆ extendBounds()
| void BaseDiagram::extendBounds |
( |
const QPointF & | p, |
|
|
double | radiusM = 1.0 ) |
|
protected |
◆ extendRect()
| void BaseDiagram::extendRect |
( |
QRectF & | r, |
|
|
const QPointF & | p ) |
|
staticprotected |
◆ iconForAirport()
| QPixmap BaseDiagram::iconForAirport |
( |
FGAirport * | apt, |
|
|
const IconOptions & | options = NoOptions ) |
|
static |
◆ iconForPositioned()
◆ mouseMoveEvent()
| void BaseDiagram::mouseMoveEvent |
( |
QMouseEvent * | me | ) |
|
|
overrideprotected |
◆ mousePressEvent()
| void BaseDiagram::mousePressEvent |
( |
QMouseEvent * | me | ) |
|
|
overrideprotected |
◆ paint()
| void BaseDiagram::paint |
( |
QPainter * | p | ) |
|
|
overrideprotected |
◆ paintAirplaneIcon()
| void BaseDiagram::paintAirplaneIcon |
( |
QPainter * | painter, |
|
|
const SGGeod & | geod, |
|
|
int | headingDeg ) |
|
protected |
◆ paintAirways()
| void BaseDiagram::paintAirways |
( |
QPainter * | painter, |
|
|
const FGPositionedList & | navs ) |
|
protected |
◆ paintCarrierIcon()
| void BaseDiagram::paintCarrierIcon |
( |
QPainter * | painter, |
|
|
const SGGeod & | geod, |
|
|
int | headingDeg ) |
|
protected |
◆ paintContents()
| void BaseDiagram::paintContents |
( |
QPainter * | painter | ) |
|
|
protectedvirtual |
◆ project() [1/2]
| QPointF BaseDiagram::project |
( |
const SGGeod & | geod | ) |
const |
|
protected |
◆ project() [2/2]
| QPointF BaseDiagram::project |
( |
const SGGeod & | geod, |
|
|
const SGGeod & | center ) |
|
staticprotected |
◆ projectAirportRuwaysIntoRect()
| QVector< QLineF > BaseDiagram::projectAirportRuwaysIntoRect |
( |
FGAirportRef | apt, |
|
|
const QRectF & | bounds ) |
|
static |
◆ projectAirportRuwaysWithCenter()
| QVector< QLineF > BaseDiagram::projectAirportRuwaysWithCenter |
( |
FGAirportRef | apt, |
|
|
const SGGeod & | c ) |
|
static |
◆ projectedPosition() [1/2]
◆ projectedPosition() [2/2]
| QPointF BaseDiagram::projectedPosition |
( |
PositionedID | pid | ) |
const |
|
protected |
◆ recomputeBounds()
| void BaseDiagram::recomputeBounds |
( |
bool | resetZoom | ) |
|
|
protected |
◆ rect()
| QRect BaseDiagram::rect |
( |
| ) |
const |
◆ resetZoom()
| void BaseDiagram::resetZoom |
( |
| ) |
|
◆ setAircraftType()
◆ transform()
| QTransform BaseDiagram::transform |
( |
| ) |
const |
|
protected |
◆ unproject()
| SGGeod BaseDiagram::unproject |
( |
const QPointF & | xy, |
|
|
const SGGeod & | center ) |
|
staticprotected |
◆ wheelEvent()
| void BaseDiagram::wheelEvent |
( |
QWheelEvent * | we | ) |
|
|
overrideprotected |
◆ m_aircraftType
◆ m_autoScalePan
| bool BaseDiagram::m_autoScalePan |
|
protected |
◆ m_bounds
| QRectF BaseDiagram::m_bounds |
|
protected |
◆ m_didPan
| bool BaseDiagram::m_didPan |
|
protected |
◆ m_lastMousePos
| QPointF BaseDiagram::m_lastMousePos |
|
protected |
◆ m_panOffset
| QPointF BaseDiagram::m_panOffset |
|
protected |
◆ m_projectionCenter
| SGGeod BaseDiagram::m_projectionCenter |
|
protected |
◆ m_scale
| double BaseDiagram::m_scale |
|
protected |
◆ m_wheelAngleDeltaAccumulator
| int BaseDiagram::m_wheelAngleDeltaAccumulator |
|
protected |
The documentation for this class was generated from the following files: