refs #507, adjustements in swift data (mapping tool)

* output of download template
* setup will be read automatically
This commit is contained in:
Klaus Basan
2015-11-17 01:12:43 +01:00
committed by Mathew Sutcliffe
parent 348d4e2f60
commit b24cd2e9c7
4 changed files with 40 additions and 10 deletions

View File

@@ -14,6 +14,8 @@
#include "blackcore/context_runtime.h"
#include "blackcore/data/globalsetup.h"
#include "blackcore/data/download.h"
#include "blackcore/setupreader.h"
#include "blackgui/systemtraywindow.h"
#include "blackgui/managedstatusbar.h"
#include "blackmisc/statusmessage.h"
@@ -53,6 +55,9 @@ private slots:
//! Menu clicked
void ps_onMenuClicked();
//! Setup has been changed
void ps_setupChanged();
private:
void init();
void initLogDisplay();
@@ -68,7 +73,8 @@ private:
QScopedPointer<Ui::CSwiftData> ui;
BlackGui::CManagedStatusBar m_statusBar;
BlackCore::CWebDataServices *m_webDataReader = nullptr;
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this, &CSwiftData::ps_setupChanged}; //!< setup cache
BlackCore::CData<BlackCore::Data::Download> m_download { this }; // download data
};
#endif // guard