mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
* filter disabling or hiding can be toggled * bootstrap file can be shown/hidden * fixed naming typo "setCacheMode"
59 lines
1.7 KiB
C++
59 lines
1.7 KiB
C++
/* Copyright (C) 2017
|
|
* swift project community / Contributors
|
|
*
|
|
* This file is part of swift Project. It is subject to the license terms in the LICENSE file found in the top-level
|
|
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
|
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
|
* contained in the LICENSE file.
|
|
*/
|
|
|
|
//! \file
|
|
|
|
#ifndef BLACKGUI_COMPONENTS_COPYCONFIGURATIONDIALOG_H
|
|
#define BLACKGUI_COMPONENTS_COPYCONFIGURATIONDIALOG_H
|
|
|
|
#include "blackgui/blackguiexport.h"
|
|
#include <QDialog>
|
|
#include <QScopedPointer>
|
|
|
|
namespace Ui { class CCopyConfigurationDialog; }
|
|
namespace BlackGui
|
|
{
|
|
namespace Components
|
|
{
|
|
/**
|
|
* Dialog to copy cache and settings
|
|
*/
|
|
class BLACKGUI_EXPORT CCopyConfigurationDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
//! Constructor
|
|
explicit CCopyConfigurationDialog(QWidget *parent = nullptr);
|
|
|
|
//! Destructor
|
|
virtual ~CCopyConfigurationDialog();
|
|
|
|
//! For cache data
|
|
void setCacheMode();
|
|
|
|
//! For settings
|
|
void setSettingsMode();
|
|
|
|
//! Select all settings or caches
|
|
void selectAll();
|
|
|
|
//! \copydoc QFileSystemModel::setNameFilterDisables
|
|
void setNameFilterDisables(bool disable);
|
|
|
|
//! \copydoc CCopyConfigurationComponent::setWithBootstrapFile
|
|
void setWithBootstrapFile(bool withBootstrapFile);
|
|
|
|
private:
|
|
QScopedPointer<Ui::CCopyConfigurationDialog> ui;
|
|
};
|
|
} // ns
|
|
} // ns
|
|
#endif // guard
|