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

Stashing component. More...

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

Public Types

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

Public Slots

virtual void accept ()
 
virtual int exec ()
 
void showLastResults ()
 Show last result.
 

Public Member Functions

 CDbAutoStashingComponent (QWidget *parent=nullptr)
 Constructor.
 
virtual ~CDbAutoStashingComponent ()
 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.
 

Static Public Member Functions

static const QStringList & getLogCategories ()
 Log categories.
 

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

Stashing component.

Definition at line 43 of file dbautostashingcomponent.h.

Member Function Documentation

◆ accept

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

Definition at line 67 of file dbautostashingcomponent.cpp.

◆ exec

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

Definition at line 103 of file dbautostashingcomponent.cpp.

◆ updateProgressIndicator()

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

Update the progress indicator 0..100.

Implements swift::core::IProgressIndicator.

Definition at line 164 of file dbautostashingcomponent.cpp.


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