mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
refs #507, adjustements in swift data (mapping tool)
* output of download template * setup will be read automatically
This commit is contained in:
committed by
Mathew Sutcliffe
parent
348d4e2f60
commit
b24cd2e9c7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user