|
| CDownloadComponent (QWidget *parent=nullptr) |
| Default constructor.
|
|
virtual | ~CDownloadComponent () |
| Dtor.
|
|
bool | setDownloadFile (const swift::misc::network::CRemoteFile &remoteFile) |
| Set file to be downloaded.
|
|
bool | setDownloadFiles (const swift::misc::network::CRemoteFileList &remoteFiles) |
| Set files to be downloaded.
|
|
bool | setDownloadDirectory (const QString &path) |
| Set donwload directory.
|
|
bool | triggerDownloadingOfFiles (int delayMs=-1) |
| Trigger downloading of the file.
|
|
bool | isDownloading () const |
| Downloads in progress.
|
|
bool | haveAllDownloadsCompleted () const |
| Have all downloads completed?
|
|
Mode | getMode () const |
| Get the mode.
|
|
void | setMode (Mode mode) |
| Set the mode.
|
|
void | clear () |
| Clear all values.
|
|
void | cancelOngoingDownloads () |
| Cancel ongoing downloads.
|
|
| COverlayMessagesFrame (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) |
| Constructor.
|
|
virtual | ~COverlayMessagesBase () |
| Destructor.
|
|
void | initOverlayMessages (QSize inner={}) |
| Init, normally we use lazy init, but by calling init explicitly we can force initalization. More...
|
|
void | activateTextMessages (bool activate) |
| Active send/receive of text messages. More...
|
|
void | showStatusMessagesFrame () |
| Show the inner frame.
|
|
void | setOverlaySizeFactors (double widthFactor, double heightFactor, double middleFactor=2) |
| Set the size factors.
|
|
void | setForceSmall (bool force) |
| Force small (smaller layout) More...
|
|
void | setReducedInfo (bool reduced) |
| Display reduced information. More...
|
|
void | showOverlayMessagesWithConfirmation (const swift::misc::CStatusMessageList &messages, bool appendOldMessages, const QString &confirmationMessage, std::function< void()> okLambda, QMessageBox::StandardButton defaultButton=QMessageBox::Cancel, std::chrono::milliseconds timeout=std::chrono::milliseconds(0)) |
| Show multiple messages with confirmation bar. More...
|
|
void | clearOverlayMessages () |
| Clear the overlay messages. More...
|
|
void | closeOverlay () |
| Close button clicked. More...
|
|
void | showOverlayMessages (const swift::misc::CStatusMessageList &messages, bool appendOldMessages=false, std::chrono::milliseconds timeout=std::chrono::milliseconds(0)) |
| Show multiple messages. More...
|
|
void | showOverlayMessagesOrSingleMessage (const swift::misc::CStatusMessageList &messages, bool appendOldMessages=false, std::chrono::milliseconds timeout=std::chrono::milliseconds(0)) |
| Show multiple messages or a single message. More...
|
|
void | showOverlayMessagesOrHTMLMessage (const swift::misc::CStatusMessageList &messages, bool appendOldMessages=false, std::chrono::milliseconds timeout=std::chrono::milliseconds(0)) |
| Show multiple messages or a single message (HTML) More...
|
|
void | sortOverlayMessages (const swift::misc::CPropertyIndex &property, Qt::SortOrder order) |
| Sort of overlay messages. More...
|
|
void | setOverlayMessagesSorting (const swift::misc::CPropertyIndex &property, Qt::SortOrder order) |
| Set sorting of overlay messages. More...
|
|
bool | showOverlayMessage (const swift::misc::CStatusMessage &message, std::chrono::milliseconds timeout=std::chrono::milliseconds(0)) |
| Show single message. More...
|
|
bool | showOverlayTextMessage (const swift::misc::network::CTextMessage &textMessage, std::chrono::milliseconds timeout=std::chrono::milliseconds(0)) |
| Info message, based on text message. More...
|
|
void | showOverlayVariant (const swift::misc::CVariant &variant, std::chrono::milliseconds timeout=std::chrono::milliseconds(0)) |
| Display one of the supported types. More...
|
|
void | showOverlayImage (const swift::misc::CPixmap &pixmap, std::chrono::milliseconds timeout=std::chrono::milliseconds(0)) |
| Image. More...
|
|
bool | showOverlayHTMLMessage (const QString &htmlMessage, std::chrono::milliseconds timeout=std::chrono::milliseconds(0)) |
| HTML message. More...
|
|
bool | showOverlayHTMLMessage (const swift::misc::CStatusMessage &message, std::chrono::milliseconds timeout=std::chrono::milliseconds(0)) |
| HTML message. More...
|
|
void | showDownloadProgress (int progress, qint64 current, qint64 max, const QUrl &url, std::chrono::milliseconds timeout=std::chrono::milliseconds(0)) |
| Download progress. More...
|
|
void | showOverlayInlineTextMessage (components::TextMessageTab tab) |
| Image. More...
|
|
void | showOverlayInlineTextMessage (const swift::misc::aviation::CCallsign &callsign) |
| Image. More...
|
|
| CLoadIndicatorEnabled (QWidget *usingWidget) |
| Ctor.
|
|
virtual | ~CLoadIndicatorEnabled () |
| Destructor.
|
|
| CLoadIndicatorEnabled (const CLoadIndicatorEnabled &)=delete |
| Copy constructor.
|
|
CLoadIndicatorEnabled & | operator= (const CLoadIndicatorEnabled &)=delete |
| Copy assignment operator.
|
|
bool | isShowingLoadIndicator () const |
| Showing load indicator?
|
|
void | showLoading (std::chrono::milliseconds timeout=std::chrono::milliseconds(0), bool processEvents=true) |
| Show load indicator.
|
|
void | hideLoading () |
| Hide load indicator.
|
|
bool | isLoadInProgress () const |
| Loading in progress?
|
|
Download a file.
Definition at line 29 of file downloadcomponent.h.