mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 02:06:08 +08:00
Log.copied files in copy config component
This commit is contained in:
committed by
Mathew Sutcliffe
parent
88f9a4d04a
commit
b13eb16d51
@@ -33,6 +33,9 @@ namespace BlackGui
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Log.categories
|
||||
static const BlackMisc::CLogCategoryList &getLogCategories();
|
||||
|
||||
//! Constructor
|
||||
explicit CCopyConfigurationComponent(QWidget *parent = nullptr);
|
||||
|
||||
@@ -57,6 +60,9 @@ namespace BlackGui
|
||||
//! Allow to toggle cache and settings
|
||||
void allowToggleCacheSettings(bool allow);
|
||||
|
||||
//! Log copied files
|
||||
void logCopiedFiles(bool log) { m_logCopiedFiles = log; }
|
||||
|
||||
protected:
|
||||
//! \copydoc QWidget::resizeEvent
|
||||
virtual void resizeEvent(QResizeEvent *event) override;
|
||||
@@ -84,13 +90,14 @@ namespace BlackGui
|
||||
//! Get the selected files
|
||||
QStringList getSelectedFiles() const;
|
||||
|
||||
//! Init model caches if required
|
||||
//! Init model caches if required (create .rev entries with high level functions)
|
||||
void initModelCaches(const QStringList &files);
|
||||
|
||||
QStringList m_otherVersionDirs;
|
||||
QScopedPointer<Ui::CCopyConfigurationComponent> ui;
|
||||
QString m_initializedSourceDir;
|
||||
QString m_initializedDestinationDir;
|
||||
bool m_logCopiedFiles = true;
|
||||
BlackMisc::Simulation::Data::CModelCaches m_modelCaches{false, this};
|
||||
BlackMisc::Simulation::Data::CModelSetCaches m_modelSetCaches{false, this};
|
||||
BlackMisc::CData<BlackMisc::Simulation::Data::TModelSetLastSelection> m_modelSetCurrentSimulator { this };
|
||||
@@ -108,6 +115,9 @@ namespace BlackGui
|
||||
//! Constructors
|
||||
using QWizardPage::QWizardPage;
|
||||
|
||||
//! Log.categories
|
||||
static const BlackMisc::CLogCategoryList &getLogCategories();
|
||||
|
||||
//! Set config
|
||||
void setConfigComponent(CCopyConfigurationComponent *config) { m_config = config; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user