swift
Public Types | Public Slots | Public Member Functions | List of all members
swift::gui::components::CDbAutoSimulatorStashingComponent Class Reference

Allows to automatically update models if found in own model set, but already existing for a sibling simulator (ie. More...

Inheritance diagram for swift::gui::components::CDbAutoSimulatorStashingComponent:
[legend]

Public Types

enum  State { Idle , Running , Completed }
 Current state of this component.
 

Public Slots

virtual void accept ()
 
virtual int exec ()
 

Public Member Functions

 CDbAutoSimulatorStashingComponent (QWidget *parent=nullptr)
 Constructor.
 
virtual ~CDbAutoSimulatorStashingComponent ()
 Destructor.
 
bool isCompleted () const
 At least run once and completed.
 
virtual void updateProgressIndicator (int percent)
 Update the progress indicator 0..100. More...
 
- Public Member Functions inherited from swift::gui::components::CDbMappingComponentAware
virtual void setMappingComponent (CDbMappingComponent *component)
 Set the corresponding component.
 
CDbMappingComponentgetMappingComponent () const
 Get the mapping component.
 
- Public Member Functions inherited from swift::core::IProgressIndicator
virtual ~IProgressIndicator ()
 Dtor.
 
void updateProgressIndicatorAndProcessEvents (int percentage)
 Same as updateProgressIndicator but processing events.
 

Additional Inherited Members

- Protected Member Functions inherited from swift::gui::components::CDbMappingComponentAware
 CDbMappingComponentAware (QObject *parent)
 Constructor.
 
virtual ~CDbMappingComponentAware ()
 Destructor.
 
 CDbMappingComponentAware (const CDbMappingComponentAware &)=default
 Copy constructor.
 
CDbMappingComponentAwareoperator= (const CDbMappingComponentAware &)=default
 Copy assignment operator.
 
bool showMappingComponentOverlayMessage (const swift::misc::CStatusMessage &message, std::chrono::milliseconds timeout=std::chrono::milliseconds(0))
 Overlay messages.
 
bool showMappingComponentOverlayHtmlMessage (const swift::misc::CStatusMessage &message, std::chrono::milliseconds timeout=std::chrono::milliseconds(0))
 Overlay messages.
 

Detailed Description

Allows to automatically update models if found in own model set, but already existing for a sibling simulator (ie.

FSX/P3D/FS9)

Definition at line 29 of file dbautosimulatorstashingcomponent.h.

Member Function Documentation

◆ accept

void swift::gui::components::CDbAutoSimulatorStashingComponent::accept ( )
virtualslot

Definition at line 37 of file dbautosimulatorstashingcomponent.cpp.

◆ exec

int swift::gui::components::CDbAutoSimulatorStashingComponent::exec ( )
virtualslot

Definition at line 31 of file dbautosimulatorstashingcomponent.cpp.

◆ updateProgressIndicator()

void swift::gui::components::CDbAutoSimulatorStashingComponent::updateProgressIndicator ( int  percent)
virtual

Update the progress indicator 0..100.

Implements swift::core::IProgressIndicator.

Definition at line 66 of file dbautosimulatorstashingcomponent.cpp.


The documentation for this class was generated from the following files: