File indexing completed on 2024-05-12 04:52:52

0001 /*
0002     SPDX-FileCopyrightText: 2019 Jean-Baptiste Mardelle
0003     SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0004 */
0005 
0006 #include "hideparamwidget.hpp"
0007 #include "assets/model/assetparametermodel.hpp"
0008 
0009 HideParamWidget::HideParamWidget(std::shared_ptr<AssetParameterModel> model, QModelIndex index, QWidget *parent)
0010     : AbstractParamWidget(std::move(model), index, parent)
0011 {
0012     setFixedSize(QSize(0, 0));
0013     setVisible(false);
0014 }
0015 
0016 void HideParamWidget::slotShowComment(bool show)
0017 {
0018     Q_UNUSED(show);
0019 }
0020 
0021 void HideParamWidget::slotRefresh() {}