refs #475, allow to load DB data from disk.

* Will allow to load data if DB is not accessible / available
* Also allows to save, so a special set can be saved for testing/forensic.
* fixed status bar, as received data no longer means DB is alive
This commit is contained in:
Klaus Basan
2015-09-30 05:05:03 +02:00
committed by Mathew Sutcliffe
parent 326a465b54
commit aa653e0d85
11 changed files with 379 additions and 25 deletions

View File

@@ -82,6 +82,13 @@ namespace BlackGui
//! Set data reader
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *webDataReader) override;
public slots:
//! Write to resource dir
bool writeDbDataToResourceDir() const;
//! Load from resource dir
bool readDbDataFromResourceDir();
protected:
//! \copydoc CInfoArea::getPreferredSizeWhenFloating
virtual QSize getPreferredSizeWhenFloating(int areaIndex) const override;