mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Ref T554, auto publish dialog in swift mapping tool
This commit is contained in:
committed by
Mat Sutcliffe
parent
16e3042cfb
commit
0f4629d8f4
@@ -22,10 +22,9 @@
|
||||
#include <QObject>
|
||||
#include <QScopedPointer>
|
||||
|
||||
class QWidget;
|
||||
|
||||
namespace Ui { class CSwiftData; }
|
||||
namespace BlackCore { class CWebDataServices; }
|
||||
namespace BlackGui { namespace Components { class CAutoPublishDialog; }}
|
||||
|
||||
/*!
|
||||
* swift data entry control (aka mapping tool)
|
||||
@@ -46,8 +45,7 @@ public:
|
||||
virtual ~CSwiftData() override;
|
||||
|
||||
protected:
|
||||
//! \name QMainWindow events
|
||||
//! @[
|
||||
//! \name QMainWindow events @[
|
||||
virtual void closeEvent(QCloseEvent *event) override;
|
||||
//! @}
|
||||
|
||||
@@ -61,8 +59,7 @@ private:
|
||||
//! Menu clicked
|
||||
void onMenuClicked();
|
||||
|
||||
//! Init functions
|
||||
//! @{
|
||||
//! Init functions @{
|
||||
void init();
|
||||
void initLogDisplay();
|
||||
void initStyleSheet();
|
||||
@@ -70,6 +67,9 @@ private:
|
||||
void initDynamicMenus();
|
||||
//! @}
|
||||
|
||||
//! Check auto-publishing
|
||||
void checkAutoPublishing();
|
||||
|
||||
void performGracefulShutdown();
|
||||
void consolidationSettingChanged();
|
||||
|
||||
@@ -81,6 +81,9 @@ private:
|
||||
BlackGui::CManagedStatusBar m_statusBar;
|
||||
BlackCore::Db::CBackgroundDataUpdater *m_updater = nullptr; //!< consolidate with DB data
|
||||
BlackMisc::CSettingReadOnly<BlackGui::Settings::TBackgroundConsolidation> m_consolidationSettings { this, &CSwiftData::consolidationSettingChanged }; //!< consolidation time
|
||||
|
||||
// auto update
|
||||
BlackGui::Components::CAutoPublishDialog *m_autoPublishDialog = nullptr; //!< auto publishing dialog
|
||||
};
|
||||
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user