mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
Ref T199, improved copy dialog
* filter disabling or hiding can be toggled * bootstrap file can be shown/hidden * fixed naming typo "setCacheMode"
This commit is contained in:
@@ -66,6 +66,12 @@ namespace BlackGui
|
||||
//! Select all
|
||||
void selectAll();
|
||||
|
||||
//! \copydoc QFileSystemModel::setNameFilterDisables
|
||||
void setNameFilterDisables(bool disable);
|
||||
|
||||
//! Show bootstrap file?
|
||||
void setWithBootstrapFile(bool withBootstrapFile) { m_withBootstrapFile = withBootstrapFile; }
|
||||
|
||||
protected:
|
||||
//! \copydoc QWidget::resizeEvent
|
||||
virtual void resizeEvent(QResizeEvent *event) override;
|
||||
@@ -99,11 +105,18 @@ namespace BlackGui
|
||||
//! Init the other swift versions
|
||||
void initOtherSwiftVersions();
|
||||
|
||||
//! Set name filter disables from ui
|
||||
void changeNameFilterDisables();
|
||||
|
||||
QStringList m_otherVersionDirs;
|
||||
QScopedPointer<Ui::CCopyConfigurationComponent> ui;
|
||||
QString m_initializedSourceDir;
|
||||
QString m_initializedDestinationDir;
|
||||
bool m_logCopiedFiles = true;
|
||||
bool m_nameFilterDisables = false; //!< name filter disables or hides
|
||||
bool m_withBootstrapFile = false;
|
||||
|
||||
// caches will be initialized (default files on disk)
|
||||
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 };
|
||||
|
||||
Reference in New Issue
Block a user