![]() |
API Documentation
|
A simple widget for showing an AerialImage or top down view rendered with a service like google earth A loading screen appears as images are loaded in. More...
#include <AerialImageView.h>
Public Types | |
| enum | FetchReturn { e_success , e_invalid_size , e_could_not_fetch , e_no_preview , e_cache_change } |
Public Types inherited from QCustomStackedWidgetBase | |
| enum | StackAnimationDirection { e_left_to_right , e_right_to_left , e_top_to_bottom , e_bottom_to_top , e_automatic } |
Signals | |
| void | onImageLoadedSignal (FetchReturn success) |
| void | onUserModifiedSignal () |
Signals inherited from QCustomStackedWidgetBase | |
| void | animationFinished () |
Public Member Functions | |
| AerialImageMode | aerialImageMode () const |
| AerialImageView (QWidget *parent=nullptr) | |
| Bounds< 2, fltp08 > | drawBoundsWGS84 () const |
| bool | isLoaded () const |
| bool | previewBoundsTolerable (QSize size) const |
| void | resizeEvent (QResizeEvent *event) override |
| void | setAerialImageMode (AerialImageMode mode) |
| void | setCoordinateSpace (const UUID &id) |
| void | setDrawBounds (const Bounds< 3, fltp08 > &draw_bounds) |
| void | setLocalBounds (const Bounds< 3, fltp08 > &bounds) |
| void | setToNoPreview () |
| virtual void | showEvent (QShowEvent *event) override |
| void | updateAerialImage () |
Public Member Functions inherited from QCustomStackedWidget | |
| uint04 | activeIndex () const |
| QWidget * | activeWidget () const |
| virtual uint04 | addWidget (QWidget *w) override |
| uint04 | count () const |
| uint04 | currentIndex () const |
| QWidget * | currentWidget () const |
| bool | hasWidget (QWidget *widget) const |
| uint04 | indexOf (QWidget *widget) const |
| QCustomStackedWidget (QWidget *parent=nullptr) | |
| void | removeWidget (QWidget *widget) |
| void | setCurrentIndex (uint04 idx) |
| void | slideInAnimation (enum StackAnimationDirection direction=e_automatic, bool cache_in_image=false) override |
| void | slideInAnimation (PopupInfo origin_rect, enum StackAnimationDirection direction=e_automatic, bool cache_in_image=false) override |
| void | slideInIdx (uint04 idx, enum StackAnimationDirection direction) override |
| void | slideInIdx (uint04 idx, int delay_time=0, enum StackAnimationDirection direction=e_automatic) override |
| void | slideInIdx (uint04 idx, PopupInfo origin_rect, int delay_time=0, enum StackAnimationDirection direction=e_automatic) override |
| virtual void | slideInNext () override |
| virtual void | slideInPrev () override |
| void | slideInWgt (QWidget *widget, enum StackAnimationDirection direction=e_automatic, bool force_slide=false) override |
Public Member Functions inherited from QCustomStackedWidgetBase | |
| void | setAnimation (enum QEasingCurve::Type animationtype) |
| void | setCustomPixmap (QPixmap *pixmap) |
| void | setSpeed (int speed) |
| void | setVerticalMode (bool vertical=true) |
| void | setWrap (bool wrap) |
Protected Slots | |
| void | showContextMenu (const QPoint &pos) |
Protected Slots inherited from QCustomStackedWidgetBase | |
| void | animationDoneSlot () |
| void | childDestroyedSlot (QObject *widget) |
Protected Member Functions | |
| FetchReturn | updatePreviewImageFromThread () |
Protected Member Functions inherited from QCustomStackedWidgetBase | |
| uint04 | activeIndex () const |
| QWidget * | activeWidget () const |
| double | animationPercent () const |
| uint04 | count () const |
| uint04 | currentIndex () const |
| QWidget * | currentWidget () const |
| bool | eventFilter (QObject *object, QEvent *event) override |
| uint04 | indexOf (QWidget *widget) const |
| void | insertWidget (uint04 index, QWidget *w) |
| QSize | minimumSizeHint () const override |
| virtual void | moveContent (uint04 from, uint04 to) |
| void | paintEvent (QPaintEvent *) override |
| QCustomStackedWidgetBase (QWidget *parent=nullptr) | |
| void | removeWidget (QWidget *widget) |
| void | removeWidget (QWidget *widget, QWidget *slide_to_if_active) |
| void | resizeEvent (QResizeEvent *event) override |
| void | setAnimationPercent (double animation_percent) |
| virtual void | setCurrentIdx (uint04 current_index) |
| void | showEvent (QShowEvent *event) override |
| QSize | sizeHint () const override |
| virtual void | swapIndices (uint04 a, uint04 b) |
| QWidget * | widget (uint04 index) const |
| virtual | ~QCustomStackedWidgetBase () |
Protected Attributes | |
| ProgressWidget * | m_download_progress |
| Bounds< 3, fltp08 > | m_draw_bounds |
| AerialImageMode | m_image_mode |
| ImageView * | m_image_view |
| QSize | m_last_preview_size |
| UUID | m_projection_coordinate_space |
| UUID | m_request_id |
Protected Attributes inherited from QCustomStackedWidgetBase | |
| double | m_animation_percent |
| enum QEasingCurve::Type | m_animationtype |
| Buffer< QWidget * > | m_child_widgets |
| uint04 | m_current_index |
| bool | m_is_animating |
| uint04 | m_last |
| int | m_last_animation_time |
| QPointer< QPropertyAnimation > | m_move_animation |
| uint04 | m_next |
| uint04 | m_now |
| QPoint | m_offset |
| PopupInfo | m_popup_info |
| int | m_speed |
| bool | m_vertical |
| bool | m_wrap = false |
Additional Inherited Members | |
Static Public Attributes inherited from QCustomStackedWidgetBase | |
| static ApplicationOption< sint04 > | default_stack_animation_speed |
Properties inherited from QCustomStackedWidgetBase | |
| double | animation_percent |
A simple widget for showing an AerialImage or top down view rendered with a service like google earth A loading screen appears as images are loaded in.
| enum FetchReturn |
| AerialImageView | ( | QWidget * | parent = nullptr | ) |
|
inline |
| bool isLoaded | ( | ) | const |
|
signal |
|
signal |
| bool previewBoundsTolerable | ( | QSize | size | ) | const |
|
override |
| void setAerialImageMode | ( | AerialImageMode | mode | ) |
| void setCoordinateSpace | ( | const UUID & | id | ) |
| void setToNoPreview | ( | ) |
|
protectedslot |
|
overridevirtual |
| void updateAerialImage | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |